cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Highlighted
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
Highlighted
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

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,990)