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)

Vendor Address print in PO AX2012 R3

(0) ShareShare
ReportReport
Posted on by 3,457

Hi ,

I have a vendor with multiple address, only one is set as primary.

other two address are branch addresses.

Now while printing a PO after confirmation, the PO will print only primary address, how to select other address (branch) to print in PO in place of primary address.

thanks in advance

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Renaud PAQUAY Profile Picture
    on at
    RE: Vendor Address print in PO AX2012 R3

    If you want to change the address which is printed on the purchase order confirmation document you should probably consider making changes in the data provider class (PurchPurchaseOrderDP) or in an upstream section of the code.

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Vendor Address print in PO AX2012 R3

    Hi Naveen,

    You need to modify the code written in the data provider class of this report.

    Please check the function \Classes\PurchPurchaseOrderDP\initializePurchPurchaseOrderHeader() , here you can change the assignment in the DeliveryAddress field of the table purchPurchaseOrderHeader.

    Make sure you generate incremental IL after changing code in data provider class.

    Hope this helps.

    Thanks,

    Priyanka Agarwal

  • NaveenKumar S Profile Picture
    3,457 on at
    RE: Vendor Address print in PO AX2012 R3

    Is it possible to give option so that user can select which address to print?

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Vendor Address print in PO AX2012 R3

    Hi Naveen,

    Yes it is possible, you might need to think where/how you will define, which type of address you need to print on the confirmation report, some options I can think of are:

    1. Generic setup --> Add new field in parameter form and then you can read which type of address you want to print on the confirmation report (in case you want to make it generic)

    2. Define it on vendor or the purchase order 

    3. Define it on the confirmation screen prompt.

    In case the report gets opened from a dialog then you can define a new data contract member in the report contract class and read the user selection in the DP class under the process report method. 

    I am not sure if there is any standard AX setup where you can select which address you want to print on the confirmation report. 

    Hope this helps. Please mark the answer as verified if it solves your issue.

    Thanks,

    Priyanka Agarwal

  • NaveenKumar S Profile Picture
    3,457 on at
    RE: Vendor Address print in PO AX2012 R3

    thank you very much, i will have to decide on it

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
Guy Terry Profile Picture

Guy Terry 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans