[ax 2012] How do i make salestable lines' details editable?


i’m stuck into this: i need to allow editing for some fields in the SalesTable form.

The fields are under the ForeignTrade tab. Already tried to force that property with:

salesLineForeignTradeCategory_ds.object(fieldNum(SalesLineForeignTradeCategory, OrigCountryRegionId)).allowEdit(true);

But it doesn’t work.

There must be something that gets triggered the very moment you use the edit button i suppose.

Can anyone give me a help?

Thank you in advance