Please excuse the title of this thread, i'm not entirely sure it makes much sense but i was trying to convey the purpose of the question.
Below describes the process i'm trying create based around current processes and the table and form designs i have so far. The current process is used with a (very large) spreadsheet being shared between a number of users and the purpose of this database is to migrate the users away from the spreadsheet to allow a more stable platform to be used along with improving data integrity and data quality.
Consignment Details
We receive an email from a supplier they tell us that they have some product they want us to sell for them and detail what it is. The product is detailed as a number of lines of information that are all linked by some static data. The products are fruit. A consignment can be made up of 1 or more products and a product is made up of units, cases and pallets of specific fruit which has a variety, country of origin and unit size.
The consignment table is as follows:
The products table links to the consignments using the consignment ID - cons_id - and is defined as:
Once we have the details of the consignment and the products we then find customers to take part or all of the products and these are defined as deliveries.
Deliveries
A delivery goes to a customer which has an amount of static data and can contain 1 or more products which can be a mixture of the consignment products.
The tables for this and how they are linked are:
So we contact regular customers who we work with and detail what products we have and they can specify how much of the consignment they require this is when a supplier provides us with product without a specific customer already lined up. Other instances of the process mean that we already know we are going to supply specific products to customers so contact them to confirm. Either way once confirmed we will created a delivery record and add the products they are going to receive to the delivery.
Data Entry
A user will enter the consignment information in using the following form:
This gives all the static information we get from the supplier. Once entered they can drill into the Consignments to attach products that make up the consignment:
Product information is added to the consignment on the products tab with each product being selectable. The products can also be entered using a form, this form (brought up by clicking the Add Product button) allows the user to add new products not already listed and do other contextually appropriate maintenance as required:
Deliveries are documented on the deliveries tab:
And to each delivery products are attached based around the consignment products and drilling into a delivery shows:
Assistance Required
What i need some assistance with is how to do the following.
Currently i have added a large amount of test data to see how everything fits together and had some of the users have a play around entering some. The process is much more laborious than the spreadsheet that the users are currently running things from and the main issue is creating deliveries.
Firstly i have made it so that unless a user selects 1 or multiple consignment product lines they are not able to add a delivery record. The picture below shows before and after selecting products attached to a consignment and the button being greyed out and then being clickable:
Now what i need to happen is when the Add Delivery button is pressed on the form-Consignment
Thanks in advance
Below describes the process i'm trying create based around current processes and the table and form designs i have so far. The current process is used with a (very large) spreadsheet being shared between a number of users and the purpose of this database is to migrate the users away from the spreadsheet to allow a more stable platform to be used along with improving data integrity and data quality.
Consignment Details
We receive an email from a supplier they tell us that they have some product they want us to sell for them and detail what it is. The product is detailed as a number of lines of information that are all linked by some static data. The products are fruit. A consignment can be made up of 1 or more products and a product is made up of units, cases and pallets of specific fruit which has a variety, country of origin and unit size.
The consignment table is as follows:
The products table links to the consignments using the consignment ID - cons_id - and is defined as:
Once we have the details of the consignment and the products we then find customers to take part or all of the products and these are defined as deliveries.
Deliveries
A delivery goes to a customer which has an amount of static data and can contain 1 or more products which can be a mixture of the consignment products.
The tables for this and how they are linked are:
So we contact regular customers who we work with and detail what products we have and they can specify how much of the consignment they require this is when a supplier provides us with product without a specific customer already lined up. Other instances of the process mean that we already know we are going to supply specific products to customers so contact them to confirm. Either way once confirmed we will created a delivery record and add the products they are going to receive to the delivery.
Data Entry
A user will enter the consignment information in using the following form:
This gives all the static information we get from the supplier. Once entered they can drill into the Consignments to attach products that make up the consignment:
Product information is added to the consignment on the products tab with each product being selectable. The products can also be entered using a form, this form (brought up by clicking the Add Product button) allows the user to add new products not already listed and do other contextually appropriate maintenance as required:
Deliveries are documented on the deliveries tab:
And to each delivery products are attached based around the consignment products and drilling into a delivery shows:
Assistance Required
What i need some assistance with is how to do the following.
Currently i have added a large amount of test data to see how everything fits together and had some of the users have a play around entering some. The process is much more laborious than the spreadsheet that the users are currently running things from and the main issue is creating deliveries.
Firstly i have made it so that unless a user selects 1 or multiple consignment product lines they are not able to add a delivery record. The picture below shows before and after selecting products attached to a consignment and the button being greyed out and then being clickable:
Now what i need to happen is when the Add Delivery button is pressed on the form-Consignment
- the product(s) that is/are selected are displayed and the number of cases/pallets that are STILL available is displayed along with a data entry box that allows the user to enter an amount to use.
- when the user specifies what amount of the selected products they want to use they click next to move on to the delivery data entry page
- once the user has entered the delivery data and clicked save delivered product records based on their selections are created in the FACT-DeliveryProducts table with the new delivery ID.
- when new delivered product records are created the consignment product available amount is reduced. For this part i may need to add original number of pallets and cases and used pallets and cases fields
Thanks in advance