The error messages are so vague "You have entered an Invalid Field Value 1 for the following field: subsidiary"
We have done "subisidiary": "1" and that made no difference. We have entered this journal via the user interface with no issue. Any suggestions would be appreciated as it has been very challenging and way too much time lost trying to troubleshoot this. Thanks
The code is:-
{
"function": "advancedJournalCreate",
"externalId": "AJE-testtest",
"tranDate": "4/1/2021",
"customForm": "133",
"subsidiary": 1,
"postingPeriod": "54",
"currency": "3",
"approved": true,
"line": [
{
"linesubsidiary": 1,
"account": "773",
"debit": 100,
"line": 0
},
{
"linesubsidiary": 1,
"account": "247",
"credit": 100,
"entity": "224",
"eliminate": true,
"line": 1
},
{
"linesubsidiary": 2,
"account": "254",
"debit": 100,
"entity": "467",
"eliminate": true,
"line": 2
},
{
"linesubsidiary": 2,
"account": "124",
"credit": 100,
"line": 3
}
]
}