Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Partial Shipment Check Qty left!
Message
De
11/12/1999 01:11:30
 
 
À
10/12/1999 23:03:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00302169
Message ID:
00302184
Vues:
24
>For Stardard situation,
>
>
>Orders   (Order_ID, ....)
>    |
>   /|\
>OrdItems (Order_ID, ITEM, QTY, ....)
>    |
>   /|\
>Shipment (SHIP_NO, Order_ID, ITEM, SHIPQTY, ....)
>
>
>

>
>Serval Shipment to Finish this Orders!
>
>How to Calculate the Left QTY (Not send to Shipment for the Orders)?

In systems that I design for this, the OrderItem line has a primary key of its own. There's a Shipment header that ties to the customer but not to an order (a shipment may contain items from several orders), with Ship lines tied to the parent Shipment and the OrderItem that it shipped against (you may have the same item occur multiple times on the same order, or occur multiple times in a shipment from several different orders.)
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform