I wanted to create an assembly order from a purchase order using power automate flow. I got error, due date is before ending date.
There was no error when I manually created an assembly order with the same item for the testing purchase.
When executing the flow, I got due date is before ending date error.
Input .
{
"host": {
"connectionReferenceName": "shared_dynamicssmbsaas",
"operationId": "PostItemV3"
},
"parameters": {
"bcenvironment": "SANDBOX-1",
"company": "xxxxxxx",
"dataset": "xxxxx",
"table": "assembly_Headers",
"item/itemno_": "1005",
"item/startingdate": "2025-01-12T04:37:56.1596442Z",
"item/endingdate": "2025-01-12T04:37:56.1596580Z",
"item/quantity": 1
}
}
output
"body": {
"status": 400,
"message": "ErrorCode: Application_DialogException Due Date is before Ending Date 01/14/25. CorrelationId: xxxxx.\r\nclientRequestId: xxxx",
"error": {
"message": "ErrorCode: Application_DialogException Due Date is before Ending Date 01/14/25. CorrelationId: xxx"
},
"source": "api.businesscentral.dynamics.com",
"errors": []
}
Is there anyway to turn off the date validation ? Or other solutions ?