Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Create Inventory transfer c#
Hi guys, I Create Inventory transfer using c# through webservice,
Can anyone help to fix my script, I dont know where the mistake
public string setInventoryTransfer(string PutawayNumber) { string ret = ""; DatabaseSQL DB = new DatabaseSQL(); DataSet dsPutaway = new DataSet(); DataSet dsPutawayDtl = new DataSet(); DataSet dsPutawayGroup = new DataSet(); //set Dataset string IDLocation, IDTransferLocation, IDBinNumber, IDTransferBinNumber; //set string internalid InventoryTransfer recInvTransfer = new InventoryTransfer(); recInvTransfer.subsidiary = getSubsidiary(); recInvTransfer.tranDate = DateTime.Now; recInvTransfer.memo = "Test"; RecordRef rrLocation = new RecordRef(); rrLocation.internalId = IDLocation; RecordRef rrTransferLocation = new RecordRef(); rrTransferLocation.internalId = IDTransferLocation; RecordRef rrBinnumber = new RecordRef(); rrBinnumber.internalId = IDBinNumber; RecordRef rrTransferBinnumber = new RecordRef(); rrTransferBinnumber.internalId = IDTransferBinNumber; recInvTransfer.location = rrLocation; recInvTransfer.transferLocation = rrTransferLocation; InventoryTransferInventoryList list = new InventoryTransferInventoryList(); List<InventoryTransferInventory> inventory = new 0