CommonRules_DecimalPrecision" - "ErrorCode": 1026

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.
NetNinjas
1 Post
User

1Posts

0Kudos

0Solutions

CommonRules_DecimalPrecision" - "ErrorCode": 1026

Hi 

 

I am having an issue with a certain product in an order improting into MYOB. The error message we receive is 

 

CommonRules_DecimalPrecision", "AdditionalDetails": "AmountSmiley SadSaleEventItemLine)", "ErrorCode": 1026

 

I see that this relates to rounding, although everytiung seems to be correct?

 

Array (
[0] => Array (
[ShipQuantity] => 1
[Total] => 58
)
[1] => Array (
[ShipQuantity] => 1
[Total] => 12

)

)

[Freight] => 10
[IsTaxInclusive] => 1
[TotalTax] => 7.27
[TotalAmount] => 80.00

 

Can anyone help me to find what we are doing wrong here. I cant see any issues wiht the calcs :-|

 

Thanks in advance!

2 REPLIES 2
John_Dinning
Trusted User
71 Posts
Trusted User
Australia
Trusted User

71Posts

16Kudos

6Solutions

Re: CommonRules_DecimalPrecision" - "ErrorCode": 1026

You could try not posting the line total (or TotalAmount?).

From memory, AccountRight will calculate these itself if it has enough infomation (although the docs say it is required).

AR has some peculiar ways of rounding that I have never been able to reproduce.

 

John.

Hannah_B
MYOB Moderator
142 Posts
MYOB Moderator
Australia
MYOB Moderator

142Posts

33Kudos

25Solutions

Re: CommonRules_DecimalPrecision" - "ErrorCode": 1026

HIi @NetNinjas

 

Thank you for reaching out, that is correct the error CommonRules_DecimalPrecision tend to always point to rounding of decimals. @John_Dinning suggestion is great and I recommend giving this a go. AccountRight calculates per line item which can change the total slightly depending on the rounding. 

 

If this does not resolve the issue you can create a ticket request with us HERE .

 


Thanks,
@Hannah_B


MYOB API Specialist


MYOB API Support Centre|MYOB App Marketplace|MYOB AccountRight API Endpoint Doc's



Did my answer help?


Mark it as a Solution

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