Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting Estimates to Final Billing
Message
De
04/05/2003 12:58:00
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00784578
Message ID:
00784688
Vues:
13
I would copy all records from different tables, from the estimate to the final billing. This way, any changes in the final bill won't affect the estimate, and you keep all information.

Since the estimate and the final bill will use very similar structures, you can use the same tables - just add a 1-character field to the main table, to indicate whether the record is for an estimate or for a final bill.

For reference, it is also convenient to have a pointer, in the final bill, to the original estimate.

>Greetings:
>
>In VFP6, I have developed an estimating project that allows users to create an estimate of costs for an order normally containing over a page of entries. In the past the order would be then re-entered into another program for final billing. We have now decided to streamline and use the estimating module for the final billing as well. Since the estimating program is availabe throught our network (10 users) I need to determine how to segragate the final billing records and secure them from changes after a bill is finalized. Also a previous estimate maybe used to begin a new order with a few changes.
>
>Project Overview: multiple DBF relations ie: customers, jobs, code_file, item_cost, job_estimate_recs
>
>Now my question: What would be the best way to protect the records that represent a final billing from inadvertant changes yet also have them available as a template for future orders and for sales reports, etc.
>
>I have thought about copying final billing records to a billings module (dupe of the estimate module) requiring export/import of multiple databases.
>
>Also considered trying to export the final bill report to a ascii file or excel file. Since future price changes would effect order total, derived by relations in the code to price dbf file, it seems I need to save an image of the final billing.
>
>Any thoughts would be appreciated.
>
>Thanks
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform