DbWrench Documentation: MRE |
Home | | | Tables | | | Schemas | | | Diagrams | | | Foreign Keys | | | Indexes |
ordvta | (Table) |
Columns | |||||||
PK | Name | Data Type | NULLs | A/N | Default | Comment | FK |
| ordvtID | Integer |
| ID-Orden.venta (ord.compra de clientes) | |||
numero | VarChar(20) |
| Numero de Orden de compra del cliente | ||||
clienID | Integer | codcli.ID |
|
||||
fecha | Date |
| 2007-06-01 | fecha de regsitro | |||
requerida | Date |
| 2007-06-01 | fecha requerida para entrega producto | |||
comprador | Integer | ID-dependiente del cliente | |||||
descripcion | Text |
| Descripcion esta orden | ||||
instrucciones | Text |
| Instrucciones | ||||
obs | Text |
| Observaciones o anotaciones | ||||
ordvtIR | Integer | ID-ordvta (relacionada o hija de otra orden) |
|
||||
vendeID | Integer | ID-vendedor |
|
||||
notasID | Integer |
| nota.ID |
|
Indexes (none) |
Foreign Keys | ||||
Name | Parent Table | Child Table | Parent Columns | Child Columns |
fk_ordvta_clientes | clientes.clientes | ventas.ordvta | clienID | clienID |
fk_ordvta_notas | info.notas | ventas.ordvta | notasID | notasID |
fk_ordvta_ordvta | ventas.ordvta | ventas.ordvta | ordvtID | ordvtIR |
fk_ordvta_vendedores | ventas.vendedores | ventas.ordvta | vendeID | vendeID |
Parent Relations | ||||
Name | Parent Table | Child Table | Parent Columns | Child Columns |
fk_progprod_ordvta | ventas.ordvta | produccion.progprod | ordvtID | ordvtID |
fk_ordvtad_ordvta | ventas.ordvta | ventas.dtovta | ordvtID | ordvtID |
fk_facturas_ordvta | ventas.ordvta | ventas.facturas | ordvtID | ordvtID |
fk_ordvta_ordvta | ventas.ordvta | ventas.ordvta | ordvtID | ordvtIR |
Triggers (none) |
Used in Diagrams |
Diagram Name |
MRP |
Ventas |