Está en la página 1de 2

El presente documento es un vocabulario de la base de datos correspondiente

al software [empresa]. A continuacin se muestra los campos a utilizar la cual


podr dar de alta, modificar y consulta clientes, proveedores y productos.
Para el desarrollo de la base de datos se utilizo SQL server 2008.tomando en
cuenta los requerimientos de la empresa

Campo

Tamao

Null

ID_Cliente

Tipo
Dato
Smalint

10

Not
null

Nombre

String

20

Apellido_Pater
no
Apellido_Mate
rno
E-mail

String

12

String

12

String

25

Direccion

String

25

RFC

String

10

Telefono

Int

10

ID_Proveedore
s

String

Not
null
Not
null
Not
null
Not
null
Not
null
Not
null
Not
null
Not
null

Nombre

String

20

Direccion

String

25

Telefono

Int

10

Cuenta

Int

10

Banco

Int

10

RFC

String

10

Almacen

String

E-mail

String

25

Not
null
Not
null
Not
null
Not
null
Not
null
Not
null
Not
null
Not

Tipo
Clave

Descripci
on
Numero
dado por
la
empresa
para el
cliente

Referen
cia
PK

Asignado
por la
empresa

PK

FK

null
Not
null
Not
null

ID_Facturas

Int

ID_Clientes

Int

10

ID_Producto

Int

RFC

String

10

Direccion

String

25

FechaAlta

ID_Producto

Dateti
me
Dateti
me
Dateti
me
Int

Nombre

String

10

PrecioUnitario

Decima
l

15

Precio

Decima
l

15

Not
null

Total

Decima
l
Decima
l
Decima
l
Int

15

Not
null
Not
null
Not
null
Not
null

FechaBaja
FechaCambio

TotalIva
IVA
Cantidad

6
6
6

15
15
15

Not
null
Not
null
Not
null
Not
null
Not
null
Not
null
Not
null
Not
null
Not
null

PK
ID_Cliente
s tabla de
clientes
Tabla de
productos
tabla de
clientes
tabla de
clientes

FK
FK
FK
FK

PK

También podría gustarte