Production_report
The producxtion_report element is the top level element in production report files.
The production_report element has several attributes. They should not be specified when importing production reports to eLandings, but will be present for reports that are exported.
- data_entry_user - the userid of the user who originally entered and submitted the production report.
- data_entry_user_org - the data entry user's organization. This can be the seafood processor, or an agency if the production report was data entered by the agency.
- data_entry_submit_date - the date and time the report was submitted.
- last_change_user - the userid of the user who made the most recent edits to the report. This can be an agency user who edited agency data not visible to processors.
- last_change_date - the date and time of the most recent edit.
- no_change_after_date - the date and time after which processors cannot edit the report unless unlocked by an agency user.
The production_report has the following elements.
Messages
The messages element provides error and information messages about reports that are submitted to the eLandings server. It should not be specified on reports that are to be imported into eLandings. It will be omitted from reports that are successfully exported from eLandings.
Schema Version
The schema version data element allows the software to know the version of the schema for which an XML file was generated. If the schema version element is not provided that indicates the version is 1.0, the original groundfish release production schema. The contents of the schema version element corresponds to the version attribute in the <xs:schema> element of the schema, the top level element of the schema definition.
Note that this is NOT the version attribute in the <xml> element that contains the schema definition. That attribute defines the version of XML, as specified by the W3C consortium.
Production_report_id
The production_report_id is the unique identifier for production reports. The actual number is generated by the eLandings system.
Type of Production Report
The type of production report distinguishes between At-sea, with a type of "A", and Shoreside, with a type of "S".
Status
The status element contains the submission status of the production report. Reports that are to be imported into eLandings should set the status to zero. Values are:
Status |
Meaning |
---|---|
0 |
Not submitted |
8 |
Final report submitted |
16 |
Report voided |
The status element includes a desc attribute, with the text value of the status code.
Transmission
The transmission element is used internally by the eLandings system when reports are transmitted from the seaLandings Processor Workstation software to the server. It is omitted in files exported from eLandings.
Production_report_header
The production_report_header element contains the data that applies to the entire production report.
- Report_date
The report_date element is the date of the production being reported. - Federal_processor_number
The federal_processor_number is the federal_processor_permit number for the processor who submitted the report. It is typically omitted from salmon reports. The federal_processor_number element includes three attributes:- name - the name of the processing company, plant, or at-sea processing vessel
- at_sea_proc - a boolean flag indicating the permit is a federal fisheries permit for an at-sea processor. This attribute is omitted from landing reports exported from eLandings.
- license_year - the most recent year for which the processor was licensed. This attribute is omitted from landing reports exported from eLandings.
- No_deliveries
The no_deliveries element is a flag indicating that no deliveries from catcher vessels were received on the date. - No_production
The no_production element is a flag indicating that no processing was done on the date. If the no_production element is set to "true" then the report will not have production_item elements. - Vessel
The vessel element is the vessel ADF&G number, for at-sea operations. It will not be present for shoreside reports.- The vessel element includes a name attribute, which contains the name of the vessel
- Gear
The gear element is the ADF&G gear code, as entered on fish tickets. It will be present on at-sea reports, but will not be on shoreside reports.- then gear element includes a name attribute, which contains the name of the gear type.
- Crew_size
The crew_size element is the number of crew onboard, including the skipper, but excluding any observers. It will only be present for at-sea production reports. - Port_of_landing
The port_of_landing element is the ADF&G port code, as entered on fish tickets. It will be present for at-sea production reports, and it will contain the port code value for the at-sea operation type, such as Catcher/Processor or floating inshore processor.
The port_of_landing element includes two attributes.- the name attribute contains the text name of the port or at-sea operation type
- the ifq_port_code contains the numeric IFQ system port code, as used on IFQ reports. The IFQ port code appears even on reports that do not include IFQ. It is merely an attribute of the alphabetic port code and its presence does not imply IFQ reporting.
- Observers
The observers element is the number of observers in the plant or onboard the vessel. - Proc_code
The proc_code element identifies the entity that purchases or otherwise controls the fish, and is equivalent to the proc code embossed on paper fish tickets. It will only be present for shoreside production reports.- The proc_code element includes a processor attribute, which contains the name of the processor, as listed on their intent to operate application.
- Fed_area
The fed_area element contains the Federal reporting area number where the fish were harvested. It will only be present for at-sea production reports. - Special_area
The special_area element contains the special area code where the fish were harvested, if the harvest was within one of the special areas. It will only be present for at-sea production reports, and will only be present if the harvest took place within a special area.- Management_program
The management_program element identifies the management program under which the fishing took place. It will be present only for at-sea reports.- Program
The program element is the management program abbreviation such as IFQ, CDQ, AFA, or OA. - Program_id
The program_id element is participant identifier. It will be present if the management program has participant IDs. CDQ numbers for CDQ and Co-op numbers for AFA, are examples of program ids. If the management program has no participant numbers, such as ADAK, then this element will be omitted.
- Program
- Management_program
- Trip_event_code
The trip_event_code element indicates events that can occur on at-sea processor trips, which affect maximum retainable amounts. It will be present only for at-sea reports, and only if one of the events occurred on the date of the report.
Stat_area_worksheet
The stat_area_worksheet element will be present for at-sea reports, but not for shoreside reports.
More that one stat_area_worksheet elements may be specified.
- Item_number
he item_number element is just the sequential item number for the stat area worksheet item. However, item numbers may have a break in their sequence if a report is submitted, and then a stat area worksheet item is deleted. - Stat_area
The stat_area element always present This is the ADF&G 6 digit groundfish statistical area. - Percent
The percent element will always be present. The total of percents for all stat_area_worksheet elements will equal 100. - Effort
The effort element is not used for production reports, and will always be omitted. - Count
The count element is not used on production reports, and will always be omitted.
Production_item
The production_item element is used on both at-sea and shoreside reports, but may not be present if the value of the no_production flag is true.
- The production_item element has one attribute, the round weight for the item.
- Item_number
The item_number element is just the sequential item number for the report. However, item numbers may have a break in their sequence if a report is submitted, and then a production item is deleted. - Fmp_area
The fmp_area element contains the Federal Management Plan area for the line. For at-sea reports the Federal area reported in the header must be in the FMP area reported for each production item. - Species
The species element is always present. It is the ADF&G numeric species code, and it indicates the species of the catch documented on the line item.
The species element includes one attribute, the species name. - Product_type
The product_type element is required. It indicates where the sold item is a primary product or an ancillary product. The values areValue
Description
P
Primary product
A
Ancillary product
R
Reprocessed product
- Product_code
The product_code element is always present. It is the numeric condition code indicating the physical state of the catch in terms of what processing was done to it. The condition code is used to determine the product recovery rate to apply to the production item weight to derive the round weigh of the catch documented on the production item. - Weight
The weight element is This element is the scale weight for the production item. The weight may include up to 4 decimal places, and will be less than 100 million. For at-sea production reports, the weight is reported in metric tons. For shoreside production reports, the weight is reported in pounds. - Line Item Comment
The line item comment present in specific situations. If the product code for the production item is 97, the comment code for the line item comment will also be 97 and the comment text will contain a description of the condition of the fish. See the elandings online documentation for codes and valid combinations.- Comment_code
The comment_code element is the code for the comment. - Comment_test
The text information for the comment, if any was entered.
- Comment_code
- Line_Item_stat_area
The line_item_stat_area element is used internally by the eLandings system, and will not be present in exported or imported files.
Discard_item
The discard_item element is used on at-sea production reports to document discards. It will not be present on shoreside reports.
- Item_number
The item_number element is just the sequential item number for the report. However, item numbers may have a break in their sequence if a report is submitted, and then a line item is deleted. - Species
The species element is always present. It is the ADF&G numeric species code, and it indicates the species of the discard documented on the discard item.
The species element includes one attribute, the species name. - Disposition_code
The disposition_code element will always be present. It identifies the discard disposition of the discard item, such as discarded at sea or donated to a food bank. The valid disposition code values are available on the eLandings web application. - Weight
The weight element is may be present for discard items, but may be omitted on discard items where only a count is documented. This element is the scale weight in pounds for the discard item. The weight may include up to 4 decimal places, and will be less than 100 million. - Count
The count element is the number of animals accounted for on that line item. For discard lines count will always be present if weight is omitted. - Line_Item_stat_area
The line_item_stat_area element is used internally by eLandings, and will not be present in exported production reports.
Coded_comment
The coded_comment element is used for agency purposes. It will not appear in reports exported from eLandings, and should not be specified for reports that are to be imported to eLandings.