I'm trying to create a Vendor Bank Account record with Odata (Nav 2017).
GET and PATCH methods work on the endpoint but POST always fails.
The json payload to the server is
{
'Vendor_No': 'V1000',
'Code': '1',
'Name': 'Test Bank',
}
The response I get from the server is:
"The Vendor Bank Account already exists. Identification fields and values: Vendor No.='',Code='1'"
Either there's a bug that drops the valid Vendor No. or because it's a foreign key and part of the composite key I need to do something different to get POST to work.
*This post is locked for comments
I have the same question (0)