Forum Discussion

NetNinjas's avatar
4 years ago

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": "Amount:(SaleEventItemLine)", "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!

  • 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.

  • Han-Solo's avatar
    Han-Solo
    MYOB Moderator

    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 .

     

Looking for something else?

Search the Community Forum for answers or find your topic and get the conversation started!

Community home

Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.