cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
OsmandFernando
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
LRVinNC
Super User
Super User

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
LRVinNC
Super User
Super User

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

Thank you @LRVinNC  for the idea

 

I will try that also I am thinking on patch function

 

Osmand

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

Top Solution Authors
Top Kudoed Authors
Users online (83,832)