This topic contains 5 replies, has 0 voices, and was last updated by Olivier Gagnon NC 8 years, 4 months ago.
-
AuthorPosts
-
July 18, 2016 at 7:26 am #6651
theguyI am new to SuiteTalk.
I am trying to update a sales order status from “Not Deposit” to “Deposit” using .Net
Here’s a snippet of my code but it is not updating the status. What am I missing here? Please advise. Thanks
CashSale cs = new CashSale();
cs.internalId = “12345”;
cs.status = “_cashSaleDeposited”;
WriteResponse response = _service.update(cs);
This is a cached copy. Click here to see the original post. -
July 18, 2016 at 7:36 am #6652
al3xiconI may be wrong, but I believe that the status only changes when a bank deposit is recorded / applied to that payment/cash sale – i.e. it’s not a status you can change in the UI, so I would doubt that SuiteTalk could change it.
-
July 18, 2016 at 7:47 am #6653
theguyThanks. So it is possible to record a bank deposit for a cash sale using SuiteTalk? I am trying to reconcile bank payment received to a cash sale without having to manually recording the bank deposit
Do this makes sense to what I am trying to do?
Thanks
-
July 18, 2016 at 7:55 am #6654
al3xiconSure, that does make sense – unfortunately I’m not too sure whether you can do that with SuiteTalk or not as I haven’t used it much; perhaps someone else can chime in on that.
-
July 18, 2016 at 8:06 am #6655
theguyThanks al3xicon
I noticed that in netsuite.com.netsuite.webservices there are several Deposit classes (Deposit, DepositApplication, DepositPayment, DepositPaymentList), but I am not sure which one to use and how to use it.
Anyone else here who can shed some light on this for me?
-
July 18, 2016 at 12:05 pm #6656
Olivier Gagnon NCDepositPayment (and DepositPaymentList) are the ones you want.
The other two are in regards to “Deposits” in the sense of “pre-payment”. DepositPayment is in the sense of “put it in the bank”.
Essentially, you’ll need to initiate the record and populate the sublist. I would recommend you do it within the NS UI to see how the objects work, then coding for them will make more sense. It’s pretty simple though – set the bank account, tick in the correct transaction(s) and submit.
-
AuthorPosts
You must be logged in to reply to this topic.