Add lines to stocktake
Posted: Thu Sep 12, 2019 4:54 pm
For version 7.2.x
Based on viewtopic.php?f=26&t=1156 I have been able to populate lines on a new stocktake from Excel.
Once the stocktake is saved, no extra lines can be added.
I get it when the stocktake has been activated, but if a stocktake has only been saved, why cannot lines be added?
As a workaround, I was hoping to create a button on the ribbon to allow a user to load up more lines from Excel using similar code to the above thread but even that wont work. Basically what I'm trying to do is use the stocktake.FindStock method to add lines.
To assist your reply, lets assume the stocktake is in Bin Location mode.
My Excel sheet would have 3 columns:
Bin | PartNo | QtyFound
How could I add lines to an existing stocktake?
Based on viewtopic.php?f=26&t=1156 I have been able to populate lines on a new stocktake from Excel.
Once the stocktake is saved, no extra lines can be added.
I get it when the stocktake has been activated, but if a stocktake has only been saved, why cannot lines be added?
As a workaround, I was hoping to create a button on the ribbon to allow a user to load up more lines from Excel using similar code to the above thread but even that wont work. Basically what I'm trying to do is use the stocktake.FindStock method to add lines.
To assist your reply, lets assume the stocktake is in Bin Location mode.
My Excel sheet would have 3 columns:
Bin | PartNo | QtyFound
How could I add lines to an existing stocktake?