<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://docs.msupply.org.nz/docs/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://docs.msupply.org.nz/docs/feed.php">
        <title>mSupply documentation wiki - tables_fields:main_tables</title>
        <description></description>
        <link>https://docs.msupply.org.nz/docs/</link>
        <image rdf:resource="https://docs.msupply.org.nz/docs/_media/wiki:logo.png" />
       <dc:date>2026-04-06T18:19:00+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:aggregator"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:drug_register"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:goods_received_lines"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:goods_received"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:health_supply_hub"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:item_line"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:item"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:list_master_item_join"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:list_master_name_join"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:list_master"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:name"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:pref_blob"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:purchase_order_lines"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:purchase_order"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:quote"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:requisition"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:stock_take"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:tender"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:trans_line"/>
                <rdf:li rdf:resource="https://docs.msupply.org.nz/docs/tables_fields:main_tables:transaction"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://docs.msupply.org.nz/docs/_media/wiki:logo.png">
        <title>mSupply documentation wiki</title>
        <link>https://docs.msupply.org.nz/docs/</link>
        <url>https://docs.msupply.org.nz/docs/_media/wiki:logo.png</url>
    </image>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:aggregator">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-28T04:42:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Aggregator table</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:aggregator</link>
        <description>Aggregator table

The aggregator table is refreshed daily, and allows quick access to important metrics that are otherwise slow to calculate.
Field name  Description  mSupply Use  Reference link  Type  Indexed  ID  UUID of the Aggregator Not use is UI</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:drug_register">
        <dc:format>text/html</dc:format>
        <dc:date>2020-01-07T01:04:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Drug_register</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:drug_register</link>
        <description>Drug_register

Back to list of main tables
 Field number    Field Name   Description  Type    Length    Index 7application_dateThe date of application        Date      8application_numberA unique number assigned to track the application        Long Integer      9approval_dateThe date the application was approved (blank if never approved)</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:goods_received_lines">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-06T10:39:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Goods received line</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:goods_received_lines</link>
        <description>Goods received line

Back to list of main tables

Table name is goods_received_line. Contains the lines that belong to goods received.
 Field name          Description                                                    mSupply use    Report reference link    Type     Indexed</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:goods_received">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-06T10:42:40+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Goods received</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:goods_received</link>
        <description>Goods received

Back to list of main tables

Table name is Goods received. Goods received are created only after purchase order from supplier.
 Field name          Description                                                               mSupply use                     Report reference link</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:health_supply_hub">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-20T10:41:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title></title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:health_supply_hub</link>
        <description>&lt;https://docs.msupply.foundation/health-supply-hub/introduction/&gt;</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:item_line">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-21T10:49:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>item_line</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:item_line</link>
        <description>item_line

Back to list of main tables

An item_line record represents a line of stock.
 Field name	 Description	       mSupply Use	     Reference link	   Type	    Indexed store_ID  The store id of the stock line  Not use in UI   Alpha  * item_ID  The item id of the stock line</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:item">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-12T09:41:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Item</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:item</link>
        <description>Item

Back to list of main tables

	*  The item table stores one record for each item you supply.
	*  Stock on hand of an item is not stored here - look in the “item_line” table
 Field name	 Description	       mSupply Use	     Reference link	   Type	    Indexed  ID  UUID of the Item	Not use is UI</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:list_master_item_join">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-07T05:28:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>List master line</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:list_master_item_join</link>
        <description>List master line

Back to list of main tables

