AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Acumatica Report De...
convert decimal to ...
 
Notifications
Clear all

Questions convert decimal to whole number and include in barcode

 
Acumatica Report Designer
Last Post by khoosen 6 years ago
3 Posts
2 Users
1 Reactions
2,819 Views
RSS
khoosen
Posts: 2
 khoosen
Topic starter
June 1, 2020 4:19 pm
(@khoosen)
New Member
Joined: 6 years ago

I have a requirement to include a quantity field as part of a barcode.  The barcode must consist of a "Q" followed by a whole number (no decimal positions).  For example, if the quantity field stored in Acumatica has a value of "4.00".  The barcode must contain the data as "Q4".  Any ideas on how to do this?  Thanks.


2 Replies
kevin.ruppert
Posts: 47
 kevin.ruppert
June 4, 2020 8:52 am
(@kevin-ruppert)
Trusted Member
Joined: 6 years ago

@khoosen Welcome to AUGForums!

 

Assuming you are familiar with embedding a bar code within your report, you need to then tell the report how to populate the bar code. in the Data Value your formula should be something like this:

 

image

='Q'+CInt([SOShipLine.Qty])

 

I am using a shipment as the source, so your field may change, but this formula (CInt) is converting the value to an integer. When printed the bar code will be populated with the Q plus the whole number value and no decimals. Here's a screen shot of the pick list with an added field to show what the bar code reads 🙂

 

image

Reply
khoosen
 khoosen
(@khoosen)
Joined: 6 years ago

New Member
Posts: 2
June 4, 2020 10:04 am
Reply tokevin.ruppertkevin.ruppert

@kevin-ruppert - That worked great.  Thank you very much!


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,532 Topics
  • 11 K Posts
  • 34 Online
  • 2,418 Members
Our newest member: Chad Treadwell
Latest Post: Limited or no support from Acumatica?
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2026 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×