cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with NetSuite Deposit creation using NetSuite Create snap

achava02
New Contributor III

Dear Members, I need an insight of how to create NetSuite Deposit using NetSuite Create snap. During the deposit we link the payment transactions (using $record.paymentList.depositPayment[*]) to the deposit. I would like to know, which attribute do we use to link it.

I am herewith attaching you the screenshot of the pipeline. Any help is greatly appreciated. If you have any sample pipeline that will be very helpful. Screen Shot 2020-09-21 at 11.40.31 AM

Regards,
Aj

4 REPLIES 4

ptaylor
Employee
Employee

I believe you’re looking for entity.internalId.

achava02
New Contributor III

I tried it and I am getting the following error.
@type=ERROR, platformCore:code=USER_ERROR, platformCore:message=Adding new line to sublist payment is not allowed

Yes, I was mistaken. I was just able to get it to work with input data like this:

[
  {
    "record": {
      "account": {
        "internalId": "139"
      },
      "postingPeriod": {
        "internalId": "3"
      },
      "paymentList": {
        "depositPayment": [
          {
            "id": "418377",
            "deposit": "true"
          }
        ]
      }
    }
  }
]

achava02
New Contributor III

Thank you Patrick. I tried it i was able to create deposit.