Hi,
I am getting "BusinessEvent_DateOccurred_BeforeConversionMonth" error while creating a Item Sale Invoice, below is the request that is being sent
Request:
{"Number":"DT0004","Date":"2019-03-08 06:31:14","Customer":{"UID":"537xxxf9-xxxx-x000-xxx7-b9b3xxxxx2xx"},"Lines":[{"Type":"Transaction","Description":"One Time Charge","ShipQuantity":"1","DiscountPercent":0,"Total":100,"Item":{"UID":"69xxxx95-9xxx-xxxf-8xxx-c84xxxxxf77"},"TaxCode":{"UID":"1xxxxd7b-5xxx-xxxa-bxxx-aa372dxxxx23"}}],"IsTaxInclusive":true,"Subtotal":100,"TotalTax":9.09,"TotalAmount":"100","JournalMemo":"Auth Code: 014820\nTrace ID: 0008100009300275\n"}
Response:
stdClass Object
(
[Errors] => Array
(
[0] => stdClass Object
(
[Name] => ValidationError
[Message] => BusinessEvent_DateOccurred_BeforeConversionMonth
[AdditionalDetails] => DateOccurred:(SaleEvent)
[ErrorCode] => 4223
[Severity] => Error
[LearnMore] =>
)
[1] => stdClass Object
(
[Name] => ValidationError
[Message] => BusinessEvent_DateOccurred_BeforeConversionMonth
[AdditionalDetails] => InventoryDateOccurred:(SaleEvent)
[ErrorCode] => 4223
[Severity] => Error
[LearnMore] =>
)
)
[Information] => Warning, error messages have not been finalised in this release and may change
)
Can you please let me know where am I doing wrong, how to fix this issue
Thanks