Issue while updating PO line via rest API
We have tried to update the PO line (line type - Service) of an Migrated/converted PO using Rest API and we encountered the below error.
Error - "The attribute CountryOfOrigin can't be provided for a service line"
However , We are able to update the PO line for the PO's(line type - Service) which are created directly in UI.
When we compare the Migrated and direct PO's with the line type as Service, what we understood is that COUNTRY_OF_ORIGIN_CODE in the PO Line location table is populated with country code for the migrated/converted PO's and not for the PO's which are created directly in UI and due to this we are getting the above error.