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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

PURCHASE REQUISITION ENTITIES

(0) ShareShare
ReportReport
Posted on by 10

We have hundreds of lines for Purchase Requisition. I am looking for the easiest way to import the details in AX.

Creating Entities & DIXF are the possible solution but I don't know what are the entities that I need as Purchase Requisition is not available in pre-configured entities in AX 2012.

I have the same question (0)
  • Learning_AX Profile Picture
    10 on at

    Is it possible to import selected fields then other fields will automatically populate based on the imported field?

  • Suggested answer
    Sefa Duman Profile Picture
    1,167 on at

    Hi,

    Could you please explain your requirement details? Do you require to import PR into AX for once? If so using DIXF is the best way. Since there is no entity for PR out of the box, you have to create new entity via wizard.

    If you require on a recurring basis or update data from external sources or based on events, AIF is the best option according to Microsoft. You can refer the link below for data migration options based on different scenarios.

    https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/plan-data-import-export-and-migration

    https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/data-migration-for-microsoft-dynamics-ax-2012-white-paper

    Best regards,

    Sefa Duman.

  • Learning_AX Profile Picture
    10 on at

    "Could you please explain your requirement details? Do you require to import PR into AX for once? If so using DIXF is the best way. Since there is no entity for PR out of the box, you have to create new entity via wizard."

    ---> Yes, this is what I need. But I don't know which tables and fields should I use. We are creating the PR Lines by entering Item Number & Qty, Warehouse & Batch Number under Inventory Dimension.

  • Suggested answer
    Sefa Duman Profile Picture
    1,167 on at

    Hi,

    You should create PurchReqTable entity and PurchReqLine entity. Wizard will automatically create needed fields from related tables on staging table. And wizard will also create needed method to generate required fields. You have to fill mandatory fields for these two tables at least. You can check mandatory fields in AOT.

    After that you should create a processing group for line and header tables. You can refer the link below which illustrates the importing process for purchase order lines similar to purchase requisitions.

    community.dynamics.com/.../ax-2012-importing-purchase-order-using-dixf

    Best regards,

    Sefa Duman

  • Learning_AX Profile Picture
    10 on at

    Do I need to make it as composite entity?

  • Suggested answer
    Satish Panwar Profile Picture
    14,673 Moderator on at

    There are different ways of working this out:

    Option 1:

    1. Create / Import entity for header (Step 1)

    2. Create / Import entity for lines (Step 2)

    Option 2:

    1. Create entity (Import header + Lines). Via code parse and create header + lines

    Option 3:

    1. Create composite entity (this is combination of option 1 (step 1 and step 2). Format has to be XML in this case.

  • Suggested answer
    Sefa Duman Profile Picture
    1,167 on at

    Yes. You can refer for using composite entity the link below:

    http://axhelper.com/?p=4215

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 689

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 606 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 356

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans