Adding, Updating and deletion of Sales Line in SalesTable Form

Hello All, In AX 2009, i have to do some other table operations whenever adding, updating and deletion of Sales Line in SalesTable Form happens. I was thinking of using static table methods of SalesLine Table. Is it right to use this option or is there any other way of handling it.

Appreciating your help and support.

Thanks

Hi,

Your idea of writing methods at table level looks right. This way you can call these on CRUD operations on sales line table from many places.

Thanks for reply,

I am not writing new methods but overriding the static add/update/delete operations of SalesLine Table. Will it be right even for this?

Hi,

In theory yes, you can go ahead. But obviously all depends on complexity of proposed code changes.

After your changes, please make sure end to end process are tested thoroughly.