Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Adding Tax info into 1322 - Purchase Order Report

(0) ShareShare
ReportReport
Posted on by

Hello Expert's,

We are trying to bring "GST Amount" & "Net Total" fields value as shown in the Purchase Order Statistics page to Purchase Order Report 1322. When we inspect the page it is showing the Table is "Purchase Header(38), attached is the screen shot. But we cannot relate any fields for GST Amount and Net Total in the Purchase Header(38)Table.  How this can be achieved to bring the said field values to the report by creating report extension? We did report extension/customization successfully for other pages like sales invoice, but we are stuck with this particular  GST related information's for PO Report. As per PO page inspect, GST is an Extension Application by Microsoft for India. 

POSTS.JPG

Appreciate your earliest help on this. 

  • Community Member Profile Picture
    on at
    RE: Adding Tax info into 1322 - Purchase Order Report

    Thank you Akash. You are absolutely right.

    Thank you all for sharing your thoughts on this issue.

  • Verified answer
    Akash Shukla Profile Picture
    335 on at
    RE: Adding Tax info into 1322 - Purchase Order Report

    Hi Ranjith,

    Please change the report ID as currently 1322 report is standard report which used by US, UK, Canada and other localization. If you going to extend this, then it will take more time and maybe you are not able to add the GST amount here. 

    I will suggest to use the standard report which already available for Indian localisation. Report ID is 18008. On this report ID all the GST related field already there, you can easily extend this report as per your need. 

    You can change report layout selection by searching - Report Selection - Purchase

    pastedimage1652956811815v1.png

    Change usage as Order and select report ID in line

    pastedimage1652956904954v2.png

    And run this report from purchase order and you can see there are all detail available related to GST. 

    pastedimage1652957126731v3.png

    Please mark this as suggested answer if it helps you.

    Thank you.

  • Community Member Profile Picture
    on at
    RE: Adding Tax info into 1322 - Purchase Order Report

    Nitin / Zhu,

    Thank you very much for your time and guidance.

    We have added dependencies and symbol has been downloaded as mentioned. 

    Using EventSubscriber() we are trying to get GST values into Purchase Header and trying to display the same. But we are facing with the error when passing the parameter. See the screen shots.

    MicrosoftTeams_2D00_image-_2800_16_2900_.png

    0676.MicrosoftTeams_2D00_image-_2800_17_2900_.png

    MicrosoftTeams_2D00_image-_2800_19_2900_.png

    Regards,

    Ranjith

  • Suggested answer
    YUN ZHU Profile Picture
    81,754 Super User 2025 Season 1 on at
    RE: Adding Tax info into 1322 - Purchase Order Report

    Hi, Nitin's suggestion is absolutely correct.

    I just briefly summarize.

    1. Adding "dependencies" feature in app.json file.

    dependencies No List of dependencies for the extension package. For example: "dependencies": [ {"id": "4805fd15-75a5-46a2-952f-39c1c4eab821", "name": "WeatherLibrary", "publisher": "Microsoft", "version": "1.0.0.0"},{}].
    Note: For dependencies to the System Application and Base Application these are no longer listed as explicit dependencies, but captured in the application setting as a reference to the application package. Must be filled in with the version number of the Application package. See application below.
    Note: The version specified defines the minimum version for the dependency. At runtime and when downloading symbols, the latest version of the dependency satisfying the specified name, publisher and, minimum version will be returned. When runtime is set to 4.0 or earlier, use appId instead of id.

    2. Download symbol files

    pastedimage1652835838783v1.png

    3. adding GST fields

     

    Hope this also helps.

    Thanks.

    ZHU

  • Suggested answer
    Nitin Verma Profile Picture
    21,544 Moderator on at
    RE: Adding Tax info into 1322 - Purchase Order Report

    Hi,

    Now can you please check my earlier example?

    Thanks.

  • Community Member Profile Picture
    on at
    RE: Adding Tax info into 1322 - Purchase Order Report

    Nitin,

    We have added following dependencies.

    India GST, Tax Engine, India Tax Base

    "dependencies": [ { "id": "db643212-b7fb-4dd4-b5a8-cb44ac714461", "name": "India GST", "publisher": "Microsoft", "version": "19.5.36567.39381" }, { "id": "c1eafb3f-e397-468e-bdb4-ecc5c317ca00", "name": "Tax Engine", "publisher": "Microsoft", "version": "20.0.37253.38362" }, { "id": "d3c551dd-5903-4194-b153-04ced9d29a2c", "name": "India Tax Base", "publisher": "Microsoft", "version": "20.0.37253.40041" } ],

  • Suggested answer
    Nitin Verma Profile Picture
    21,544 Moderator on at
    RE: Adding Tax info into 1322 - Purchase Order Report

    Hi,

    Have you added as a dependencies?

    pastedimage1652439998403v1.png

  • Community Member Profile Picture
    on at
    RE: Adding Tax info into 1322 - Purchase Order Report

    Hi Nitin,

    Thank you for your response.

    We are unable to access the said code unit. Getting error message as "GST Statistics is inaccessible due to its protection level AL(AL0161)".  Is there anyway to overcome this?

    Also, is there any other method to bring the GST values to PO Report instead of access code unit 18006?

    Regards,

    Ranjith

  • Suggested answer
    Nitin Verma Profile Picture
    21,544 Moderator on at
    RE: Adding Tax info into 1322 - Purchase Order Report

    Hi,

    You can try to achieve if you have access of Base application app of India GST, then you search Codeunit in that i.e. codeunit 18006 "GST Statistics", by going inside that CU you can find various functions which are used to show GST amount values in Sales and Purchase Statistics page.

    Please check below image and try to navigate same.

    pastedimage1652428575322v1.png

    Hope it will help you.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,233 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,982 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans