TAX is not calculating in Sales order while doing Automation.

Hi Experts,

I am using 2102 R3 version

When i am creating a sales order (Standard way) tax is calculating properly,

when i am doing it from automation (Through code) its not calculating

Kindly suggest,

Regards,

Muralimohan

Hi Experts,

Can one anyone help me with this!!!

Regards,
Muralimohan

It would be difficult to say without knowing your code. Are you updating the tax group fields on sales lines?