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 Generic I...
How to shows sold Q...
 
Notifications
Clear all

Questions How to shows sold QTY in the past half a year ?

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Tim Rodman 6 years ago
12 Posts
4 Users
0 Reactions
2,373 Views
RSS
QueenaC
Posts: 15
 QueenaC
Topic starter
June 25, 2019 5:31 am
(@queenac)
Member
Joined: 5 years ago

im trying to shows sold qty past half a year . 
like this  one item one line :
Inventory ID | Inventory des | Begin QTY | QTY out 
123-XXX            123-XXX             5                       3
456-XXX            456-XXX            4                       1
789-XXX            789-XXX            5                       2
                                 

i tried some tables ( like ARtran , ARinvoice ,initemsitehit ), but seems not currect 

also PX.Objects.IN.InventoryTranHistEnqResult ,but yeah that table seems can be use .


11 Replies
Royce Lithgo
Posts: 557
 Royce Lithgo
June 26, 2019 7:58 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

If you're looking for Inventory movements, try INSiteStatus.


Reply
QueenaC
Posts: 15
 QueenaC
Topic starter
June 26, 2019 11:13 pm
(@queenac)
Member
Joined: 5 years ago

Royce ,
Thank you for reply , but i need filter a period sold qty for my item  ,
the relations i tried
inventory | left  |ARtran  like this 

results grid is
ARTran >>>>>QTY

but  ARtran . qty and item status . Qty avail  was wrong cuz they're duplicate ,
like this 

i hope them can shows like 
QTY Avail : 7
QTY : 13
whats realation do i need ? 
Thnak you 


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
June 27, 2019 1:49 am
(@roycelithgo)
Honorable Member
Joined: 6 years ago

Build your query table by table and check the results at each step.

Don't group/aggregate anything until you get the correct data.

I suspect you have multiple rows in both INSiteStatus and INItemCost for one row in InventoryItem - you are therefore creating a cartesian product.


Reply
QueenaC
 QueenaC
(@queenac)
Joined: 5 years ago

Member
Posts: 15
June 27, 2019 1:57 am
Reply toRoyce LithgoRoyce Lithgo

this is my inventory relations between INitemcost and INSitesStatus 

what did i miss somthing ?.....


Reply
QueenaC
 QueenaC
(@queenac)
Joined: 5 years ago

Member
Posts: 15
June 27, 2019 2:09 am
Reply toRoyce LithgoRoyce Lithgo

wanna shows this qty out . but the InventoryTranHistEnqResult table seems doesnt work in acumatica ,what do i use other table replace it ?


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
June 27, 2019 6:38 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

You cannot access InventoryTransHistEnq* tables in GI, they are application tables, not data tables.

All I can say is that if you are getting duplicated data in your results, make sure you don't have any grouping or aggregates enabled and build the query table by table to see where the duplicates are coming from.


Reply
QueenaC
 QueenaC
(@queenac)
Joined: 5 years ago

Member
Posts: 15
June 28, 2019 1:40 am
Reply toRoyce LithgoRoyce Lithgo

Thanks For reply

when i didnt grouping the data was perfect , but when i grouping ,the last cost value was qrong became to double  

how do i let the last cost be double value ?


Reply
Royce Lithgo
 Royce Lithgo
(@roycelithgo)
Joined: 6 years ago

Honorable Member
Posts: 557
June 30, 2019 5:07 pm
Reply toQueenaCQueenaC
Royce Lithgo
Posted by: Queena Chu

when i didnt grouping the data was perfect , but when i grouping ,the last cost value was qrong became to double  

So doesn't that suggest that your grouping conditions are wrong?


Reply
Ryan Brown @xByte Hosting
Posts: 84
 Ryan Brown @xByte Hosting
June 28, 2019 10:38 am
(@ryanxbyte)
Estimable Member
Joined: 6 years ago

You could always cheat and enter Max in the Aggregate Function column.  

If you have multiple locations, I believe that will create 2 entries into InSiteStatus.  You would have to add a line to your join (or condition) that restricts to a single location.


Reply
QueenaC
Posts: 15
 QueenaC
Topic starter
June 30, 2019 9:52 pm
(@queenac)
Member
Joined: 5 years ago

Thank you ,i followed ryan's way to max their qty ,and made condition for it , but always shows  recored products , how can shows unrecored products ?

like those records  


Reply
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
July 28, 2019 9:15 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Do you want to show zero for the blank rows?


Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 32 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

 No online members at the moment

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.

‹›×

    ‹›×