Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| tables_fields:main_tables:item_line [2022/03/11 14:33] – Gary Willetts | tables_fields:main_tables:item_line [2026/01/21 10:49] (current) – Raksha Khadka | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| An item_line record represents a line of stock. | An item_line record represents a line of stock. | ||
| - | ^ Field name ^ Description ^ Type ^ Length | + | ^ Field name ^ Description |
| - | | available | + | |**store_ID** |
| - | | **batch** | The batch number | + | |**item_ID** | The item id of the stock line | Not use in UI | | Alpha | * | |
| - | | cost_price | + | | pack_size | The pack size for a stock line | Item detail window>> |
| - | | donor_id | + | | expiry_date |
| - | | expiry_date | + | |**batch** |
| - | | hold | Puts the stock line into hold (No issuing) | + | | available |
| - | | **ID** | + | | program_ID |
| - | | **item_ID** | + | | cost_price | The cost price of the stock line, per pack | Item detail window>> |
| - | | initial_quan | The initial quantity for a stock line. Mainly used to handle the stock that have been imported without ledger | + | | sell_price |
| - | | **location_ID** | The ID of the location record denoting where this batch is stored | + | | hold | Puts the stock line into hold (No issuing) |
| - | | **manufacturer_ID** | + | | initial_quan | The initial quantity for a stock line. Mainly used to handle the stock that have been imported without ledger | Item detail window>> |
| - | | **name_ID** | The name id (Customer/ | + | |**ID** | Unique id for a stock line. Visible on stock line input window |
| - | | note | The note information for a stock line | Text | | | | + | | quantity |
| - | | pack_size | The pack size for a stock line | Real | | | + | |**name_ID** | The name id (Customer/ |
| - | | pack_quan_per_inner | The inner pack size for a stock line (Comes from transaction line)| Long | | | | + | |**manufacturer_ID** |
| - | | pack_inners_per_outer | The outer pack size for a stock line (Comes from transaction line) | Long | | | | + | |**location_ID** | The ID of the location record denoting where this batch is stored |
| - | | quantity | Total number of packs on hand | Real | | | + | | volume_per_pack |
| - | | **store_ID** | The store id of the stock line | Long | | * | | + | | stock_on_hand_tot | Total stock on hand for a item | | | Real | | |
| - | | start_year_quan_tot | + | | total_volume | Total volume for a stock line | | | Real | * | |
| - | | sell_price | The sell price for a stock line, per pack | Real | | + | | user_1 | Custom field 1 for stock line | | | Alpha | | |
| - | | stock_on_hand_tot | Total stock on hand for a item | Real | | + | | user_2 | Custom field 2 for stock line | | | Alpha | | |
| - | | total_cost | Total cost for a stock line, i.e. cost price * quantity | + | | user_3 | Custom field 3 for stock line | | | Alpha | | |
| - | | total_volume | Total volume for a stock line | Real | | + | | user_4 | Custom field 4 for stock line | | | Alpha | | |
| - | | user_1 | Custom field 1 for stock line | String | + | | pack_quan_per_inner |
| - | | user_2 | Custom field 2 for stock line | String | + | | pack_inners_per_outer | The outer pack size for a stock line (Comes from transaction line) | Item detail window>> |
| - | | user_3 | Custom field 3 for stock line | String | + | | note | The note information for a stock line | Item detail window>> |
| - | | user_4 | Custom field 4 for stock line | String | + | | vvm_status | Vaccine Vial Monitoring for stock line | Item detail window>> |
| - | | volume_per_pack | + | | donor_id | The donor id for the stock line | ID is not shown in UI but used to display Item detail window>> |
| - | | vvm_status | Vaccine Vial Monitoring for stock line | String | + | | total_cost | Total cost for a stock line, i.e. cost price * quantity | | | Real | | |
| - | | user_5_ID | + | | user_5_ID | The ID of the custom field 5 record selected for this stock line. | | | Alpha | * | |
| - | | user_6_ID | + | | user_6_ID | The ID of the custom field 6 record selected for this stock line. | | | Alpha | * | |
| - | | user_7_ID | + | | user_7_ID | The ID of the custom field 7 record selected for this stock line. | | | Alpha | * | |
| - | | user_8_ID | + | | user_8_ID | The ID of the custom field 8 record selected for this stock line. | | | Alpha | * | |
| - | + | | kit_data | | | | Object | | | |
| - | + | | barcodeID | | | | Text | | | |
| - | + | | extraData | | | | Object | | | |
| - | + | | repack_original_trans_line_ID | | | | Alpha | | | |
| - | + | | weight_per_pack | the weight in kg of one reference pack | Item detail window>> | |
| - | + | | om_item_variant_id | | | | Alpha | | | |
| - | + | | om_doses | | | | Long Integer | | | |
| + | | vvm_status_id | | | | Alpha | | | ||
| + | | spare_text | | | | Text | | | ||
| + | | oms_fields | | | | Object | | | ||
| ---- struct data ---- | ---- struct data ---- | ||
| pagestatus.status | pagestatus.status | ||
| ---- | ---- | ||