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...
Linking items in Pr...
 
Notifications
Clear all

Questions Linking items in Project Cost Budget to Inventory On Hand

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by KDYoung 6 years ago
6 Posts
2 Users
1 Reactions
1,884 Views
RSS
KDYoung
Posts: 26
 KDYoung
Topic starter
September 11, 2019 5:41 pm
(@kdyoung)
Eminent Member
Joined: 6 years ago

Client is creating projects with stock items in the Cost Budget.  In a GI, trying to link the items called for in the project to on hand quantities so user knows if they've acquired all needed items.  Item data for project stored in PMCostBudget.  On hand quantities in a couple different places but I am using IN.StoragePlaceStatus.  Our inventory location for a project has the exact same name as the Project ID.  Project ID PR00005, inventory location PR00005.  Doing a LEFT JOIN on Project ID = Location and Inventory ID = Inventory ID seemed to be simple.  However, in PMCostBudget, it does not contain the Project ID PR00005, instead it contains the database ID 3269 (or whatever).  While I can link to PMCostBudget to PMProject to get the Project ID I want, that doesn't help me as I need to go from PMCostBudget to StoragePlaceStatus.  I know in SQL I could create a view to do what I need but not in GI standard tools.  Am I missing something or is this a case where I would need a custom view added to Acumatica that has theProject ID I need along with PMCostBudget data that I can then join to StoragePlaceStatus in a GI?

I'm thinking I need a custom view but I'm new to Acumatica and GI's so making sure I'm not missing something.


Topic Tags
project inventory
5 Replies
Wyatt.ERP
Posts: 128
 Wyatt.ERP
September 16, 2019 11:35 am
(@wyatt-erp)
Estimable Member
Joined: 6 years ago

Hi @kevin-young

You can definitely create a relation in GI to do this.  You need to have all 3 tables added to the GI.  In your relations, start with PMCostBudget and create the relation to PMProject on the int based ID.  You can then create the relation between PMProject and StoragePlaceStatus based on the string based project code.


Reply
KDYoung
Posts: 26
 KDYoung
Topic starter
September 16, 2019 12:04 pm
(@kdyoung)
Eminent Member
Joined: 6 years ago

Thanks for the feedback.  But I need to left join to StoragePlace Status on Project code AND Inventory ID.  Inventory ID is only in PMCostbudget.


Reply
Wyatt.ERP
 Wyatt.ERP
(@wyatt-erp)
Joined: 6 years ago

Estimable Member
Posts: 128
September 16, 2019 4:27 pm
Reply toKDYoungKDYoung

@kevin-young

In your second join between PMProject and StoragePlaceStatus, you can use:

=[PMCostBudget.InventoryID]

Assuming you didn't change the alias of your table, that should do the trick.


Reply
KDYoung
Posts: 26
 KDYoung
Topic starter
September 16, 2019 4:29 pm
(@kdyoung)
Eminent Member
Joined: 6 years ago

I thought I tried that before but I will try that again.  Thanks!


Reply
KDYoung
Posts: 26
 KDYoung
Topic starter
September 16, 2019 4:59 pm
(@kdyoung)
Eminent Member
Joined: 6 years ago

Thanks Wyatt.ERP.  I did try that before but you reminding me of that forced me to look at it again and I realized I was linking to the wrong column when I tried before.  Appears to work just as I need now!!


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Topic Tags:  project inventory (2) ,
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 44 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

  • Tim Rodman Julian Schrenzel
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.

‹›×

    ‹›×