Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Table of Contents
Sybase PowerDesigner
18/10/2013Page 2 of 82
Facturacion
I Introduction
I.1 Description I.2 Card of model Facturacion
Name Code Comment Author Version Facturacion FACTURACION
PowerDesigner
18/10/2013
Page 3
Facturacion
PowerDesigner
18/10/2013
Page 4
Facturacion
PowerDesigner
18/10/2013
Page 5
Facturacion
Characters (8) 8 Variable characters (100) Characters (50) Variable characters (50) Variable characters (50) Variable characters (50) Variable characters (50) Variable characters (50) Variable characters (50) Boolean Date Date 100 50 50 50 50 50 50 50
Direccion_Cli DIRECCION ente _CLIENTE Direccion_Pr oveedor Email_Cajero Email_Client e Estado_Cajer o Estado_Produ cto Fecha_Factur a FechaCaducid DIRECCION _PROVEED OR EMAIL_CAJ ERO EMAIL_CLI ENTE ESTADO_C AJERO ESTADO_PR ODUCTO FECHA_FAC TURA FECHACAD
PowerDesigner
18/10/2013
Page 6
Facturacion
ad_Producto FechaElabora cion_Product o FechaNacimi ento_Cajero Id_Cajero Id_Cliente Id_Factura Id_Producto Id_Proveedor Id_Rol Id_TipoProdu cto IncluyeIVA_p roducto
UCIDAD_PR ODUCTO FECHAELA BORACION_ PRODUCTO FECHANACI MIENTO_C AJERO ID_CAJERO ID_CLIENTE ID_FACTUR A ID_PRODUC TO ID_PROVEE DOR ID_ROL ID_ROL2
Date Date Integer Integer Long integer Integer Integer Integer Integer Boolean Money (10,4) Characters (50) Characters (50) Variable characters (50) Variable characters (50) Variable characters (50) Long integer Variable characters (50) Money (10,4) Money (10,4) 10 50 50 50 50 50 4
INCLUYEIV A_PRODUC TO IVA_Factura IVA_FACTU RA Nombre_Caje NOMBRE_C ro AJERO Nombre_Clie NOMBRE_C nte LIENTE Nombre_Prod NOMBRE_P ucto RODUCTO Nombre_Prov NOMBRE_P eedor ROVEEDOR Nombre_Tipo _Producto NOMBRE_TI PO_PRODU CTO Numero_Fact NUMERO_F ura ACTURA Password_Caj PASSWORD ero _CAJERO PrecioMayori sta_Producto PRECIOMA YORISTA_P RODUCTO PrecioVP_Pro PRECIOVP_
50 10 10 4 4
PowerDesigner
18/10/2013
Page 7
Facturacion
ducto Sexo_Cajero
PRODUCTO SEXO_CAJE RO Sock_Product SOCK_PRO o DUCTO Subtotal_Fact SUBTOTAL_ ura FACTURA TarifaCero_F TARIFACER actura O_FACTUR A TarifaIVA_Fa TARIFAIVA_ ctura FACTURA Telefono_Caj TELEFONO_ ero CAJERO Telefono_Clie TELEFONO_ nte CLIENTE Telefono_Pro TELEFONO_ veedor PROVEEDO R Total_Factura TOTAL_FAC TURA UserName_C USERNAME ajero _CAJERO
Characters (1) 1 Integer Money (10,4) Money (10,4) Money (10,4) Characters (10) Characters (10) Characters (10) Money (10,4) Variable characters (50) 10 10 10 10 10 10 10 50 4 4 4 4
PowerDesigner
18/10/2013
Page 8
Facturacion
PowerDesigner
18/10/2013
Page 9
Facturacion
Detalle_ Factura
DETAL LE_FA CTURA DIRIGE CAJER O EMITE FACTU RA ENTRE GAPRO DUCTO TIENET IPOPR ODUCT O
DirigeC ajero
EmiteFa ctura
Concept ual Data Model 'Factura cion' Concept ual Data Model 'Factura cion' Concept ual Data Model 'Factura cion' Concept ual Data Model 'Factura cion' Concept ual Data Model 'Factura cion' Concept ual Data Model 'Factura cion' Concept ual Data Model 'Factura cion'
Factura
Cliente
Cajero
Rol
0,n
0,1
Factura
Product o
0,n
0,n
Cajero
Cajero
0,n
0,1
Factura
Cajero
0,n
0,1
Product o
Proveed or
0,n
0,1
Product o
Tipo_Pr oducto
0,n
0,1
PowerDesigner
18/10/2013
Page 10
Facturacion
PowerDesigner
18/10/2013
Page 11
Facturacion
III.2Diagram Diagram_1
PowerDesigner
18/10/2013
Page 12
Facturacion
PowerDesigner
18/10/2013
Page 13
Facturacion
ducto IVA_Factura Nombre_Cajero Nombre_Cliente Nombre_Product o Nombre_Provee dor Nombre_Tipo_P roducto Numero_Factura Password_Cajer o PrecioMayorista _Producto PrecioVP_Produ cto Sexo_Cajero Sock_Producto Subtotal_Factura TarifaCero_Fact ura TarifaIVA_Factu ra Telefono_Cajero Telefono_Client e Telefono_Provee dor Total_Factura UserName_Caje ro
PRODUCTO IVA_FACTURA NOMBRE_CAJ ERO NOMBRE_CLI ENTE NOMBRE_PRO DUCTO NOMBRE_PRO VEEDOR NOMBRE_TIP O_PRODUCTO NUMERO_FAC TURA PASSWORD_C AJERO PRECIOMAYO RISTA_PRODU CTO PRECIOVP_PR ODUCTO SEXO_CAJERO SOCK_PRODU CTO SUBTOTAL_FA CTURA TARIFACERO_ FACTURA TARIFAIVA_FA CTURA TELEFONO_C AJERO TELEFONO_C LIENTE TELEFONO_PR OVEEDOR TOTAL_FACTU RA USERNAME_C AJERO
Money (10,4) Characters (50) Characters (50) Variable characters (50) Variable characters (50) Variable characters (50) Long integer Variable characters (50) Money (10,4) Money (10,4) Characters (1) Integer Money (10,4) Money (10,4) Money (10,4) Characters (10) Characters (10) Characters (10) Money (10,4) Variable characters (50)
10 50 50 50 50 50
50 10 10 1 10 10 10 10 10 10 10 50 4 4 4 4 4 4
PowerDesigner
18/10/2013
Page 14
Facturacion
III.3.1.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.1.3
PowerDesigner
18/10/2013
Page 15
Facturacion
III.3.2.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.2.3
PowerDesigner
18/10/2013
Page 16
Facturacion
III.3.3.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.3.3 III.3.3.4
Server validation rule of the data item Cedula_Cajero List of attributes of the data item Cedula_Cajero
Code CEDULA_CAJERO Class Name Entity Attribute
Name Cedula_Cajero
PowerDesigner
18/10/2013
Page 17
Facturacion
III.3.4.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.4.3 III.3.4.4
Server validation rule of the data item CedulaRuc_Cliente List of attributes of the data item CedulaRuc_Cliente
Code CEDULARUC_CLIENTE Class Name Entity Attribute
Name CedulaRuc_Cliente
PowerDesigner
18/10/2013
Page 18
Facturacion
III.3.5.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.5.3 III.3.5.4
Server validation rule of the data item CedulaRuc_Proveedor List of attributes of the data item CedulaRuc_Proveedor
Code CEDULARUC_PROVEEDOR Class Name Entity Attribute
Name CedulaRuc_Proveedor
PowerDesigner
18/10/2013
Page 19
Facturacion
III.3.6.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.6.3 III.3.6.4
Server validation rule of the data item CodigoBarras_Productos List of attributes of the data item CodigoBarras_Productos
Code CODIGOBARRAS_PRODUC TOS Class Name Entity Attribute
Name CodigoBarras_Productos
PowerDesigner
18/10/2013
Page 20
Facturacion
III.3.7.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.7.3 III.3.7.4
Server validation rule of the data item Descripcion_Factura List of attributes of the data item Descripcion_Factura
Code DESCRIPCION_FACTURA DESCRIPCION_FACTURA Class Name Entity Attribute Entity Attribute
PowerDesigner
18/10/2013
Page 21
Facturacion
III.3.8.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.8.3 III.3.8.4
Server validation rule of the data item Descripcion_TipoProducto List of attributes of the data item Descripcion_TipoProducto
Code DESCRIPCION_TIPOPRODU CTO DESCRIPCION_TIPOPRODU CTO Class Name Entity Attribute Entity Attribute
PowerDesigner
18/10/2013
Page 22
Facturacion
III.3.9.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.9.3 III.3.9.4
Server validation rule of the data item Direccion_Cajero List of attributes of the data item Direccion_Cajero
Code DIRECCION_CAJERO Class Name Entity Attribute
Name Direccion_Cajero
PowerDesigner
18/10/2013
Page 23
Facturacion
III.3.10 III.3.10.1
Name Code Comment Domain Data Type Length Precision
III.3.10.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.10.3 III.3.10.4
Server validation rule of the data item Direccion_Cliente List of attributes of the data item Direccion_Cliente
Code DIRECCION_CLIENTE Class Name Entity Attribute
Name Direccion_Cliente
PowerDesigner
18/10/2013
Page 24
Facturacion
III.3.11 III.3.11.1
Name Code Comment Domain Data Type Length Precision
III.3.11.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.11.3 III.3.11.4
Server validation rule of the data item Direccion_Proveedor List of attributes of the data item Direccion_Proveedor
Code DIRECCION_PROVEEDOR Class Name Entity Attribute
Name Direccion_Proveedor
PowerDesigner
18/10/2013
Page 25
Facturacion
III.3.12 III.3.12.1
Name Code Comment
III.3.12.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.12.3 III.3.12.4
Server validation rule of the data item Email_Cajero List of attributes of the data item Email_Cajero
Code EMAIL_CAJERO Class Name Entity Attribute
Name Email_Cajero
PowerDesigner
18/10/2013
Page 26
Facturacion
III.3.13 III.3.13.1
Name Code Comment
III.3.13.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.13.3 III.3.13.4
Server validation rule of the data item Email_Cliente List of attributes of the data item Email_Cliente
Code EMAIL_CLIENTE Class Name Entity Attribute
Name Email_Cliente
PowerDesigner
18/10/2013
Page 27
Facturacion
III.3.14 III.3.14.1
Name Code Comment
III.3.14.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.14.3 III.3.14.4
Server validation rule of the data item Estado_Cajero List of attributes of the data item Estado_Cajero
Code ESTADO_CAJERO Class Name Entity Attribute
Name Estado_Cajero
PowerDesigner
18/10/2013
Page 28
Facturacion
III.3.15 III.3.15.1
Name Code Comment
III.3.15.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.15.3 III.3.15.4
Server validation rule of the data item Estado_Producto List of attributes of the data item Estado_Producto
Code ESTADO_PRODUCTO Class Name Entity Attribute
Name Estado_Producto
PowerDesigner
18/10/2013
Page 29
Facturacion
III.3.16 III.3.16.1
Name Code Comment
III.3.16.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.16.3 III.3.16.4
Server validation rule of the data item Fecha_Factura List of attributes of the data item Fecha_Factura
Code FECHA_FACTURA Class Name Entity Attribute
Name Fecha_Factura
PowerDesigner
18/10/2013
Page 30
Facturacion
III.3.17 III.3.17.1
Name Code Comment
III.3.17.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.17.3 III.3.17.4
Server validation rule of the data item FechaCaducidad_Producto List of attributes of the data item FechaCaducidad_Producto
Code FECHACADUCIDAD_PROD UCTO Class Name Entity Attribute
Name FechaCaducidad_Producto
PowerDesigner
18/10/2013
Page 31
Facturacion
III.3.18 III.3.18.1
Name Code Comment
III.3.18.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.18.3 III.3.18.4
Server validation rule of the data item FechaElaboracion_Producto List of attributes of the data item FechaElaboracion_Producto
Code FECHAELABORACION_PR ODUCTO Class Name Entity Attribute
Name FechaElaboracion_Producto
PowerDesigner
18/10/2013
Page 32
Facturacion
III.3.19 III.3.19.1
Name Code Comment
III.3.19.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.19.3 III.3.19.4
Server validation rule of the data item FechaNacimiento_Cajero List of attributes of the data item FechaNacimiento_Cajero
Code FECHANACIMIENTO_CAJE RO Class Name Entity Attribute
Name FechaNacimiento_Cajero
PowerDesigner
18/10/2013
Page 33
Facturacion
III.3.20 III.3.20.1
Name Code Comment Domain Data Type Length Precision
III.3.20.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.20.3 III.3.20.4
Id_Cajero
Server validation rule of the data item Id_Cajero List of attributes of the data item Id_Cajero
Name ID_CAJERO Code Class Name Entity Attribute
PowerDesigner
18/10/2013
Page 34
Facturacion
III.3.21 III.3.21.1
Name Code Comment Domain Data Type Length Precision
III.3.21.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.21.3 III.3.21.4
Id_Cliente
Server validation rule of the data item Id_Cliente List of attributes of the data item Id_Cliente
Name Code ID_CLIENTE Class Name Entity Attribute
PowerDesigner
18/10/2013
Page 35
Facturacion
III.3.22 III.3.22.1
Name Code Comment Domain Data Type Length Precision
III.3.22.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.22.3 III.3.22.4
Id_Factura
Server validation rule of the data item Id_Factura List of attributes of the data item Id_Factura
Name Code ID_FACTURA Class Name Entity Attribute
PowerDesigner
18/10/2013
Page 36
Facturacion
III.3.23 III.3.23.1
Name Code Comment
III.3.23.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.23.3 III.3.23.4
Id_Producto
Server validation rule of the data item Id_Producto List of attributes of the data item Id_Producto
Name Code ID_PRODUCTO Class Name Entity Attribute
PowerDesigner
18/10/2013
Page 37
Facturacion
III.3.24 III.3.24.1
Name Code Comment Domain Data Type Length Precision
III.3.24.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.24.3 III.3.24.4
Server validation rule of the data item Id_Proveedor List of attributes of the data item Id_Proveedor
Code ID_PROVEEDOR Class Name Entity Attribute
Name Id_Proveedor
PowerDesigner
18/10/2013
Page 38
Facturacion
III.3.25 III.3.25.1
Name Code Comment Domain Data Type Length Precision
III.3.25.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.25.3 III.3.25.4
Id_Rol
Server validation rule of the data item Id_Rol List of attributes of the data item Id_Rol
Name ID_ROL Code Class Name Entity Attribute
PowerDesigner
18/10/2013
Page 39
Facturacion
III.3.26 III.3.26.1
Name Code Comment Domain Data Type Length Precision
III.3.26.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.26.3 III.3.26.4
Server validation rule of the data item Id_TipoProducto List of attributes of the data item Id_TipoProducto
Code ID_ROL2 Class Name Entity Attribute
Name Id_TipoProducto
PowerDesigner
18/10/2013
Page 40
Facturacion
III.3.27 III.3.27.1
Name Code Comment
III.3.27.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.27.3 III.3.27.4
Server validation rule of the data item IncluyeIVA_producto List of attributes of the data item IncluyeIVA_producto
Code INCLUYEIVA_PRODUCTO Class Name Entity Attribute
Name IncluyeIVA_producto
PowerDesigner
18/10/2013
Page 41
Facturacion
III.3.28 III.3.28.1
Name Code Comment
III.3.28.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.28.3 III.3.28.4
IVA_Factura
Server validation rule of the data item IVA_Factura List of attributes of the data item IVA_Factura
Name Code IVA_FACTURA Class Name Entity Attribute
PowerDesigner
18/10/2013
Page 42
Facturacion
III.3.29 III.3.29.1
Name Code Comment Domain Data Type Length Precision
III.3.29.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.29.3 III.3.29.4
Server validation rule of the data item Nombre_Cajero List of attributes of the data item Nombre_Cajero
Code NOMBRE_CAJERO Class Name Entity Attribute
Name Nombre_Cajero
PowerDesigner
18/10/2013
Page 43
Facturacion
III.3.30 III.3.30.1
Name Code Comment Domain Data Type Length Precision
III.3.30.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.30.3 III.3.30.4
Server validation rule of the data item Nombre_Cliente List of attributes of the data item Nombre_Cliente
Code NOMBRE_CLIENTE Class Name Entity Attribute
Name Nombre_Cliente
PowerDesigner
18/10/2013
Page 44
Facturacion
III.3.31 III.3.31.1
Name Code Comment
III.3.31.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.31.3 III.3.31.4
Server validation rule of the data item Nombre_Producto List of attributes of the data item Nombre_Producto
Code NOMBRE_PRODUCTO Class Name Entity Attribute
Name Nombre_Producto
PowerDesigner
18/10/2013
Page 45
Facturacion
III.3.32 III.3.32.1
Name Code Comment Domain Data Type Length Precision
III.3.32.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.32.3 III.3.32.4
Server validation rule of the data item Nombre_Proveedor List of attributes of the data item Nombre_Proveedor
Code NOMBRE_PROVEEDOR Class Name Entity Attribute
Name Nombre_Proveedor
PowerDesigner
18/10/2013
Page 46
Facturacion
III.3.33 III.3.33.1
Name Code Comment
III.3.33.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.33.3 III.3.33.4
Server validation rule of the data item Nombre_Tipo_Producto List of attributes of the data item Nombre_Tipo_Producto
Code NOMBRE_TIPO_PRODUCT O NOMBRE_TIPO_PRODUCT O Class Name Entity Attribute Entity Attribute
PowerDesigner
18/10/2013
Page 47
Facturacion
III.3.34 III.3.34.1
Name Code Comment
III.3.34.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.34.3 III.3.34.4
Server validation rule of the data item Numero_Factura List of attributes of the data item Numero_Factura
Code NUMERO_FACTURA Class Name Entity Attribute
Name Numero_Factura
PowerDesigner
18/10/2013
Page 48
Facturacion
III.3.35 III.3.35.1
Name Code Comment
III.3.35.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.35.3 III.3.35.4
Server validation rule of the data item Password_Cajero List of attributes of the data item Password_Cajero
Code PASSWORD_CAJERO Class Name Entity Attribute
Name Password_Cajero
PowerDesigner
18/10/2013
Page 49
Facturacion
III.3.36 III.3.36.1
Name Code Comment
III.3.36.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.36.3 III.3.36.4
Server validation rule of the data item PrecioMayorista_Producto List of attributes of the data item PrecioMayorista_Producto
Code PRECIOMAYORISTA_PROD UCTO Class Name Entity Attribute
Name PrecioMayorista_Producto
PowerDesigner
18/10/2013
Page 50
Facturacion
III.3.37 III.3.37.1
Name Code Comment
III.3.37.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.37.3 III.3.37.4
Server validation rule of the data item PrecioVP_Producto List of attributes of the data item PrecioVP_Producto
Code PRECIOVP_PRODUCTO Class Name Entity Attribute
Name PrecioVP_Producto
PowerDesigner
18/10/2013
Page 51
Facturacion
III.3.38 III.3.38.1
Name Code Comment
III.3.38.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.38.3 III.3.38.4
Sexo_Cajero
Server validation rule of the data item Sexo_Cajero List of attributes of the data item Sexo_Cajero
Name Code SEXO_CAJERO Class Name Entity Attribute
PowerDesigner
18/10/2013
Page 52
Facturacion
III.3.39 III.3.39.1
Name Code Comment Domain Data Type Length Precision
III.3.39.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.39.3 III.3.39.4
Server validation rule of the data item Sock_Producto List of attributes of the data item Sock_Producto
Code SOCK_PRODUCTO Class Name Entity Attribute
Name Sock_Producto
PowerDesigner
18/10/2013
Page 53
Facturacion
III.3.40 III.3.40.1
Name Code Comment
III.3.40.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.40.3 III.3.40.4
Server validation rule of the data item Subtotal_Factura List of attributes of the data item Subtotal_Factura
Code SUBTOTAL_FACTURA Class Name Entity Attribute
Name Subtotal_Factura
PowerDesigner
18/10/2013
Page 54
Facturacion
III.3.41 III.3.41.1
Name Code Comment
III.3.41.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.41.3 III.3.41.4
Server validation rule of the data item TarifaCero_Factura List of attributes of the data item TarifaCero_Factura
Code TARIFACERO_FACTURA Class Name Entity Attribute
Name TarifaCero_Factura
PowerDesigner
18/10/2013
Page 55
Facturacion
III.3.42 III.3.42.1
Name Code Comment
III.3.42.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.42.3 III.3.42.4
Server validation rule of the data item TarifaIVA_Factura List of attributes of the data item TarifaIVA_Factura
Code TARIFAIVA_FACTURA Class Name Entity Attribute
Name TarifaIVA_Factura
PowerDesigner
18/10/2013
Page 56
Facturacion
III.3.43 III.3.43.1
Name Code Comment Domain Data Type Length Precision
III.3.43.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.43.3 III.3.43.4
Server validation rule of the data item Telefono_Cajero List of attributes of the data item Telefono_Cajero
Code TELEFONO_CAJERO Class Name Entity Attribute
Name Telefono_Cajero
PowerDesigner
18/10/2013
Page 57
Facturacion
III.3.44 III.3.44.1
Name Code Comment Domain Data Type Length Precision
III.3.44.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.44.3 III.3.44.4
Server validation rule of the data item Telefono_Cliente List of attributes of the data item Telefono_Cliente
Code TELEFONO_CLIENTE Class Name Entity Attribute
Name Telefono_Cliente
PowerDesigner
18/10/2013
Page 58
Facturacion
III.3.45 III.3.45.1
Name Code Comment
III.3.45.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.45.3 III.3.45.4
Server validation rule of the data item Telefono_Proveedor List of attributes of the data item Telefono_Proveedor
Code TELEFONO_PROVEEDOR Class Name Entity Attribute
Name Telefono_Proveedor
PowerDesigner
18/10/2013
Page 59
Facturacion
III.3.46 III.3.46.1
Name Code Comment
III.3.46.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.46.3 III.3.46.4
Server validation rule of the data item Total_Factura List of attributes of the data item Total_Factura
Code TOTAL_FACTURA Class Name Entity Attribute
Name Total_Factura
PowerDesigner
18/10/2013
Page 60
Facturacion
III.3.47 III.3.47.1
Name Code Comment
III.3.47.2
Minimum Value Maximum Value Default Value Unit Format Case Cannot Modify No Space List Of Values Complete
III.3.47.3 III.3.47.4
Server validation rule of the data item UserName_Cajero List of attributes of the data item UserName_Cajero
Code USERNAME_CAJERO Class Name Entity Attribute
Name UserName_Cajero
PowerDesigner
18/10/2013
Page 61
Facturacion
III.4List of entities
Name Cajero Cliente Factura Producto Proveedor Rol Tipo_Producto CAJERO CLIENTE FACTURA PRODUCTO PROVEEDOR ROL TIPO_PRODUCTO Code Parent Conceptual Data Model 'Facturacion' Conceptual Data Model 'Facturacion' Conceptual Data Model 'Facturacion' Conceptual Data Model 'Facturacion' Conceptual Data Model 'Facturacion' Conceptual Data Model 'Facturacion' Conceptual Data Model 'Facturacion' Generate X X X X X X X Number
PowerDesigner
18/10/2013
Page 62
Facturacion
Generate Number
III.4.1.2
Name
III.4.1.3
Diagram_1
III.4.1.4
PowerDesigner
18/10/2013
Page 63
Facturacion
Variable characters (50) Variable characters (50) Variable characters (50) Variable characters (50)
X X X X
III.4.1.5
Identifier_1
PowerDesigner
18/10/2013
Page 64
Facturacion
III.4.2.2
Name
Adquiere Factura
Factura
Cliente
III.4.2.3
Diagram_1
III.4.2.4
III.4.2.5
Identifier_1
PowerDesigner
18/10/2013
Page 65
Facturacion
III.4.3.2
Name
X X X
III.4.3.3
Diagram_1
III.4.3.4
PowerDesigner
18/10/2013
Page 66
Facturacion
X X X
III.4.3.5
Identifier_1
PowerDesigner
18/10/2013
Page 67
Facturacion
III.4.4.2
Name
X X X
III.4.4.3
Diagram_1
III.4.4.4
PowerDesigner
18/10/2013
Page 68
Facturacion
X X X X X X
III.4.4.5
Identifier_1
PowerDesigner
18/10/2013
Page 69
Facturacion
III.4.5.2
Name
EntregaPr oducto
Producto
Proveedor
III.4.5.3
Diagram_1
III.4.5.4
III.4.5.5
PowerDesigner
18/10/2013
Page 70
Facturacion
Identifier_1
IDENTIFIER_1
Entity 'Proveedor'
PowerDesigner
18/10/2013
Page 71
Facturacion
III.4.6.2
Name
AsumeRo l
ASUMER X OL
Cajero
Rol
III.4.6.3
Diagram_1
III.4.6.4
III.4.6.5
Identifier_1
PowerDesigner
18/10/2013
Page 72
Facturacion
III.4.7.2
Name
TieneTipo Producto
Producto
Tipo_Prod ucto
III.4.7.3
Diagram_1
III.4.7.4
III.4.7.5
Identifier_1
PowerDesigner
18/10/2013
Page 73
Facturacion
III.5List of relationships
Name Code Parent Generate Entity 2 Entity 1 Dependen t Role Entity 1 -> Entity 2 Role Cardinali ty 0,n Entity 2 -> Entity 1 Role Cardinalit y 0,1
Adquiere Factura
AsumeRo l
Detalle_F actura
DirigeCaj ero
EmiteFact ura
EMITEF ACTURA
EntregaPr oducto
TieneTipo Producto
Conceptu al Data Model 'Facturaci on' Conceptu al Data Model 'Facturaci on' Conceptu al Data Model 'Facturaci on' Conceptu al Data Model 'Facturaci on' Conceptu al Data Model 'Facturaci on' Conceptu al Data Model 'Facturaci on' Conceptu al Data Model 'Facturaci on'
Factura
Cliente
Cajero
Rol
0,n
0,1
Factura
Producto
0,n
0,n
Cajero
Cajero
0,n
0,1
Factura
Cajero
0,n
0,1
Producto
Proveedor
0,n
0,1
Producto
Tipo_Pro ducto
0,n
0,1
PowerDesigner
18/10/2013
Page 74
Facturacion
III.5.1.2
Diagram_1
PowerDesigner
18/10/2013
Page 75
Facturacion
III.5.2.2
Diagram_1
PowerDesigner
18/10/2013
Page 76
Facturacion
Generate Entity 1 Entity 2 Dependent Role Entity 1 -> Entity 2 Role Cardinality Entity 2 -> Entity 1 Role Cardinality Assertion
III.5.3.2
Diagram_1
PowerDesigner
18/10/2013
Page 77
Facturacion
III.5.4.2
Diagram_1
PowerDesigner
18/10/2013
Page 78
Facturacion
III.5.5.2
Diagram_1
PowerDesigner
18/10/2013
Page 79
Facturacion
III.5.6.2
Diagram_1
PowerDesigner
18/10/2013
Page 80
Facturacion
III.5.7.2
Diagram_1
PowerDesigner
18/10/2013
Page 81
Facturacion
PowerDesigner
18/10/2013
Page 82