Class Variables | id | the id of purchase_order table
|
| status | the purchase order status
|
| open_date | the date when the order was started
|
| quote_deadline | the date when the quotation expires
|
| expected_receival_date | expected date to receive products
|
| expected_pay_date | expected date to pay the products
|
| receival_date | the date when the products were received
|
| confirm_date | the date when the order was confirmed
|
| salesperson_name | the name of supplier's salesperson
|
| expected_freight | the expected freight value
|
| surcharge_value | the surcharge value for the order total
|
| discount_value | the discount_value for the order total
|
| supplier_name | the supplier name
|
| transporter_name | the transporter name
|
| branch_name | the branch company name
|
| ordered_quantity | the total quantity ordered
|
| received_quantity | the total quantity received
|
| subtotal | the order subtotal (sum of product values)
|
| total | subtotal - discount_value + surcharge_value
|