Hello.
In one of our issue, the invoice was not posted automatically for intercompany direct delivery order, because in the deliver now field the entered quantity was set as 2.(screenshot1)
We checked this issue in the Test environment and while generating the packing slip we set the deliver now quantity as 1. So, for sales order the current status is set as delivered in AX Test.(screenshot2)
But while generating an invoice we are getting one issue. (screenshot3)
Can anyone please help us here.
Test Data: