Hi,
I've written a plugin to create a new Book In from a CSV file via the File Watcher, or Plugin Scheduler Service in 7.2.1.
Plugin attached.
It works nicely when I don't have serialised items, or items without an expiry date.
But for those items where I need to write to the bookin Line Details to populate the serial/batch and/or expiry date, I can't work out how to get to the line details from the bookin line. I've tried a For Each loop but can't find the type for LineDetails.
I've attached my plugin and a sample import file.
Fortunately I am provided the originating shipment LineID so can get a match to the landed cost shipment.
If I could just be given some guidance on how to populate serial/batch and/or expiry date?