|
id
|
bigint(20)
|
|
|
|
|
receipt_id
|
bigint(20)
|
|
|
|
|
purchase_order_item_id
|
bigint(20)
|
|
|
|
|
product_id
|
int(11)
|
|
|
|
|
ordered_quantity
|
decimal(18,2)
|
|
|
0.00
|
|
previously_received_quantity
|
decimal(18,2)
|
|
|
0.00
|
|
received_quantity
|
decimal(18,2)
|
|
|
0.00
|
|
rejected_quantity
|
decimal(18,2)
|
|
|
0.00
|
|
rejection_reason
|
varchar(500)
|
|
|
|
|
remaining_quantity
|
decimal(18,2)
|
|
|
0.00
|
|
line_status
|
varchar(30)
|
|
|
Partielle
|
|
quantity
|
decimal(18,2)
|
|
|
0.00
|
|
unit_cost
|
decimal(18,2)
|
|
|
0.00
|
|
stock_quantity_before
|
decimal(18,2)
|
|
|
|
|
stock_average_before
|
decimal(18,2)
|
|
|
|
|
stock_quantity_after
|
decimal(18,2)
|
|
|
|
|
stock_average_after
|
decimal(18,2)
|
|
|
|
|
stock_version_after
|
bigint(20)
|
|
|
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|