Skip to main content
Solved

Purchase Receipt Import Scenario with Add PO


Forum|alt.badge.img+3

Hello community,

I have been working on an import scenario of Purchase Receipts, where I am looking to import the lines using Add PO button → Under the Details tab, but the scenario isn’t working. Can anyone let me know what is it that I am missing here?

Have attached the XML file of the import scenario.

 

Thanks in advance.

Best answer by riglesias

Hello @Harshita 

 

Once you add the PO Lines, if you need to modify the receipt qty, you also need to setup a custom key using the @@ notation for Details tab.
In this case I setup Inventory as custom key to let the system know the line where the qty will be modified. See highlighted lines below.
 



Hope this helps.
 

View original
Did this topic help you find an answer to your question?

10 replies

riglesias
Acumatica Employee
Forum|alt.badge.img+2
  • Acumatica Employee
  • 92 replies
  • April 15, 2024

Hello @Harshita 

Here’s a screenshot from a scenario I created in the past to Add PO you can use as reference.



Hope it helps


Forum|alt.badge.img

I’m doing something similar.  Check out this thread: 

 

 

Their working import scenario is a little different where you have Add Purchase Order Line → PO Selection. 

 

 


Forum|alt.badge.img+3
  • Author
  • Captain II
  • 317 replies
  • April 18, 2024

hello @riglesias  & @travislawson ,

thank you for your prompt suggestions. i am also looking to override the Receipt Qty in the same import scenario.


riglesias
Acumatica Employee
Forum|alt.badge.img+2
  • Acumatica Employee
  • 92 replies
  • April 18, 2024

Hello @Harshita 

If you need to update a line after you add it, you need to map detail lines below and setup a custom key by using the @@ notation.
In this webinar you can find an example on how to update lined from grid (min 44:56)

 

https://community.acumatica.com/import-and-export-scenarios-221/webinar-common-examples-of-import-scenarios-206



Hope this helps.


Forum|alt.badge.img+3
  • Author
  • Captain II
  • 317 replies
  • April 23, 2024
riglesias wrote:

Hello @Harshita 

Here’s a screenshot from a scenario I created in the past to Add PO you can use as reference.



Hope it helps

Hello @riglesias ,
Can you kindly share the complete xml file?


Forum|alt.badge.img+3
  • Author
  • Captain II
  • 317 replies
  • April 23, 2024

@riglesias & @travislawson ,

have figured out the import scenario for single line PO. But when I try to create PO Receipt for multiple lines, it is then creating multiple receipts. How to resolve that? Have attached the XML file too.

 


riglesias
Acumatica Employee
Forum|alt.badge.img+2
  • Acumatica Employee
  • 92 replies
  • April 23, 2024

Hi @Harshita 

Restored the scenario in my demo and I noticed Receipt Nbr field is blank in your Data Provider.
This is a key field and lets the system know which lines should be created for the same receipt. Please try to modify the data provider so the lines that should belong to the same receipt have the same value for Receipt Nbr. Something like this: 

 


Hope this helps.


Forum|alt.badge.img+3
  • Author
  • Captain II
  • 317 replies
  • April 23, 2024
riglesias wrote:

Hi @Harshita 

Restored the scenario in my demo and I noticed Receipt Nbr field is blank in your Data Provider.
This is a key field and lets the system know which lines should be created for the same receipt. Please try to modify the data provider so the lines that should belong to the same receipt have the same value for Receipt Nbr. Something like this: 

 


Hope this helps.

Hey @riglesias , I already tried this:


And this is the result:
 

It is taking the Inventory ID of the first row whereas the receipt qty of the second row from the importing data.


riglesias
Acumatica Employee
Forum|alt.badge.img+2
  • Acumatica Employee
  • 92 replies
  • Answer
  • April 23, 2024

Hello @Harshita 

 

Once you add the PO Lines, if you need to modify the receipt qty, you also need to setup a custom key using the @@ notation for Details tab.
In this case I setup Inventory as custom key to let the system know the line where the qty will be modified. See highlighted lines below.
 



Hope this helps.
 


Forum|alt.badge.img+3
  • Author
  • Captain II
  • 317 replies
  • April 26, 2024
riglesias wrote:

Hello @Harshita 

 

Once you add the PO Lines, if you need to modify the receipt qty, you also need to setup a custom key using the @@ notation for Details tab.
In this case I setup Inventory as custom key to let the system know the line where the qty will be modified. See highlighted lines below.
 



Hope this helps.
 

Hey @riglesias , thanks a lot for your suggestions. it now worked as expected.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings