RSS

How to resolve India Tax information error

23 Jun

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:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: