Skip to main content
Solved

Item vendor Lead Time Import "Purchase Unit" Error


Forum|alt.badge.img

Good day.

I am trying to import item vendor lead times into the stock item profile.

See the attached.  I keep getting the below error; the one that worked was blank.

Any suggestion/modifications need to the import scenario.

Thank you.

@Evan G 

 

Best answer by riglesias

Hello @EvanG 

Sorry for the delay.

I restored your scenario in my demo and here are my thoughts.
 

I noticed the custom keys were setup by  entering the field’s name between parenthesis which is incorrect. Also Line Number line is still active. 



In this webinar, there is an example on how to setup custom key fields: 

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

To setup a custom key using the @@ notation, you need to type the data field’s fields name which you can find by inspecting element. See example below where I inspected element for Vendor ID field:


Once you know the data field names for the fields you want to setup as custom key, you have to map this fields first, then the fields with the values you need the system to search by and at the end, the values that you need to be updated.
Please find below the screenshot of the corrected scenario mapping so you can use as reference:

 


Hope this helps.


If you still run into any issues, I would recommend you to create a case so I can review your instance and see what could be missing.

Have a nice day!​​​​​​​

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

12 replies

Manikanta Dhulipudi
Captain II
Forum|alt.badge.img+13

hI @EvanG Please disable the below hightlighted checbox and provide feedback.

 


riglesias
Acumatica Employee
Forum|alt.badge.img+2
  • Acumatica Employee
  • 93 replies
  • October 10, 2023

Hello @EvanG 

 

If the vendor already exists under Vendors tab, when you map <Line Number> line to =-1 The system will try to add a new line instead of updating the existing Vendor with the corresponding time. 
In this case I would recommend you to setup a custom key by using the @@ notation for Vendor ID field to update the line.
Here’s a link that explains how to setup a custom key to update existing lines on a grid (Min 44:56): 

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

 


riglesias
Acumatica Employee
Forum|alt.badge.img+2
  • Acumatica Employee
  • 93 replies
  • October 10, 2023

Hello @EvanG 

Here’s how you need to map the import scenario.
- Deactivate <Line Number> line.
- Insert a line for the custom key (@@InventoryID)
 


Hope this helps.


Forum|alt.badge.img
  • Author
  • Varsity I
  • 93 replies
  • October 11, 2023

@riglesias 

Thank you for your response.  I made the adjustment adding the @@ field.  Same error?  Is it in the wrong place?  Or should it be custom field for vendors?

See screenshot.

 


  • Freshman II
  • 3 replies
  • October 11, 2023

@EvanG 

I think @riglesias meant to say, add a line with @@VendorID, not @@InventoryID

 

Basically, the “@@” tells the import to use the specified field to find a line which matches the field being brought in by the data.

In this case, @@VendorID will tell the import to use the VendorID field to find the line where the VendorID matches the value being brought in on the import scenario.


Manikanta Dhulipudi
Captain II
Forum|alt.badge.img+13
manikantad18 wrote:

hI @EvanG Please disable the below hightlighted checbox and provide feedback.

 

have you tried this Option?

Thanks


Forum|alt.badge.img
  • Author
  • Varsity I
  • 93 replies
  • October 11, 2023

@CNeels @riglesias @manikantad18

Thank you for your assistance.  Please see the attached xml.  I am still getting Purchase Unit issue.  I then had an issue with Location but added the @@ field.  I am not sure why this little scenario is such a problem.  It basically a test; i am going to update all my items shortly.

 


riglesias
Acumatica Employee
Forum|alt.badge.img+2
  • Acumatica Employee
  • 93 replies
  • October 11, 2023

Hello @EvanG 

Could you please provide a screenshot of Stock items screen for the item TB-94-M-3-2BES showing vendors tab?

 

Thanks!


Forum|alt.badge.img
  • Author
  • Varsity I
  • 93 replies
  • October 12, 2023

@riglesias See below,

 


Forum|alt.badge.img
  • Author
  • Varsity I
  • 93 replies
  • October 16, 2023

@riglesias  Any suggestion?


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2756 replies
  • November 27, 2023

Hi @EvanG were you able to find a solution? Thank you!


riglesias
Acumatica Employee
Forum|alt.badge.img+2
  • Acumatica Employee
  • 93 replies
  • Answer
  • November 28, 2023

Hello @EvanG 

Sorry for the delay.

I restored your scenario in my demo and here are my thoughts.
 

I noticed the custom keys were setup by  entering the field’s name between parenthesis which is incorrect. Also Line Number line is still active. 



In this webinar, there is an example on how to setup custom key fields: 

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

To setup a custom key using the @@ notation, you need to type the data field’s fields name which you can find by inspecting element. See example below where I inspected element for Vendor ID field:


Once you know the data field names for the fields you want to setup as custom key, you have to map this fields first, then the fields with the values you need the system to search by and at the end, the values that you need to be updated.
Please find below the screenshot of the corrected scenario mapping so you can use as reference:

 


Hope this helps.


If you still run into any issues, I would recommend you to create a case so I can review your instance and see what could be missing.

Have a nice day!​​​​​​​


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