Table name is list_master_line. Contains the lines that belong to master list.
 Field name	 Description	      mSupply Use	     Reference link	   Type	    Indexed  ID  UUID of the list_master_line (not usually visible to the user  Not use in UI</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:list_master_name_join">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-06T12:22:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>List master name join</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:list_master_name_join</link>
        <description>List master name join

Back to list of main tables

Table name is list_master_name_join. Master list table that are link with name, such as a customer, supplier, manufacturer, benchmark, or donor.
 Field name	 Description	      mSupply Use	     Reference link	   Type	    Indexed</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:list_master">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-06T12:06:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>List master</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:list_master</link>
        <description>List master

Back to list of main tables

Table name is list_master. Master lists are standard lists of items you would supply to wards, clinics, etc. on a regular basis.
 Field name	 Description	      mSupply Use	     Reference link	   Type	    Indexed  ID	 UUID of the list_master (not usually visible to the user</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:name">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-20T10:41:51+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Name</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:name</link>
        <description>Name

Back to list of main tables

A name is a customer, supplier, patient, manufacturer or donor, or maybe a combination of these.
 Field name	 Description	      mSupply Use	     Reference link	   Type	    Indexed  ID               The unique ID given to this name  Not used in UI</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:pref_blob">
        <dc:format>text/html</dc:format>
        <dc:date>2020-01-07T01:04:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Preferences (Prefs)</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:pref_blob</link>
        <description>Preferences (Prefs)
 Field name  Description  Type  Length  Ind  item  The name of the preference. 
Does not have to be unique if unique user_key or network_id is supplied  Alpha  40   *   type  The type of data in the blob:  blob         s string</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:purchase_order_lines">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-23T06:11:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Purchase Order Lines</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:purchase_order_lines</link>
        <description>Purchase Order Lines

Back to list of main tables
 Field name     Description           mSupply Use         Reference link       Type        Indexed batchThe batch number associated with this purchase order line — typically used when stock is received in specific batches  Alpha</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:purchase_order">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-22T11:09:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Purchase Orders</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:purchase_order</link>
        <description>Purchase Orders

Back to list of main tables
 Field name	 Description	       mSupply Use	     Reference link	  Type	    Index additional_instructionsAny extra instructions to the supplierPurchase order&gt;&gt;Details tab&gt;&gt;Additional Instruction(Info for purchase order)&lt;https://docs.msupply.org.nz/purchasing:ordering_from_suppliers#additional_instructions&gt;     Text agent_commission</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:quote">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-25T12:28:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Quotes</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:quote</link>
        <description>Quotes

Back to list of main tables
 Field name     Description           mSupply Use         Reference link       Type        Indexed  currency_ID  The currency ID for quotes Id are not shown in UI but used to display Open any supplier&gt;&gt;Quotes tab&gt;&gt;New/edit Quote&gt;&gt;Their quote currency</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:requisition">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-26T06:45:59+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Requisition</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:requisition</link>
        <description>Requisition

Back to list of main tables

	*  internal name: requisition
	*  was “name_stock_history” up to &amp; including version 3.5. “Requisition” from version 3.6
Field name  Description  mSupply Use  Reference link  Type  Indexed  ID  The unique ID of this requisition record</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:stock_take">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-27T08:35:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Stock_take</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:stock_take</link>
        <description>Stock_take

Back to list of main tables
Field name  Description  mSupply Use  Reference link  Type  Indexed comment Free-text comments or notes for the stock take Open/create any Stock take&gt;&gt;Comment &lt;https://docs.msupply.org.nz/items:stocktakes#preparing_the_stocktake&gt;  Text  created_by_ID ID of the user who created the stock take    Alpha  Description</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:tender">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-28T04:21:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Tenders</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:tender</link>
        <description>Tenders

Back to list of main tables
Field name  Description  mSupply Use  Reference link  Type  Indexed  BenchMarkSupplier_ID  The ID of the supplier used as a benchmark for price comparison ID are not shown in UI but used to display open/create any one tender&gt;&gt;goto Tender preferences tab</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:trans_line">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-22T04:41:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Transaction lines</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:trans_line</link>
        <description>Transaction lines

Back to list of main tables

Table name is trans_line. Contains the lines that belong to transactions.
 Field name	 Description	       mSupply Use	     Reference link	   Type	    Indexed  batch   The batch of the item received or issued Supplier invoice/Inventory adjust-add stock</description>
    </item>
    <item rdf:about="https://docs.msupply.org.nz/docs/tables_fields:main_tables:transaction">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-21T10:05:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Transactions</title>
        <link>https://docs.msupply.org.nz/docs/tables_fields:main_tables:transaction</link>
        <description>Transactions

Back to list of main tables

Table name is transact. Transactions are customer invoices, supplier invoices, inventory adjustments, customer credits, supplier credits, repacks etc.
 Field name	 Description	       mSupply Use	     Reference link	   Type	    Indexed</description>
    </item>
</rdf:RDF>
