Hi All,
I have a form which contains the Order Header and a subform which is a continuous form and contains the Order Detail. This is working fine to allow users to enter orders onto the system. I've also got a "Complete" button which allows the user to complete an order, i.e. this closes off the order and runs a append query to update/downdate stock depending upon the type of order they are raising. My problem is that from time to time we have to be able to accept a "Part Order". This is where we take partial delivery of an order so the complete button will not do what we need it to do as it only allows the user to complete the whole order at once. What I would like to do is to allow the user to enter the qty for each line that is on a particular delivery and then to allow them to press a button to accept this delivery, in doing so this would then call up the append queries but with the partial qtys instead of the full order qtys and depending upon whether the qtys result in the whole order being completed or not would change the job status to reflect this. What I am struggling with is how to allow the user to enter these qtys without automatically updating the table linked to the form as I don't want the underlying table to be updated with these values until the user has pressed the button to accept part-delivery. If the part-delivery turns out to be all we will be receiving I want to be able to "downdate" the order qty to reflect what has already been delivered (we are dealing with an extruder so depending on what they can get out of a billet of material this is a common issue). I also want to be able to go the other way and if we are over delivered (for the same reason as above) that I can automatically update the order qty this way as well.
So far I believe I need an additional column for my order Lines table to show "DeliveredToDate" so that I have a record of the status of the order and if it is a partially completed or a fully completed order.
Please could you provide me with some pointers about how I should approach this problem? If you need any further information please do not hesitate to ask!
Best regards,
Dan
I have a form which contains the Order Header and a subform which is a continuous form and contains the Order Detail. This is working fine to allow users to enter orders onto the system. I've also got a "Complete" button which allows the user to complete an order, i.e. this closes off the order and runs a append query to update/downdate stock depending upon the type of order they are raising. My problem is that from time to time we have to be able to accept a "Part Order". This is where we take partial delivery of an order so the complete button will not do what we need it to do as it only allows the user to complete the whole order at once. What I would like to do is to allow the user to enter the qty for each line that is on a particular delivery and then to allow them to press a button to accept this delivery, in doing so this would then call up the append queries but with the partial qtys instead of the full order qtys and depending upon whether the qtys result in the whole order being completed or not would change the job status to reflect this. What I am struggling with is how to allow the user to enter these qtys without automatically updating the table linked to the form as I don't want the underlying table to be updated with these values until the user has pressed the button to accept part-delivery. If the part-delivery turns out to be all we will be receiving I want to be able to "downdate" the order qty to reflect what has already been delivered (we are dealing with an extruder so depending on what they can get out of a billet of material this is a common issue). I also want to be able to go the other way and if we are over delivered (for the same reason as above) that I can automatically update the order qty this way as well.
So far I believe I need an additional column for my order Lines table to show "DeliveredToDate" so that I have a record of the status of the order and if it is a partially completed or a fully completed order.
Please could you provide me with some pointers about how I should approach this problem? If you need any further information please do not hesitate to ask!
Best regards,
Dan