I've setup custom page for Job Planning Lines, and I'm able to GET all Job Planning Lines using the Business Central API.
I'm also able to create new Job Planning Lines for a specific job, however the moment I try to add a locationCode I get the following error.
{ /jobNo/: /JOB001/, /jobTaskNo/: /1/, /lineType/: /Budget/, /quantityBase/: 10, /lineNo/: 1000, /no/: /PRODNO001/, /type/: /Item/}
{ /jobNo/: /JOB001/, /jobTaskNo/: /1/, /lineType/: /Budget/, /quantityBase/: 10, /lineNo/: 1000, /no/: /PRODNO001/, /type/: /Item/, /locationCode/: /SL001/}
Does anyone know how to resolve this error?