cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Prodigy
Post Prodigy

Developing the Inventory Module

@PowerAddict @mdevaney and other experts. 

 

I am now in the development of the Inventory Module. But the data are all over as below, 

 

  • Stocks in is under Order details list
  • Stock out is under Sales details list
  • Sales returns bring stock in again under the sales returns list
  • Purchases returns results stock out and it is under the purchase return list

All of them has a unique identifier for the stock which is the Brand + model number 

 

How can I develop the inventory module to show ?

What is the balance, total in, total out for each model

 

Your humble Student Osmand

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Developing the Inventory Module

You can use a lookup to access the ancillary lists using your brand and model number to provide the linkage.  The statement to get the stock value from the Orders list might look something like:

Set(CurrentStock, Lookup(Orders, OBrand = PBrand && OModel = PModel).OStock)

 

where the O columns come from the Orders list and the P columns are the corresponding columns on the product list (or whatever the primary driver list happens to be).  CurrentStock would be a global value to hold the value you need to retrieve from  Orders.  

Similar lookups could be crafted for each of the lists from which you need to retrieve information. 

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Developing the Inventory Module

You can use a lookup to access the ancillary lists using your brand and model number to provide the linkage.  The statement to get the stock value from the Orders list might look something like:

Set(CurrentStock, Lookup(Orders, OBrand = PBrand && OModel = PModel).OStock)

 

where the O columns come from the Orders list and the P columns are the corresponding columns on the product list (or whatever the primary driver list happens to be).  CurrentStock would be a global value to hold the value you need to retrieve from  Orders.  

Similar lookups could be crafted for each of the lists from which you need to retrieve information. 

View solution in original post

Highlighted
Post Prodigy
Post Prodigy

Re: Developing the Inventory Module

Thank you @LRVinNC  for the idea

 

I will try that also I am thinking on patch function

 

Osmand

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (12,615)