Hi, does anyone know how to do the depositapplicat...
# general
e
Hi, does anyone know how to do the depositapplication "transform" for a Customer Deposit? https://www.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2019_1/script/record/customerdeposit.html I have an invoice and a customer deposit which I would like to apply this "depositapplication" towards. I would like to know how to do this using SOAP web services.
b
e
thanks, I managed to initialize the deposit into a depositapplication record via initialize(). How do I then apply this record to an invoice? I'm trying to follow the java example but I'm using c# and im not seeing these methods on there:
Copy code
DepositApplication da = (DepositApplication)c.initialize(new InitializeRef(null, InitializeRefType.customerDeposit, "1506", null), InitializeType.depositApplication, new InitializeAuxRef(null, InitializeAuxRefType.arAccount, "9", null));

System.out.println(da.getArAcct());

da.getApplyList().getApply(0).setApply(true);

c.addRecord(da);
b
each line of the apply sublist represents a transaction that you can apply the deposit to
go through each line to find the line that matches your invoice, then mark the apply checkbox of that line to true
the example given just marks the first line of the apply sublist, which probably only works for test cases