<?xml version="1.0" encoding="UTF-8"?>
<inport-metadata xmlns:xs="http://www.w3.org/2001/XMLSchema"
                 version="1.11"
                 source="https://www.fisheries.noaa.gov">
   <item-identification>
      <catalog-item-id>63476</catalog-item-id>
      <title>a_cl_flat_view</title>
      <catalog-item-type>Entity</catalog-item-type>
      <metadata-workflow-state ccs-id="9">Published / External</metadata-workflow-state>
      <parent-catalog-item-id>5615</parent-catalog-item-id>
      <parent-title>American Samoa Commercial Purchases</parent-title>
      <parent-catalog-item-type>Data Set</parent-catalog-item-type>
      <status>Completed</status>
   </item-identification>
   <entity-information>
      <entity-type>Data View</entity-type>
      <active-version>Yes</active-version>
      <schema>amsam_dmwr_wh</schema>
   </entity-information>
   <data-attributes>
      <data-attribute cc-id="1008444">
         <seq-order>1</seq-order>
         <name>INVOICE_PK</name>
         <data-storage-type>int</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <precision>10</precision>
         <scale>0</scale>
         <status>Active</status>
         <description>Unique invoice number. Primary key, a unique identifier—the invoice number—for each record in a_ccl_head table.</description>
      </data-attribute>
      <data-attribute cc-id="1008445">
         <seq-order>2</seq-order>
         <name>INVOICE_DATE</name>
         <data-storage-type>date</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Date invoice was completed by buyer.</description>
      </data-attribute>
      <data-attribute cc-id="1008446">
         <seq-order>3</seq-order>
         <name>FISHER_FK</name>
         <data-storage-type>int</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <precision>10</precision>
         <scale>0</scale>
         <status>Active</status>
         <description>Code for the fisher who caught the fish reported on the invoice. Detailed information can be found in A_FISHER or A_FISHER.DBF.</description>
      </data-attribute>
      <data-attribute cc-id="1008447">
         <seq-order>4</seq-order>
         <name>ISLAND_FK</name>
         <data-storage-type>varchar</data-storage-type>
         <max-length>3</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Code for the island where the fish was caught if locally caught, this value can be “Tutuila” (TTL), 'Ofu,' “Olosega,” “Tau” or blank for non-locally caught fish.</description>
      </data-attribute>
      <data-attribute cc-id="1008448">
         <seq-order>5</seq-order>
         <name>RESALE_F</name>
         <data-storage-type>char</data-storage-type>
         <max-length>1</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>If true, this sale is a resale (not a locally caught fish purchased directly from fishers).</description>
      </data-attribute>
      <data-attribute cc-id="1008449">
         <seq-order>6</seq-order>
         <name>IMPORTED_F</name>
         <data-storage-type>char</data-storage-type>
         <max-length>1</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Indicates whether this fish is imported. If true, the fish is imported.</description>
      </data-attribute>
      <data-attribute cc-id="1008450">
         <seq-order>7</seq-order>
         <name>CANNERY_F</name>
         <data-storage-type>char</data-storage-type>
         <max-length>1</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Indicates whether this fish was purchased from the cannery or not. If true, it is a non-local fish purchased from the cannery.</description>
      </data-attribute>
      <data-attribute cc-id="1008451">
         <seq-order>8</seq-order>
         <name>IMPORT_FROM</name>
         <data-storage-type>int</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <precision>10</precision>
         <scale>0</scale>
         <status>Active</status>
         <description>If the fish was imported, the area code where it came from. Detailed information can be found in A_AREA or A_AREA.DBF.</description>
      </data-attribute>
      <data-attribute cc-id="1008452">
         <seq-order>9</seq-order>
         <name>VESSEL_FK</name>
         <data-storage-type>int</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <precision>10</precision>
         <scale>0</scale>
         <status>Active</status>
         <description>Code number of the vessel used to catch the fish reported on invoice. Detailed information can be found in A_VESSEL_HISTORY or A_MASTVSSL.DBF.</description>
      </data-attribute>
      <data-attribute cc-id="1008453">
         <seq-order>10</seq-order>
         <name>AREA_FK</name>
         <data-storage-type>int</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <precision>10</precision>
         <scale>0</scale>
         <status>Active</status>
         <description>Code number of the area where fish reported on the invoice were caught. If fish are purchased or imported and the METHOD is 18, then this code refers to where the fish was purchased or imported from. Detailed information can be found in A_AREA or A_AREA.DBF.</description>
      </data-attribute>
      <data-attribute cc-id="1008454">
         <seq-order>11</seq-order>
         <name>BUYER_FK</name>
         <data-storage-type>int</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <precision>10</precision>
         <scale>0</scale>
         <status>Active</status>
         <description>Code number of the buyer who bought the fish reported on the invoice. This field duplicates the BUYER field in A_CCL_BOOK or ACLBOOK.DBF. Detailed information can be found in A_BUYER or A_BUYER.DBF.</description>
      </data-attribute>
      <data-attribute cc-id="1008455">
         <seq-order>12</seq-order>
         <name>METHOD_FK</name>
         <data-storage-type>int</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <precision>10</precision>
         <scale>0</scale>
         <status>Active</status>
         <description>Code number of the method used to catch the fish reported on this invoice. A value of 18 denotes that the fish were purchased or imported from another area indicated in the AREA_FK or AREA_FISH field. Detailed information can be found in A_METHOD or A_METHOD.DBF.</description>
      </data-attribute>
      <data-attribute cc-id="1008456">
         <seq-order>13</seq-order>
         <name>TOTAL_VALUE</name>
         <data-storage-type>decimal</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <precision>16</precision>
         <scale>2</scale>
         <status>Active</status>
         <description>Total price paid by the buyer for all fish reported on invoice. This is the sum of the SOLD_REVENUE fields in A_CCL_DETAIL.</description>
      </data-attribute>
      <data-attribute cc-id="1008457">
         <seq-order>14</seq-order>
         <name>TOTAL_POUNDS</name>
         <data-storage-type>decimal</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <precision>16</precision>
         <scale>2</scale>
         <status>Active</status>
         <description>Total weight of all fish purchased by buyer and reported on the invoice. This is the sum of the SOLD_LBS field in the A_CCL_DETAIL.</description>
      </data-attribute>
      <data-attribute cc-id="1008458">
         <seq-order>15</seq-order>
         <name>BOOK_FK</name>
         <data-storage-type>int</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <precision>10</precision>
         <scale>0</scale>
         <status>Active</status>
         <description>Invoice book number. Detailed information can be found in A_CCL_BOOK or in ACLBOOK.DBF.</description>
      </data-attribute>
      <data-attribute cc-id="1008459">
         <seq-order>16</seq-order>
         <name>HEAD_REMARKS</name>
         <data-storage-type>varchar</data-storage-type>
         <max-length>256</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Header comment field.</description>
      </data-attribute>
      <data-attribute cc-id="1008460">
         <seq-order>17</seq-order>
         <name>HEAD_CREATE_TIME</name>
         <data-storage-type>datetime</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Date and time the header record was created.</description>
      </data-attribute>
      <data-attribute cc-id="1008461">
         <seq-order>18</seq-order>
         <name>HEAD_MODIFY_TIME</name>
         <data-storage-type>datetime</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Date and time the header record was last modified.</description>
      </data-attribute>
      <data-attribute cc-id="1008462">
         <seq-order>19</seq-order>
         <name>HEAD_LOAD_TABLE</name>
         <data-storage-type>varchar</data-storage-type>
         <max-length>32</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Name of the header FoxPro table that was loaded into MySQL.</description>
      </data-attribute>
      <data-attribute cc-id="1008463">
         <seq-order>20</seq-order>
         <name>HEAD_DATETIME</name>
         <data-storage-type>datetime</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Date and time header record migrated from FoxPro to MySQL.</description>
      </data-attribute>
      <data-attribute cc-id="1008464">
         <seq-order>21</seq-order>
         <name>HEAD_LOAD_USER</name>
         <data-storage-type>varchar</data-storage-type>
         <max-length>32</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>User who loaded record into the header MySQL table.</description>
      </data-attribute>
      <data-attribute cc-id="1008465">
         <seq-order>22</seq-order>
         <name>DETAIL_PK</name>
         <data-storage-type>int</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <precision>10</precision>
         <scale>0</scale>
         <status>Active</status>
         <description>System-generated artificial primary key for detail table.</description>
      </data-attribute>
      <data-attribute cc-id="1008466">
         <seq-order>23</seq-order>
         <name>INVOICE_FK</name>
         <data-storage-type>int</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <precision>10</precision>
         <scale>0</scale>
         <status>Active</status>
         <description>Same as INVOICE_PK column.  Used to link detail to header table.</description>
      </data-attribute>
      <data-attribute cc-id="1008467">
         <seq-order>24</seq-order>
         <name>SPECIES_FK</name>
         <data-storage-type>int</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <precision>10</precision>
         <scale>0</scale>
         <status>Active</status>
         <description>Code for the species recorded on the invoice. Detailed information can be found in A_SPECIES or A_SPEC.DBF.</description>
      </data-attribute>
      <data-attribute cc-id="1008468">
         <seq-order>25</seq-order>
         <name>PRICE_PER_LB</name>
         <data-storage-type>decimal</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <precision>6</precision>
         <scale>2</scale>
         <status>Active</status>
         <description>Price per pound paid by the buyer for a species, calculated as (SOLD_REVENUE/SOLD_LBS).</description>
      </data-attribute>
      <data-attribute cc-id="1008469">
         <seq-order>26</seq-order>
         <name>SOLD_LBS</name>
         <data-storage-type>decimal</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <precision>9</precision>
         <scale>2</scale>
         <status>Active</status>
         <description>Total weight of this species reported on this invoice.</description>
      </data-attribute>
      <data-attribute cc-id="1008470">
         <seq-order>27</seq-order>
         <name>SOLD_REVENUE</name>
         <data-storage-type>decimal</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <precision>9</precision>
         <scale>2</scale>
         <status>Active</status>
         <description>Total price paid by the buyer for a species.</description>
      </data-attribute>
      <data-attribute cc-id="1008471">
         <seq-order>28</seq-order>
         <name>NUM_PIECES</name>
         <data-storage-type>int</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <precision>10</precision>
         <scale>0</scale>
         <status>Active</status>
         <description>Total count of a particular species purchased. A value of 0 indicates an unknown number for this species.</description>
      </data-attribute>
      <data-attribute cc-id="1008472">
         <seq-order>29</seq-order>
         <name>DETAIL_REMARKS</name>
         <data-storage-type>varchar</data-storage-type>
         <max-length>256</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Detail comment field.</description>
      </data-attribute>
      <data-attribute cc-id="1008473">
         <seq-order>30</seq-order>
         <name>DETAIL_CREATE_TIME</name>
         <data-storage-type>datetime</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Date and time the detail record was created.</description>
      </data-attribute>
      <data-attribute cc-id="1008474">
         <seq-order>31</seq-order>
         <name>DETAIL_MODIFY_TIME</name>
         <data-storage-type>datetime</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Date and time the detail record was last modified.</description>
      </data-attribute>
      <data-attribute cc-id="1008475">
         <seq-order>32</seq-order>
         <name>DETAIL_LOAD_TABLE</name>
         <data-storage-type>varchar</data-storage-type>
         <max-length>32</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Name of the detail FoxPro table that was loaded into MySQL.</description>
      </data-attribute>
      <data-attribute cc-id="1008476">
         <seq-order>33</seq-order>
         <name>DETAIL_DATETIME</name>
         <data-storage-type>datetime</data-storage-type>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Date and time detail record migrated from FoxPro to MySQL.</description>
      </data-attribute>
      <data-attribute cc-id="1008477">
         <seq-order>34</seq-order>
         <name>DETAIL_LOAD_USER</name>
         <data-storage-type>varchar</data-storage-type>
         <max-length>32</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>User who loaded record into the detail MySQL table.</description>
      </data-attribute>
      <data-attribute cc-id="1008478">
         <seq-order>35</seq-order>
         <name>FISHING_METHOD</name>
         <data-storage-type>varchar</data-storage-type>
         <max-length>45</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Name of fishing method linked to METHOD_FK.</description>
      </data-attribute>
      <data-attribute cc-id="1008479">
         <seq-order>36</seq-order>
         <name>FISHING_AREA</name>
         <data-storage-type>varchar</data-storage-type>
         <max-length>255</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Name of fishing area linked to AREA_FK.</description>
      </data-attribute>
      <data-attribute cc-id="1008480">
         <seq-order>37</seq-order>
         <name>VESSEL_REGIST_NO</name>
         <data-storage-type>varchar</data-storage-type>
         <max-length>11</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Vessel registration number linked to VESSEL_FK.</description>
      </data-attribute>
      <data-attribute cc-id="1008481">
         <seq-order>38</seq-order>
         <name>BUYER_NAME</name>
         <data-storage-type>varchar</data-storage-type>
         <max-length>30</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Name of buyer linked to BUYER_FK.</description>
      </data-attribute>
      <data-attribute cc-id="1008482">
         <seq-order>39</seq-order>
         <name>ISLAND_NAME</name>
         <data-storage-type>varchar</data-storage-type>
         <max-length>45</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Name of island linked to ISLAND_FK.</description>
      </data-attribute>
      <data-attribute cc-id="1008483">
         <seq-order>40</seq-order>
         <name>FISHER_NAME</name>
         <data-storage-type>varchar</data-storage-type>
         <max-length>33</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Name of fisher linked to FISHER_FK.</description>
      </data-attribute>
      <data-attribute cc-id="1008484">
         <seq-order>41</seq-order>
         <name>SCIENTIFIC_NAME</name>
         <data-storage-type>varchar</data-storage-type>
         <max-length>73</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Scientific name of the species (Genus name + Species name).</description>
      </data-attribute>
      <data-attribute cc-id="1008485">
         <seq-order>42</seq-order>
         <name>COMMON_NAME</name>
         <data-storage-type>varchar</data-storage-type>
         <max-length>46</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Common English name for the species.</description>
      </data-attribute>
      <data-attribute cc-id="1008486">
         <seq-order>43</seq-order>
         <name>LOCAL_NAME</name>
         <data-storage-type>varchar</data-storage-type>
         <max-length>46</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Local name of the species.</description>
      </data-attribute>
   </data-attributes>
   <catalog-details>
      <guid>gov.noaa.nmfs.inport:63476</guid>
      <metadata-record-created-by pers-id="1005">Brent Miyamoto</metadata-record-created-by>
      <metadata-record-created>2021-01-21T01:28:42</metadata-record-created>
      <metadata-record-last-modified-by pers-id="0">SysAdmin InPortAdmin</metadata-record-last-modified-by>
      <metadata-record-last-modified>2022-08-09T17:11:55</metadata-record-last-modified>
      <record-published>2021-01-21</record-published>
      <owner-organization>Pacific Islands Fisheries Science Center</owner-organization>
      <owner-organization-acronym>PIFSC</owner-organization-acronym>
      <owner-organization-address>1845 Wasp Blvd.</owner-organization-address>
      <owner-organization-address-city>Honolulu</owner-organization-address-city>
      <owner-organization-address-state>HI</owner-organization-address-state>
      <owner-organization-address-zip>96818</owner-organization-address-zip>
      <owner-organization-address-country>USA</owner-organization-address-country>
      <owner-organization-phone>808-725-5300</owner-organization-phone>
      <owner-organization-url>https://www.pifsc.noaa.gov</owner-organization-url>
      <owner-organization-business-hours>8:00 a.m. - 4:30 p.m.</owner-organization-business-hours>
      <owner-organization-group-id>1001</owner-organization-group-id>
      <publication-status>Public</publication-status>
      <is-do-not-publish>No</is-do-not-publish>
      <metadata-last-review-date>2021-01-21</metadata-last-review-date>
      <metadata-review-frequency>1 Year</metadata-review-frequency>
      <metadata-next-review-date>2022-01-21</metadata-next-review-date>
   </catalog-details>
</inport-metadata>
