This topic contains 5 replies, has 0 voices, and was last updated by Olivier Gagnon NC 8 years, 4 months ago.

  • Author
    Posts
  • #6651

    theguy

    I 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.

  • #6652

    al3xicon

    I 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.

  • #6653

    theguy

    Thanks. 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

  • #6654

    al3xicon

    Sure, 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.

  • #6655

    theguy

    Thanks 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?

  • #6656

    Olivier Gagnon NC

    DepositPayment (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.

You must be logged in to reply to this topic.