Purchase order workflow submission error

Hi ALL,

we have created purchase order from Purchase requisition and selected project ID in AX 2012. in that, while click submit button we are getting the below message.

Error Message:

Function ProjBudgetTransactionLine_Virtual::construct has been incorrectly called.

Can anyone please help to fix this issue and provide solution.

Thanks in advance.

If there is customization

  1. check there may be bug in the code.
  2. need to do compile & CIL generation, If you haven’t successfully done compile, CIL generation.

There are quite a few parameters that may be wrong. Can you please use the debugger to find out which one?