RSS

Tag Archives: India AX tax

How to resolve India Tax information error

In AX 2009 India GLS, the tax information does not flow from project details to the transaction while posting service order line and we get errors like,

Field STC number must be filled in.

Field Registration number must be filled in.

After debugging the code I found that the code is missing in following path,

\Classes\SMAServiceFunctionLine_Transfer\createProjJournalLine_Hour

\Classes\SMAServiceFunctionLine_Transfer\createProjJournalLine_ItemConsum

Following code can be written in the above two methods to avoid the errors.

                       //<Zeeshan in createProjJournalLine_Hour  method>

                       projJournalTransHour.initFromProjTable_IN(ProjTable::find(serviceOrderTable.ProjId));                       

                       //</Zeeshan>

                   //<Zeeshan in createProjJournalLine_ItemConsum  method>

                   inventJournalTransItem.initFromProjTable_IN(ProjTable::find(serviceOrderTable.ProjId));

                    //</Zeeshan>

This code resolves the tax information flow from project to transactions issue.

Advertisements
 
Leave a comment

Posted by on June 23, 2013 in AX, Dynamics, X++

 

Tags: