Skip to main content
Solved

Removing trailing zeroes from default price in export scenario


Forum|alt.badge.img

I have an export scenario created of a GI results screen that includes the default price, cost, and qty available of stock items. However, when the export scenario is run, the CSV file that it produces includes a bunch of trailing zeroes. (Example: A default price of $1349.00 turns into 1349.000000)

Is there any way to remove all of the trailing zeroes from being included in these results? The actual GI results don’t display any trailing zeroes, it only shows up in the Export Scenario.

 

GI results:

 

Export scenario:

 

Best answer by mikeho

UPDATE: I figured it out. I was able to use the suggestion from this comment by using that Format formula in the Field / Action Name field in the Export scenario:

 

This produced the desired results in the Export by Scenario and the CSV file.

 

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

4 replies

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

Forum|alt.badge.img
  • Author
  • Semi-Pro II
  • 228 replies
  • May 2, 2023

Hi @manikantad18 - the Company is set to two decimal points, so that’s not the issue. How would one us the script from this article you linked to? https://community.acumatica.com/import-and-export-scenarios-117/how-to-make-a-filed-2-decimal-places-in-export-scenarios-4196

 

As for sharing the GI, we’re currently having problems exporting GIs to XML, but you can test this with any currency-related field.


Forum|alt.badge.img
  • Author
  • Semi-Pro II
  • 228 replies
  • Answer
  • May 6, 2023

UPDATE: I figured it out. I was able to use the suggestion from this comment by using that Format formula in the Field / Action Name field in the Export scenario:

 

This produced the desired results in the Export by Scenario and the CSV file.

 


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2783 replies
  • May 8, 2023

Thank you for sharing your solution with the community @mikeho !


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