09-21-2020 11:49 AM
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.
Regards,
Aj
09-21-2020 12:14 PM
I believe you’re looking for entity.internalId.
09-21-2020 12:25 PM
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
09-21-2020 02:14 PM
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"
}
]
}
}
}
]
09-21-2020 02:31 PM
Thank you Patrick. I tried it i was able to create deposit.