AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • Rolodex
    • Podcast
    • 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...
Report Designer: Se...
 
Notifications
Clear all

Questions Report Designer: Separate Sum by Total Cases and Total Units in Picking Slip

 
Acumatica Report Designer
Last Post by Gustavo Carrasquillo 5 years ago
3 Posts
2 Users
2 Reactions
2,233 Views
RSS
Gustavo Carrasquillo
Posts: 37
 Gustavo Carrasquillo
Topic starter
June 17, 2020 11:41 am
(@gustavo-carrasquillo)
Trusted Member
Joined: 5 years ago

Hi to all,

I was wondering if there's a way of creating a variable for separating cases amount and single units amount. I am attaching a picture to explain myself better.

Screen Shot 2020 06 17 at 11.35.21 AM

 In this example, I have 1 case, and 18 single units of different items. But the totals the report bring up are 22 pieces (18 single units, plus the 4 units inside the case) and 19 cartons (the case plus the 18 single units). Is there a way of separating the sum depending on the UOM in the original order? I tried 'IIf(([SOShipLine.OrderUOM]<>'CASE'),'0',sum([SOShipLine.Qty]))' and also tried IIf(([SOShipLine.OrderUOM]='CASE'), sum([SOShipLine.Qty]), '0') but none of them work. I do not know a way of configuring a variable to get the expected results. Thanks in advance for your help! 


Topic Tags
variable report designer Reports
2 Replies
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
July 4, 2020 2:36 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Does it work if you remove the single quotes from around your zeros like this?

IIf(([SOShipLine.OrderUOM]<>'CASE'),0,sum([SOShipLine.Qty]))
IIf(([SOShipLine.OrderUOM]='CASE'), sum([SOShipLine.Qty]), 0)

Reply
Gustavo Carrasquillo reacted
Gustavo Carrasquillo
 Gustavo Carrasquillo
(@gustavo-carrasquillo)
Joined: 5 years ago

Trusted Member
Posts: 37
July 8, 2020 6:13 pm
Reply toTim RodmanTim Rodman
Posted by: @timrodman

Does it work if you remove the single quotes from around your zeros like this?

IIf(([SOShipLine.OrderUOM]<>'CASE'),0,sum([SOShipLine.Qty]))
IIf(([SOShipLine.OrderUOM]='CASE'), sum([SOShipLine.Qty]), 0)

Yes indeed Tim,

What I ended up doing was assigning the following formula to the variable $Cases =$Cases+IIf([SOShipLine.OrderUOM]<>[InventoryItem.BaseUnit] , [SOShipLine.Qty],0) and the corresponding formula for the variable $Units. It worked like a charm! Thanks! 


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Related Topics
  • Pick List report suddenly not splitting on Shipment
    2 weeks ago
  • QR Code Size
    8 months ago
  • Print multiple report at the same time on a single printer using device hub
    12 months ago
  • Long text truncated/cut off
    1 year ago
  • Latest Vendor for
    1 year ago
Topic Tags:  variable (3) , report designer (47) , Reports (5) ,
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 43 Online
  • 2,338 Members
Our newest member: Shoaib Shafquat
Latest Post: Pick List report suddenly not splitting on Shipment
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

  • Anne Trockman David Edmonson
Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

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

‹›×

    ‹›×