Thank you for visiting our Partner Zone. This area is an exclusive space for MYOB Partners. Find out how to Partner with MYOB.
March 2019
March 2019
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] => DateOccurredSaleEvent)
[ErrorCode] => 4223
[Severity] => Error
[LearnMore] =>
)
[1] => stdClass Object
(
[Name] => ValidationError
[Message] => BusinessEvent_DateOccurred_BeforeConversionMonth
[AdditionalDetails] => InventoryDateOccurredSaleEvent)
[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
Solved! Go to Solution.
April 2019
April 2019
Hi @Chethan,
Thanks for reaching out to us. The "BusinessEvent_DateOccurred_BeforeConversionMonth" error will occur if the date for your Item Invoice is set before the Conversion Month that has been set up in the company file you are trying to access. The Conversion Month can be found by going to Setup > Company Information. This cannot be changed meaning you will need to setup a new company file if you want a different Conversion Month.
Hope this helps!
Thanks,
Jacob
MYOB API Team
Are you a developer? Check out http://developer.myob.com
Looking for an Add-on? Check out http://myob.com/addons/
MYOB API Support Centre - https://apisupport.myob.com
by
BareBeauty
2 weeks ago
8
116
|
8
|
116
|
||
by
Legends1
3 weeks ago
0
97
|
0
|
97
|
||
0
|
80
|
|||
8
|
510
|
|||
1
|
176
|