Hello,
i have exposed new API for the source table "Price list lines" and on trying to insert new records to the table via API i am getting an error:
"message": "Product No. must have a value in Price Asset: Entry No.=0. It cannot be zero or empty. ..."
my request json:
{
"priceListCode": "J00004",
"amountType": "Price & Discount",
"assetID": "b364eb79-b861-ed11-8c36-000d3a667925",
"assetNo": "KATHERINE",
"assetType": "Resource",
"description": "Mindaugas Jasiulis",
"priceIncludesVAT": false,
"priceType": "Sale",
"productNo": "KATHERINE",
"sourceType": "Job",
"unitOfMeasureCode": "VAL",
"unitOfMeasureCodeLookup": "VAL"
}
not able to figure out what has to be changed...