Sunteți pe pagina 1din 4

TABLE NAME : Customer Details.

PRIMARY KEY : CID.

DESCRIPTION : This table is used to maintain the Customer Details.

S.NO FIELD DATA LENGTH CONSTRAINT DESCRIPTION


NAME TYPE
1. CID Text 8 NOTNULL Customer ID
2. Cname Text 50 NOTNULL Customer Name
3. Cmp Text 50 NOTNULL Company Name
4. Add Text 100 NOTNULL Customer address
5. City Text 50 NOTNULL City
6. Phoneno Number 13 NULL Customer contact
number
7. Email Text 50 NULL Customer E-mail ID
8. Rmk Text 100 NOTNULL Remarks

TABLE NAME : Supplier Details.

PRIMARY KEY : SID.

DESCRIPTION : This table is used to maintain the Supplier Details.

S.NO FIELD DATA LENGTH CONSTRAINT DESCRIPTION


NAME TYPE
1. SID Text 8 NOTNULL Supplier Id
2. Sname Text 50 NOTNULL Supplier Name
3. Cname Text 50 NOTNULL Company Name
4. Add Text 100 NOTNULL Supplier address
5. City Text 50 NOTNULL City
6.
Phoneno Number 13 NULL Supplier contact
number
7. Email Text 50 NULL Customer E-mail ID
8. Rmrk Text 50 NOTNULL Remarkss

TABLE NAME : Product Details.

PRIMARY KEY : PID


DESCRIPTION : This table is used to maintain the Product Details.

S.NO FIELD NAME DATA LENGTH CONSTRAINT DESCRIPTION


TYPE
1. PID Text 8 NOTNULL Product ID
2. Category Text 50 NOTNULL Product
Category
3. Pname Text 50 NOTNULL Product Name
4. Pdes Text 50 NOTNULL Product
Description
5. Brand Text 50 NOTNULL Product Brand
6. Stock Number 3 NOTNULL Stock of the
Product
7. PurPrice Number 8 NOTNULL Purchase Price
Of Product
8. RPrice Number 8 NOTNULL Retail Price Of
Product
TABLE NAME : Sales Details.

PRIMARY KEY : SBillno.


DESCRIPTION : This table is used to maintain the Sales Details.

S.NO FIELD DATA LENGTH CONSTRAINT DESCRIPTION


NAME TYPE
1. SBillno Text 8 NOTNULL Billno of the
Sales
2. DOS Date/Time NOTNULL Date of Sale
3. Cname Text 50 NULL Customer Name
4. Saltype Text 20 NOTNULL Sale Type
5. Sno Number 3 NOTNULL Serial No
6. PID Text 8 NOTNULL Product ID
7. Iname Text 50 NOTNULL Product Name
8. UPrice Number 8 NOTNULL Unit Price Of
Product
9. Qty Number 3 NOTNULL Quantity of
Product
10. ITotamt Number 8 NOTNULL Product Total
amount
11. Totamt Number 8 NOTNULL Total sale
amount
12.
Dis Number 8 NOTNULL Discount for sale
13. Netsamt Number 8 NOTNULL Net sale amount

TABLE NAME : Purchase Details.

PRIMARY KEY : Billno.


DESCRIPTION : This table is used to maintain the Purchase Details.
S.NO FIELD DATA LENGTH CONSTRAINT DESCRIPTION
NAME TYPE
1. Billno Text 8 NOTNULL Billno of the
Purchase
2. DOP Date/Time NOTNULL Date of Purchase
3. Sname Text 50 NULL Supplier Name
4. Sno Number 3 NOTNULL Serial No
5.
PID Text 8 NOTNULL Product ID
6. Pname Text 50 NOTNULL Product Name
7. UPrice Number 8 NOTNULL Unit Price Of
Product
8. Qty Number 3 NOTNULL Quantity of Prod
Product uct
9. PTotamt Number 8 NOTNULL Product total
amount
10. Totamt Number 8 NOTNULL Total Purchase
amount
11. Dis Number 8 NOTNULL Discount for
Purchase
12. Netamt Number 8 NOTNULL Net Purchase
amount
13. Mode Text 50 NOTNULL Mode of
Payment

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