Skip to main content
Answer

Import Scenario - Update sales order specific line discount percent

  • January 4, 2023
  • 5 replies
  • 375 views

Forum|alt.badge.img

Trying to update specific sales order lines to add a 10% discount. Which I thought would be a pretty straight forward import but I keep getting an error “View name: Documet” and I can’t figure out what in the import scenario is wrong? Can someone help me out on this one.

 

Attached is the import scenario XML

 

Thanks

Best answer by riglesias

Hello @jcox43 ,

 

The mapping looks fine, the only thing missing is the internal field for Line number. See screenshot below:

 

 

Map the internal field as shown above and let me know if it works.

5 replies

riglesias
Acumatica Employee
Forum|alt.badge.img+2
  • Acumatica Employee
  • January 4, 2023

Hello @jcox43 ,

You can try setting up a custom key field to let the system know which line you want to update, Here’s a link for a vide that shows an example on how to setup a custom key to update lines with an import scenario (min 44:56): 


Hope it helps!

 


Forum|alt.badge.img
  • Author
  • Freshman II
  • January 4, 2023

I think I have it setup correctly but I still get the same error.

 

 


riglesias
Acumatica Employee
Forum|alt.badge.img+2
  • Acumatica Employee
  • Answer
  • January 4, 2023

Hello @jcox43 ,

 

The mapping looks fine, the only thing missing is the internal field for Line number. See screenshot below:

 

 

Map the internal field as shown above and let me know if it works.


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

Hi @jcox43 

Please find the attached import scenario for updating discounts


Forum|alt.badge.img
  • Author
  • Freshman II
  • January 4, 2023

Hello @jcox43 ,

 

The mapping looks fine, the only thing missing is the internal field for Line number. See screenshot below:

 

 

Map the internal field as shown above and let me know if it works.

Ah you are correct, that corrected the issue and the import worked successfully.

 

Thanks for your help!