|
id
|
int(11)
|
|
|
|
|
rejection_number
|
varchar(32)
|
|
|
|
|
rejection_source
|
enum
|
-- |
|
In-Process Production
|
|
rejection_stage
|
varchar(100)
|
|
|
In-Process
|
|
rejection_date
|
date
|
|
|
|
|
department_id
|
int(11)
|
|
|
|
|
product_id
|
int(11)
|
|
|
Browse foreign values
|
|
machine_id
|
int(11)
|
|
|
Browse foreign values
|
|
defect_type_id
|
int(11)
|
|
|
Browse foreign values
|
|
supplier_id
|
int(11)
|
|
|
|
|
customer_id
|
int(11)
|
|
|
|
|
material_id
|
int(11)
|
|
|
|
|
process_id
|
int(11)
|
|
|
|
|
work_order
|
varchar(100)
|
|
|
|
|
invoice_number
|
varchar(100)
|
|
|
|
|
severity
|
enum
|
-- |
|
Major
|
|
detection_stage
|
varchar(100)
|
|
|
|
|
shift
|
enum
|
-- |
|
General
|
|
unit_of_measure
|
varchar(20)
|
|
|
PCS
|
|
total_received_qty
|
decimal(12,2)
|
|
|
0.00
|
|
inspected_qty
|
decimal(12,2)
|
|
|
0.00
|
|
accepted_qty
|
decimal(12,2)
|
|
|
0.00
|
|
production_qty
|
int(11)
|
|
|
0
|
|
rejected_qty
|
int(11)
|
|
|
0
|
|
rework_qty
|
decimal(12,2)
|
|
|
0.00
|
|
scrap_qty
|
decimal(12,2)
|
|
|
0.00
|
|
sorting_qty
|
decimal(12,2)
|
|
|
0.00
|
|
pending_qty
|
decimal(12,2)
|
|
|
0.00
|
|
rejection_rate
|
decimal(6,2)
|
|
|
0.00
|
|
acceptance_rate
|
decimal(6,2)
|
|
|
0.00
|
|
disposition
|
enum
|
-- |
|
Scrap
|
|
disposition_notes
|
text
|
|
|
|
|
disposition_approved_by
|
int(11)
|
|
|
|
|
disposition_approved_at
|
datetime
|
|
|
|
|
scrap_cost
|
decimal(12,2)
|
|
|
0.00
|
|
root_cause_summary
|
text
|
|
|
|
|
containment_action
|
text
|
|
|
|
|
corrective_action
|
text
|
|
|
|
|
preventive_action
|
text
|
|
|
|
|
is_capa_required
|
tinyint(1)
|
|
|
0
|
|
capa_id
|
int(11)
|
|
|
|
|
ncr_id
|
int(11)
|
|
|
|
|
responsible_department_id
|
int(11)
|
|
|
|
|
responsible_employee
|
varchar(100)
|
|
|
|
|
target_date
|
date
|
|
|
|
|
status
|
enum
|
-- |
|
Open
|
|
material_unit_cost
|
decimal(12,2)
|
|
|
0.00
|
|
manufacturing_unit_cost
|
decimal(12,2)
|
|
|
0.00
|
|
material_loss_cost
|
decimal(12,2)
|
|
|
0.00
|
|
mfg_loss_cost
|
decimal(12,2)
|
|
|
0.00
|
|
rework_cost
|
decimal(12,2)
|
|
|
0.00
|
|
sorting_cost
|
decimal(12,2)
|
|
|
0.00
|
|
inspection_cost
|
decimal(12,2)
|
|
|
0.00
|
|
freight_penalty_cost
|
decimal(12,2)
|
|
|
0.00
|
|
gross_rejection_cost
|
decimal(12,2)
|
|
|
0.00
|
|
scrap_recovery
|
decimal(12,2)
|
|
|
0.00
|
|
supplier_recovery
|
decimal(12,2)
|
|
|
0.00
|
|
customer_recovery
|
decimal(12,2)
|
|
|
0.00
|
|
other_recoveries
|
decimal(12,2)
|
|
|
0.00
|
|
total_recoveries
|
decimal(12,2)
|
|
|
0.00
|
|
net_rejection_loss
|
decimal(12,2)
|
|
|
0.00
|
|
costing_method
|
varchar(50)
|
|
|
Standard Unit Cost
|
|
operator_name
|
varchar(100)
|
|
|
|
|
batch_number
|
varchar(100)
|
|
|
|
|
created_by
|
int(11)
|
|
|
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
current_timestamp()
|