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:Number>HLOL0285193</int:Number>
<int:TypeCategory>Request</int:TypeCategory>
<int:SubType>
<int:Id>259</int:Id>
</int:SubType>
<int:Priority>
<int:Id>4</int:Id>
</int:Priority>
<int:Customer>
<int:Id>1121</int:Id>
</int:Customer>
<int:WorkZone>
<int:Id>604</int:Id>
</int:WorkZone>
<int:WorkOrderCost>
<int:GlAccount>7902593</int:GlAccount>
</int:WorkOrderCost>
<int:VendorNte>
<int:CurrencyTypeId>USD</int:CurrencyTypeId>
<int:Value>500.00</int:Value>
</int:VendorNte>
<int:ContactName>Store Manager</int:ContactName>
<int:ContactAddress>
<int:AddrTypeId>Contact</int:AddrTypeId>
<int:Address>Sephora APACHE MALL - [email protected] - (651) 565-7222 - Alexandra De Biasio</int:Address>
</int:ContactAddress>
<int:DtCreated>2021-06-15T10:55:03</int:DtCreated>
<int:DtDue>2021-08-14T11:00:00</int:DtDue>
<int:DtAcknowledgeBy>2021-06-16T11:00:00</int:DtAcknowledgeBy>
<int:Items>
<int:WoItem>
<int:Asset>
<int:Id>804298</int:Id>
</int:Asset>
<int:Task>
<int:Id>17444</int:Id>
</int:Task>
<int:Comment>Please 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:Id>10354</int:Id>
</int:Specialty>
<int:CurrencyTypeId>USD</int:CurrencyTypeId>
<int:TimeZone>4</int:TimeZone>
<int:Owner>
<int:Id>168</int:Id>
</int:Owner>
<int:CustomFields>
<int:CustomField2>
<int:Descriptor>
<int:Id>16</int:Id>
</int:Descriptor>
<int:Value>HLOL0285193</int:Value>
</int:CustomField2>
</int:CustomFields>
</int:WorkOrder>
<int:ComputeSchedule>false</int:ComputeSchedule>
<int:ComputeAssignment>false</int:ComputeAssignment>
<int:EmployeeId>143</int:EmployeeId>
</int:commandRequest>
</int:Execute>