Developer Q&A
WO Action cannot be placed this far in the future, please provide different time and try again.
Hi,
I am getting the below error in executing WoCreateCommand, can you please let me know the reason and how to solve this error. I've sent the datetime as GMT zone in DtCreated. This error is not occurring all the time.
Error: WO Action cannot be placed this far in the future, please provide different time and try again.
Payload I executed:
<int:Execute xmlns:int="http://corrigo.com/integration/">
<int:commandRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="int:WoCreateCommand">int:WorkOrder
int:NumberHLOL0285193</int:Number>
int:TypeCategoryRequest</int:TypeCategory>
int:SubType
int:Id259</int:Id>
</int:SubType>
int:Priority
int:Id4</int:Id>
</int:Priority>
int:Customer
int:Id1121</int:Id>
</int:Customer>
int:WorkZone
int:Id604</int:Id>
</int:WorkZone>
int:WorkOrderCost
int:GlAccount7902593</int:GlAccount>
</int:WorkOrderCost>
int:VendorNte
int:CurrencyTypeIdUSD</int:CurrencyTypeId>
int:Value500.00</int:Value>
</int:VendorNte>
int:ContactNameStore Manager</int:ContactName>
int:ContactAddress
int:AddrTypeIdContact</int:AddrTypeId>
int:AddressSephora APACHE MALL - [email protected] - (651) 565-7222 - Alexandra De Biasio</int:Address>
</int:ContactAddress>
int:DtCreated2021-06-15T10:55:03</int:DtCreated>
int:DtDue2021-08-14T11:00:00</int:DtDue>
int:DtAcknowledgeBy2021-06-16T11:00:00</int:DtAcknowledgeBy>
int:Items
int:WoItem
int:Asset
int:Id804298</int:Id>
</int:Asset>
int:Task
int:Id17444</int:Id>
</int:Task>
int:CommentPlease send this store a new store kit to arrive on 7/6.
HLOL Detail:
Assignment group: Store Preservation
Assigned to: Alexandra De Biasio
Note: WO Failed to Send to vendor, please view ticket in Corrigo and manually send to Vendor.
HLOL Detail:
Assignment group: Store Preservation
Assigned to: Alexandra De Biasio</int:Comment>
</int:WoItem>
</int:Items>
int:Specialty
int:Id10354</int:Id>
</int:Specialty>
int:CurrencyTypeIdUSD</int:CurrencyTypeId>
int:TimeZone4</int:TimeZone>
int:Owner
int:Id168</int:Id>
</int:Owner>
int:CustomFields
int:CustomField2
int:Descriptor
int:Id16</int:Id>
</int:Descriptor>
int:ValueHLOL0285193</int:Value>
</int:CustomField2>
</int:CustomFields>
</int:WorkOrder>
int:ComputeSchedulefalse</int:ComputeSchedule>
int:ComputeAssignmentfalse</int:ComputeAssignment>
int:EmployeeId143</int:EmployeeId>
</int:commandRequest>
</int:Execute>
