Getting BusinessEvent_DateOccurred_BeforeConversionMonth error while creating a Item Sale Invoice

This thread is now closed to new comments.
Some of the links and information provided in this thread may no longer be available or relevant.
If you have a question please start a new post.
1 REPLY 1
Highlighted
MYOB Moderator Jacob_S
15 Posts
MYOB Moderator
New Zealand
MYOB Moderator

15Posts

5Kudos

3Solutions

Accepted Solution Solved

Re: Getting BusinessEvent_DateOccurred_BeforeConversionMonth error while creating a Item Sale Invoice

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

Contributing User Chethan
5 Posts
Contributing User
Contributing User

5Posts

0Kudos

1Solutions

Solved: Go to Solution

Getting BusinessEvent_DateOccurred_BeforeConversionMonth error while creating a Item Sale Invoice

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] => DateOccurredSmiley SadSaleEvent)
[ErrorCode] => 4223
[Severity] => Error
[LearnMore] =>
)

[1] => stdClass Object
(
[Name] => ValidationError
[Message] => BusinessEvent_DateOccurred_BeforeConversionMonth
[AdditionalDetails] => InventoryDateOccurredSmiley SadSaleEvent)
[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

Didn't find your answer here?

Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post