web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

how to get the Tax Registration Numbers in the Purchase order Report.

(0) ShareShare
ReportReport
Posted on by 1,737

I am Trying to get the Tax Related Details in  to the Purchase order Report.

I am Creating One New Method in the PurchPurchaseOrderHeader Table called 

private void initfromTaxInformation_IN(TaxInformation_IN _taxInformation_IN,TaxRegistrationNumbers_IN _taxRegistrationNumbers_IN)
{
//TaxRegistrationNumbers_IN taxRegistrationNumbers_IN = TaxRegistrationNumbers_IN::find();

//this.TIN = _taxRegistrationNumbers_IN.RegistrationNumber;
}

but i  am getting the Errors.

How to get the Correct data.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at
    RE: how to get the Tax Registration Numbers in the Purchase order Report.

    Hi Srinivas,

    I'm not so familiar with Indian localization, though the TaxRegistrationNumbers_IN table find method has a mandatory parameter (_recId) which you are missing in your method:

    public static TaxRegistrationNumbers_IN find(

       recId   _recId,

       boolean _forUpdate = false)

    {

       TaxRegistrationNumbers_IN taxRegistrationNumbers;

       if (_recId)

       {

           if (_forUpdate)

           {

               taxRegistrationNumbers.selectForUpdate(_forUpdate);

           }

           select taxRegistrationNumbers

               where taxRegistrationNumbers.RecId == _recId;

       }

       return taxRegistrationNumbers;

    }

  • srinivas pamidi Profile Picture
    1,737 on at
    RE: how to get the Tax Registration Numbers in the Purchase order Report.

    Hi Manish,

    Can i write this Method in  the PurchPurchaseOrderHeader Table to get the Data in to the Purchase order Report.

    I Need to show the Vat,CST,TIN Number in the Purchase order Report.

    Please Help ME.

  • srinivas pamidi Profile Picture
    1,737 on at
    RE: how to get the Tax Registration Numbers in the Purchase order Report.

    Hi Manish,

    Please Provide me the solution.

    i need to display the VAT,CST,ECC numbers in to the Purchase Order Report.

    Where to add the code for Getting this Values in the Report.

    I am new to the Development Please help me.

    I am adding this Fields in the PurchPurchsaseOrderHeader Table.

    then Please Guide me.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
NNaumenko Profile Picture

NNaumenko 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans