Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| tables_fields:main_tables:purchase_order [2020/01/07 01:04] – ↷ Page moved from tables:main_tables:purchase_order to tables_fields:main_tables:purchase_order lou | tables_fields:main_tables:purchase_order [2026/01/22 11:09] (current) – Raksha Khadka | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Purchase Orders ====== | ====== Purchase Orders ====== | ||
| - | [[tables: | + | [[tables_fields: |
| - | ^ Field name ^ Description ^ Type ^ Indexed | + | ^ Field name ^ Description ^ mSupply Use ^ Reference link |
| - | |additional_instructions| |Text| | | + | |additional_instructions|Any extra instructions to the supplier|Purchase order>> |
| - | |agent_commission| |Real| | | + | |agent_commission|Commission payable to intermediary agent|Purchase order>> |
| - | |auth_checksum| |Text| | | + | |auth_checksum|Internal checksum used for authorisation logic| |
| - | |authorizing_officer_1| |Text| | | + | |authorizing_officer_1|Name of first officer authorising the PO|Purchase order>> |
| - | |authorizing_officer_2| |Text| | | + | |authorizing_officer_2|Name of second officer authorising the PO|Purchase order>> |
| - | |budget_period_ID| |Long| | | + | |budget_period_ID|Identifier linking PO to a budget period|Not use in UI| |Alpha| | |
| - | |**category_ID**| |Long|* | | + | |**category_ID**|Identifier for the PO category|ID is not shown in UI but used to display Purchase order>> |
| - | |colour| |Long| | | + | |colour| |
| - | |comment| |Text| | | + | |comment| |
| - | |communications_charge| |Real| | | + | |communications_charge|Charge for communications agreed with supplier|Purchase order>> |
| - | |confirm_date| |Date| | | + | |confirm_date|Date when PO was confirmed|Open any Purchase order>> |
| - | |cost_in_local_currency| |Real| | | + | |cost_in_local_currency|Estimated cost of the order converted to local currency| |
| - | |created_by| |Long| | | + | |created_by|User who created the PO| | |Alpha| | |
| - | |**creation_date**| |Date| | | + | |**creation_date**|Date the PO record was created| |
| - | |curr_rate| |Real| | | + | |curr_rate|Currency exchange rate applied to this PO| | |Real| | |
| - | |currency_ID| |Alpha| | | + | |currency_ID|Currency code of the PO|ID is not shown in UI but used to display Purchase order>> |
| - | |Date_advance_payment| |Date| | | + | |Date_advance_payment|Date when any advance payment was made|Open any Purchase order>> |
| - | |Date_contract_signed| |Date| | | + | |Date_contract_signed|Date contract with supplier was signed|Open any Purchase order>> |
| - | |Date_goods_received_at_port| |Date| | | + | |Date_goods_received_at_port|Date goods were recorded as received at port|Open any Purchase order>> |
| - | |delivery_method| |Text| | | + | |delivery_method|Method by which goods will be delivered|Open any Purchase order>> |
| - | |document_charge| |Real| | | + | |document_charge|Document handling charges|Open any Purchase order>> |
| - | |**donor_id**| |Long| | | + | |**donor_id**|Link to donor record (if donor funded)|ID is not shown in UI but used to display Purchase order>> |
| - | |editedRemotely| |Boolean| | | + | |editedRemotely|Flag marking if PO was edited on a remote sync satellite| |
| - | |freight| |Real| | | + | |freight|Agreed freight cost| | |Real| | |
| - | |freight_charge| |Real| | | + | |freight_charge|Freight handling charge|Purchase order>> |
| - | |freight_conditions| |Text| | | + | |freight_conditions|Conditions regarding freight/ |
| - | |heading_message| |Text| | | + | |heading_message|Custom heading shown at top of PO|Purchase order>> |
| - | |**ID**|Unique identifier of this record|Long|* | | + | |**ID**|Unique identifier of this record|Not shown in UI| |Alpha|*| |
| - | |include_in_on_order_calcs| |Boolean| | | + | |include_in_on_order_calcs|Whether PO should be included in on-order calculations|Purchase order>> |
| - | |insurance_charge| |Real| | | + | |insurance_charge|Insurance charge agreed|Purchase order>> |
| - | |inv_discount_amount| |Real| | | + | |inv_discount_amount| Discount amount applied to PO| | |Real| | |
| - | |inv_sub_total| |Real| | | + | |inv_sub_total|Subtotal of items before other charges| |
| - | |is_authorised| |Boolean| | | + | |is_authorised|Whether the PO has been authorised |Open any Purchase order>> |
| - | |last_edited_by| |Long| | | + | |last_edited_by|User who last edited the PO| | |Alpha| | |
| - | |lines| |Long| | | + | |lines|Number of lines on the PO| | |Long Integer| | |
| - | |locked| |Boolean| | | + | |locked|Whether the PO is locked from editing|Open any Purchase order>> |
| - | |**name_ID**|The unique | + | |**name_ID**|Supplier |
| - | |Order_total_after_discount| |Real| | | + | |Order_total_after_discount|Total cost after applying discounts|Open any Purchase order>> |
| - | |Order_total_before_discount| |Real| | | + | |Order_total_before_discount|Total cost before any discount|Open any Purchase order>> |
| - | |po_sent_date| |Date| | | + | |po_sent_date|Date the PO was sent to supplier|Purchase order>> |
| - | |**quote_ID**| |Long| | | + | |**quote_ID**|Linked quotation ID (if generated from quote)| | |Alpha| | |
| - | |reference| |Alpha| | | + | |reference|External reference (supplier ref or internal)|Open any Purchase order>> |
| - | |requested_delivery_date| |Date| | | + | |requested_delivery_date|Date the supplier is requested to deliver|Open any Purchase order>> |
| - | |**status**| When created: **SG**\\ When send to supplier: **CN**\\ When finished receiving: **FN** | Alpha | | | + | |**status**|When created: **SG**\\ When send to supplier: **CN**\\ When finished receiving: **FN**|Open any Purchase order>> |
| - | |**store_ID**| |Long| | | + | |**store_ID**|Store placing the order|ID is not shown in UI but used to display Open any Purchase order>> |
| - | |supplier_agent| |Text| | | + | |supplier_agent|Name of supplier’s agent/ |
| - | |supplier_discount_amount| |Real| | | + | |supplier_discount_amount|Discount amount offered by supplier|Open any Purchase order>> |
| - | |target_months|The number | + | |target_months|Months |
| - | |total_foreign_currency_expected| |Real| | | + | |total_foreign_currency_expected|Total cost in foreign currency| |
| - | |total_local_currency_expected| |Real| | | + | |total_local_currency_expected|Total cost in local currency| |
| - | |user_field_1| |Alpha| | | + | |user_field_1|Custom field 1 (user-defined)|If pref show custom field is on and you can set the field name then Open any Purchase order>> |
| - | |user_field_2| |Alpha| | | + | |user_field_2|Custom field 2 (user-defined)|If pref Purchase order 2 tab show custom field is on and you can set the field name then Open any Purchase order>> |
| + | |serial_number|Internal sequence number for ordering|Purchase order>> | ||
| + | |linked_transaction_ID|ID of linked transaction(e.g., | ||
| + | |lookBackMonths|Used when calculating auto orders|Create new calculated purchase order(New order)>> | ||
| + | |custom_data|JSON object for custom fields|If pref is set on Custom fields tab for purchase order then Open any Purchase order>> | ||
| + | |minimumExpiryDate|Minimum acceptable expiry for received stock|Purchase order>> | ||
| + | |oms_fields|Used while OMS integration| | |Object| | | ||
| ====== History ====== | ====== History ====== | ||
| * v3.1: target_days (long) changed to target_months (real) | * v3.1: target_days (long) changed to target_months (real) | ||
| ---- struct data ---- | ---- struct data ---- | ||
| + | pagestatus.status | ||
| ---- | ---- | ||