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. 

LRVinNC

------------------
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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. 

LRVinNC

------------------
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published 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 (6,815)