0% found this document useful (0 votes)
27 views

Raw Material Table Name Type Length Description

The document describes several database tables used to track information for a casket production process. The tables include raw materials, suppliers, casket types, production processes, finished casket products, and process information. Each table contains fields for an ID, names, descriptions and other relevant details. The tables appear to be related through foreign key fields to track items as they progress through the production workflow.

Uploaded by

PICTO Admin
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

Raw Material Table Name Type Length Description

The document describes several database tables used to track information for a casket production process. The tables include raw materials, suppliers, casket types, production processes, finished casket products, and process information. Each table contains fields for an ID, names, descriptions and other relevant details. The tables appear to be related through foreign key fields to track items as they progress through the production workflow.

Uploaded by

PICTO Admin
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

RAW MATERIAL TABLE

NAME TYPE LENGTH DESCRIPTION


ID Int(auto) 11 Primary Key
NAME Varchar 255
DESCRIPTION Varchar 255
SUPPLIER_ID Int 11 Foreign key (SUPPLIER TABLE)
SUPPLIER_PRICE Decimal 20, 2
QUANTITY Int 11

SUPPLIER TABLE
NAME TYPE LENGTH DESCRIPTION
ID Int(auto) 11 Primary Key
NAME Varchar 255
ADDRESS Varchar 255 nullable
PHONE NUMBER Varchar 20 Nullable
EMAIL ADDRESS Varchar 50 nullable

CASKET TYPE
NAME TYPE LENGTH DESCRIPTION
ID Int(auto) 11 Primary Key
NAME Varchar 255
DESCRIPTION Varchar 255

PRODUCTION PROCESS TABLE


NAME TYPE LENGTH DESCRIPTION
ID Int(auto) 11 Primary Key
NAME Varchar 255
DESCRIPTION Varchar 255

CASKET FINISH PRODUCT


NAME TYPE LENGTH DESCRIPTION
ID Int(auto) 11 Primary Key
CASKET_TYPE_ID Int 11 Foreign key (CASKET TYPE)
CASKET_KEY Varchar 20 Random KEY
INVENTORY_LOCATION Varchar 10
STATUS BOOLEAN 1
SALE PRICE Decimal 20, 2
PRODUCTION PRICE Decimal 20, 2
PRODUCTION_DATE Datetime
FINISHED_DATE Datetime
PROCESS INFORMATION
NAME TYPE LENGTH DESCRIPTION
ID Int(auto) 11 Primary Key
CASKET_ID Int 11 Foreign key (CASKET FINISH
PRODUCT)
PRODUCTION_PROCESS_ID Int 11 Foreign key (PRODUCTION
PROCESS)
RAW_MATERIAL_ID Int 11 Foreign key (RAW MATERIAL)
QUANTITY Int 11
SUPPLIER PRICE Decimal 20, 2
LABOR_FORCE_ID Int 11 Foreign key (LABOR FORCE)
STATUS Bool 1

You might also like