I am working on the BC integration for Transfer Order. There is no standard API available for Transfer Order. So I am using the Web Service. I got error message as below while creating new record (Header pg5740) with "Transfer_from_Code", "Transfer_to_Code", "Direct_Transfer", "Posting_Date":
{
"error": {
"code": "Unknown",
"message": "Property \"Editable\" for Transfer-from Code is invalid. Expression: [( Status = Status::Open ) AND p5740EnableTransferFields] CorrelationId: 74263049-655a-4cdb-97bd-07fb5e727058."
}
}
I checked the coding. Can't figure out why those fields are not editable. The status of the new record is Open and not partially shipped...
I also tried to create new record with posting date only then patch with the other fields. Same error message.
No problems to post lines to pg5741.
Any advices or AL to custom page will be the only solution? Thanks.