ANS-1765 · SUITESCRIPT DEVELOPMENT

How to Script Inventory Transfers Using Bin Numbers in NetSuite

NetSuite users can automate inventory movements between bins by leveraging a specific field within the inventory detail subrecord.

Short answer

To script an inventory transfer in NetSuite, utilize the "tobinnumber" field found on the inventory detail subrecord. This field is essential for specifying the destination bin when programmatically moving inventory, ensuring accurate bin-to-bin transfers within your NetSuite environment.

Scenario

Organizations often need to automate the movement of inventory between different bins within a warehouse. When attempting to script inventory transfers, a common challenge is identifying the correct field to specify the destination bin for items, especially when dealing with subitem structures.

Solution

To script an inventory transfer that involves bin numbers, the "tobinnumber" field must be used. This field is located on the inventory detail subrecord, which is accessible when processing inventory transfers. By setting the value of "tobinnumber" for each inventory detail line, users can programmatically direct items to their intended destination bins.

Expert NetSuite Support

Need help with this NetSuite issue?

SuiteScript Development consulting and configuration support

Talk to a consultant