Solution required

hi,

i have 4 departments in my unit, each department has several storage locations, that are numbered. The flow of material is from A department > B department > C Department > D Department.

when A department stores a particular batch 123 in say Storage location A1 which takes about 3 hrs to fill, i want this location to show unavailable for other members in the A department. here in this table i have status column showing โ€œIn Progressโ€ and โ€œCompletedโ€

And when the material from batch 123 is taken from location A1 by B department, i want the location A1 to show Available only after B Department finishes clearing the location where in their table hey have column showing โ€œIn Progressโ€ and โ€œCompletedโ€.

i could be contented by a way if i am able to insert a new column where i am able to display available locations for the user to select the appropriate available location for the next batch of material

How do i achieve this ???

0 5 330
5 REPLIES 5

It is important to think about the main goal of the app in real world terms and then build the data to mimic that.

It seems to me, based on your description, that the main goal of the app is to track the movement and activity of a BATCH. Batches are stored in different locations and departments take different actions on the batch, but it is the batch that is common throughout.

So, I would create a Batch table as my main table. Then have a table for Batch Movement and supporting tables for Departments and Storage Locations.

On the the Batch Movement table there would be columns for โ€œFromโ€ and โ€œToโ€ to specify the locations from the Storage Locations table. Could be just โ€œToโ€ location but I like to keep both.

Then as each batch moves from department to department (in reality storage location to storage location owned by a department) its just a matter of adding a new Batch Movement record.

Or course, you would need to weave in the updates of batch status as well as storage location status, etc.

Hi I understand ur point that tracking batch would be the keyโ€ฆ

But for my planning I need to know which storage locations are available, as certain locations hold more and certain less qty, hence I need to plan my batches according to Storage location available.

Hence my requirement as stated earlier

Oh, ok. Maybe I mis-understood. I took your post as a request for advice on a data design to allow you to manage the process you described.

But if you already have data tables created, please let us know, in a general sense, what they are and what data they hold related to your question, then we can help with ideas of how you can fit in the selection of the Storage Locations.

As of now I am yet to create an automated table, as I am not getting the expression to get this,

Currently my team manually enters which is available and which is filled in a separate sheet meant for only storage locationsโ€ฆ

I want to automate this by when they enter the data in the batch sheet regarding storage locationโ€ฆthat entry automatically shows in the storage location sheet

So let me summarize my understanding.

I assume that you have in an AppSheet app with a Batch table that is sourced from the batch sheet and a Storage Location table sourced from the storage location sheet.

When filling a tank, you have a Fill status column in the Storage Location table that shows โ€œIn Progressโ€ and โ€œCompletedโ€. There is also a Department column to show who owns the location.

With a batch in location A1, when B department moves this batch into location B1, you want to AUTOMATICALLY show location A1 available ONLY once the location B1 shows โ€œCompletedโ€.

Is my understanding correct?

Assuming my understanding is correct, there are two problems:

  1. If your Fill status column only has โ€œIn Progressโ€ and โ€œCompletedโ€, you donโ€™t have a way to show that a location is available. This is easily solved by adding an โ€œEmptyโ€ status.

  2. When marking location B1โ€™s Fill status as completed, there isnโ€™t a way to KNOW, in the app, where that batch was moved from. So you donโ€™t know which location to mark as Empty. This is the main issue.

There a couple of easy ways to solve Problem 2

A) You could provide buttons on each storage location row in the App to explicitly set the status. For example, when B department is moving batch from A1 to B1, they tap a button on A1 indicating its empty in addition to tapping a button on B1 that the fill is complete.

B) When B department taps the button to indicate that fill of B1 is โ€œIn Progressโ€ they are presented a short Form to indicate which location they are moving from (e.g. A1). You would add a From column in the storage location table to save this info. Now when the user indicates that B1โ€™s Fill process is complete, the app will KNOW which location to mark as โ€œEmptyโ€.

How to get list of locations that are available for use?

Once you have solved Problem 2, then you can get the list of available locations with a simple expression:

SELECT(Storage Location([Location ID], AND([Department] = "A", [Fill Status] = "Empty"))

Note: How you get the value for the Department comparison will depend on how you have the app built, so you will likely need to modify this part of the expression to fit with your app.

Top Labels in this Space