Hi, we are trying to extend the BC plugin unit on Cloud. We have looked a little at this thread: https://doc.dynamicweb.com/forum?PID=1605&ThreadID=87816
We are trying to manipulate it, and when we do, we sometimes get an error.
Look at my attachments. One in this thread and one in a comment below.
Our question is - since we get an error - like this: 'The remote server returned an error: (500) Internal Server Error. Response: Document No. must have a value in Sales Line: Document Type=Order, Document No.=, Line No.=10000. It cannot be zero or empty'
Can we run a: Data.validate(field,newdata) on a price line - or do we have to set it manually? If we run validate, BC will take care of all logic for us. Instead of us having code two places.
If we cannot validate a priceline - like unitprice, are you guys validating after the custom code, to make sure all is correctly applied?
Let me know if this makes any sense.
Regards
Jan