Hey, everybody!
I have created a script. When I click on the custom 'Make Copy' button I get a window with a new form based on an existing IT form. The value of all the main fields are copied correctly, but there is a problem with copying the Items sublist.
I will give some examples:
1. The entire form has been copied, but in the Items sublist I see that the value of Qty. On Hand has not changed (there is always a recalculation, for example 4 items were transferred, so Qty. On Hand will decrease by 4).
I click the Save button, and I get an error:
2. I repeated the same copying of the form, but on upload I tried to manually add items to the Items sublist, but I ran into the problem that I had to first specify the Inventory Detail of the item before I could add it to the list.
I click OK without specifying the Inventory Detail and I get a warning message
As I understand it, Inventory Detail is a unique record for each product and you can't just copy it.
Questions:
1. Is there a standard method in NetSuite that will add a 'Make Copy' function to an Inventory Transfer record?
2. Is it possible to use a script to populate the Inventory Detail for an item in the items sublist?