BertusV
6 years agoContributing User
Customer purchase order number format.
https://developer.myob.com/api/accountright/v2/sale/order/order_service/
the "CustomerPurchaseOrderNumber" is sting 20
When a user enter a purchase order number with leading zeroes I get a SerializationError "Input string '00124249' is not a valid number....."
Given that it is a string and some PO numbers may contain alpha character should this happen? Should I test and see if it's a number present it differently? Which other fields would this apply too?
Bertus