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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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