Cancel InventTrans record in status Ordered

Hi,

in standard AX it is possible to cancel InventTrans records which have the StatusReceipt ‘Registered’. I have a requirement to make it possble to cancel InventTrans records of status ‘Ordered’. Is there a way to achieve this without having to register the transaction first?

Take a look at the AutoTmpCreate() method of the InventTrans DataSource, form InventTrans. Also see what “post all” button does. You can create your own edit method according to this and show it as a checkbox on a form which will cancel ordered items.