We are having a problem that requires an innovative solution.<br>
<br>
Using Visual Accountmate we are writing system for a carpet distributor.<br>
<br>
The basic structure is...<br>
<br>
The ITEM FILE has the name of a style and color of carpet<br>
i.e. - Atlantic-0001 (this is a unique item)<br>
<br>
For each Item there are an unlimited number of ROLLS OF CARPET FILE<br>
i.e. Roll # 0001, 0002 etc.<br>
<br>
For each ROLL there are an unlimited number of TRANSACTIONS PER ROLL FILE.<br>
For example, if Roll 0001 has 100 feet of carpet on it<br>
20 feet could be committed for sale to Company A<br>
50 feet were sold to Company B<br>
10 feet are on a sales quote for Company C<br>
5 feet were discarded as damaged<br>
leaving 15 feet on the roll<br>
<br>
When the end user wants to assign X feet to a sales order he or she sees both the summary and detail status of all the rolls under this item.<br>
<br>
The problem is in showing REAL TIME status. We would prefer NOT to update the real databases constantly because if the user assigns 10 feet from roll 1 to an order...and then changes his mind, we need to re update 6 permanent databases.<br>
<br>
So, what we have been doing is building a temporary file, based on the current status. We then have been updating, when the whole order is saved.<br>
<br>
The problem with this approach is two fold...<br>
If I assign 10 feet to roll 0001 ... then create a new line item for the same Item # (same carpet style)...we are not seeing the real status of the roll, since we do not update the permanent file until the order is saved.<br>
<br>
If another user sells the same item, he is not seeing the real time status...and may accidentally over sell the roll.<br>
<br>
What we need is a way to show the real status of each roll, but hold the permanent update until we save the order. My initial thought was to add a field to the roll transaction file. This field would be filled with something like "username". This record would be included in the<br>
roll status update...because it is a real record in the roll transaction database. When the order is saved, the records for this roll, with this username in the new field would be deleted, and the update would proceed normally.<br>
<br>
However, I am open to suggestion on a better method.<br>
<br>
Glenn
<br>
Using Visual Accountmate we are writing system for a carpet distributor.<br>
<br>
The basic structure is...<br>
<br>
The ITEM FILE has the name of a style and color of carpet<br>
i.e. - Atlantic-0001 (this is a unique item)<br>
<br>
For each Item there are an unlimited number of ROLLS OF CARPET FILE<br>
i.e. Roll # 0001, 0002 etc.<br>
<br>
For each ROLL there are an unlimited number of TRANSACTIONS PER ROLL FILE.<br>
For example, if Roll 0001 has 100 feet of carpet on it<br>
20 feet could be committed for sale to Company A<br>
50 feet were sold to Company B<br>
10 feet are on a sales quote for Company C<br>
5 feet were discarded as damaged<br>
leaving 15 feet on the roll<br>
<br>
When the end user wants to assign X feet to a sales order he or she sees both the summary and detail status of all the rolls under this item.<br>
<br>
The problem is in showing REAL TIME status. We would prefer NOT to update the real databases constantly because if the user assigns 10 feet from roll 1 to an order...and then changes his mind, we need to re update 6 permanent databases.<br>
<br>
So, what we have been doing is building a temporary file, based on the current status. We then have been updating, when the whole order is saved.<br>
<br>
The problem with this approach is two fold...<br>
If I assign 10 feet to roll 0001 ... then create a new line item for the same Item # (same carpet style)...we are not seeing the real status of the roll, since we do not update the permanent file until the order is saved.<br>
<br>
If another user sells the same item, he is not seeing the real time status...and may accidentally over sell the roll.<br>
<br>
What we need is a way to show the real status of each roll, but hold the permanent update until we save the order. My initial thought was to add a field to the roll transaction file. This field would be filled with something like "username". This record would be included in the<br>
roll status update...because it is a real record in the roll transaction database. When the order is saved, the records for this roll, with this username in the new field would be deleted, and the update would proceed normally.<br>
<br>
However, I am open to suggestion on a better method.<br>
<br>
Glenn