Sunteți pe pagina 1din 2

Tabela Denumire atribut Tipul Lungime

OFERTE Cod ofertă Text 4


Data ofertă Date/Time Short Date
Nr. ofertă Number Long Integer
Dată expirare ofertă Date/ Time Short Date
Cod client Text 4
CLIENȚI Cod client Text 4
Nume client Text 20
Adresa Text 25
Cod fiscal Text 10
Sold client Number Long Integer
Cod contract Number Long Integer
COMENZI Cod comandă Text 4
Nr. comandă Number Long Integer
Dată comandă Date/ Time Short Date
Tip comandă Text 10
Cod client Text 4
FACTURI Cod factură Text 4
Nr. factură Number Long Integer
Dată factură Date/ Time Short Date
Cod client Text 4
CONTRACTE Cod contract Text 4
Nr. contract Number Long Integer
Dată contract Date/ Time Short Date
SERVICII Cod lucrare Text 10
Tip lucrare Text 20
Denumire lucrare Text 20
Cod gestiune Text 4
PRODUSE Cod produse Text 10
Denumire produse Text 20
Cantitate Number Long Integer
Preț Number Long Integer
UM Text 3
Cod gestiune Text 4
GESTIUNI Cod gestiune Text 4
Denumire gestiune Text 25
Subcod Text 4
LINII FACTURI Cod factură Text 4
SERVICII Cod lucrare Text 10
LINII FACTURI Cod factură Text 4
PRODUSE Cod produse Text 10
LINII SERVICII ȘI Cod comandă Text 4
COMANDĂ Cod lucrare Text 10
LINII PRODUSE Cod comandă Text 4
ȘI COMANDĂ Cod produse Text 10

Restricţii:
- numele clientului trebuie să înceapă cu majusculă;
- denumirea gestiunii trebuie să înceapă cu majusculă;
- cantitatea, din tabela Produse, trebuie să fie mai mare ca zero;
- prețul, din tabela Produse, trebuie să fie mai mare sau egal cu zero;
- dată contract, din tabela Contracte, trebuie să fie anterioară datei curente.

S-ar putea să vă placă și