Sitaram upadhya
10/01/2024, 8:18 AMreplace = 'sublist'
option (for the JE lines), as well as other methods, but I keep receiving the following error:
{
"type": "<https://www.rfc-editor.org/rfc/rfc9110.html#section-15.5.1>",
"title": "Bad Request",
"status": 400,
"o:errorDetails": [
{
"detail": "Error while accessing a resource. The record has been deleted since you retrieved it.",
"o:errorCode": "USER_ERROR"
}
]
}
It seems like the error is indicating that the record has been deleted since it was retrieved, but the record still exists in the system and no deletion has taken place. Has anyone encountered this issue before, or have any suggestions for resolving it?battk
10/01/2024, 1:42 PMSitaram upadhya
10/01/2024, 2:25 PM{
"line": {
"items": [
{
"custcol_ps_order_type_jv": "XXX",
"custcol_ps_trade_type_jv": "XXX",
"currency": "INR",
"account": "1585",
"custcol_ps_exchange_fullfilment_jv": "XXX",
"department": "149",
"class": "2",
"debit": 6591292.32,
"line": 0
},
{
"custcol_ps_order_type_jv": "XXX",
"custcol_ps_trade_type_jv": "XXX",
"currency": "INR",
"account": "1585",
"custcol_ps_exchange_fullfilment_jv": "XXX",
"department": "149",
"class": "2",
"credit": 6591292.32,
"line": 1
},
{
"custcol_ps_order_type_jv": "XXX",
"custcol_ps_trade_type_jv": "XXX",
"currency": "INR",
"account": "1585",
"custcol_ps_exchange_fullfilment_jv": "XXX",
"department": "149",
"class": "2",
"debit": 2278,
"line": 2
},
{
"custcol_ps_order_type_jv": "XXX",
"custcol_ps_trade_type_jv": "XXX",
"currency": "INR",
"account": "1585",
"custcol_ps_exchange_fullfilment_jv": "XXX",
"department": "149",
"class": "2",
"credit": 2278,
"line": 3
}
]
}
}
PATCH request to https://XXXXXXX-sb1.suitetalk.api.netsuite.com/services/rest/record/v1/journalentry/356440
The above is the request payload and the URL being used. Certain values have been replaced with 'XXX' where necessary.battk
10/01/2024, 5:37 PMbattk
10/01/2024, 5:38 PMbattk
10/01/2024, 5:38 PMShubham Jadhav
10/25/2024, 3:07 PM