Error: The field with ID '0' does not exists

I am having a error in Axapta 2012 (Cu7).

When I enter the salesTotals form from the SalesUpdate sceen I get this error:

“The field with ID ‘0’ does not exists in table SalesParmTable”

this happens in class SalesTotals_Sales/lineMarkupTransExit - line 14.

Does anyone know how to resolve this?

My AX (AX 2012 CU7) doesn’t use SalesParmTable in SalesTotals_Sales.lineMarkupTransExist() (it doesn’t contain lineMarkupTransExit()).

Can you show your code of the method?

Sorry - I was wrong.

I have Dynamics Ax 2012 R2


I had the same error when I added a field to a map that was used in a different process from the one I modified, do your maps have been modified?