When importing a landing or production report to eLandings, the XML document need not have every data item populated. Attributes should not be provided since they are populated by eLandings based on element data. For example, the species code element only needs its numeric code, such as "200". The name attribute should not be provided, eLandings knows that "200" is "Halibut". If attributes are entered they will be ignored. Therefore if you provide the species code as "200", and give the species_code name attribute as "Pollock" eLandings will identify the species as 200 Halibut. The species_code name will be ignored, and you will not get an error message that 200 does not equal Pollock.
The following identifies which elements are required, as well as ones that should not be populated.
Landing_report
The landing_report element is the top level element required in landing report import files. It contains the other data elements and is required.
Messages
The messages element should not be provided in import files.
Schema Version
The schema version data element should always be specified.
Landing_report_id
The landing_report_id is not required. If it is not present, a new landing report id will be generated. If the landing_report_id is specified, it must contain an importable landing report number received from eLandings.
Type of Landing Report
The type of landing report is required
Status
The status element should not be provided.
Transmission
The transmission element should not be provided.
Header
The header element is required.
- Vessel
The vessel element is required. - Crew_size
The crew_size element is required - Observers_onboard
The observers_onboard element is required. - Port_of_landing
The port_of_landing element is required. - Gear
The gear element required. - Proc_code_owner
The proc_code_owner element is required.- Proc_code
The proc_code element is required.
- Proc_code
- Proc_code_processor
The proc_code_processor element is not required, but should be provided if custom processing is taking place.- Proc_code
The proc_code element is required.
- Proc_code
- Date_fishing_began
The date_fishing_began element is generally required, but may not be required for some fisheries - Days_fished
The days_fished element may be required for some fisheries. - Date_of_landing
The date_of_landing element is required. - Partial_delivery
The partial_delivery element is required. - Last_delivery_for_trip
The last_delivery_for_trip element is not required. - Multiple_ifq_permits
The multiple_ifq_permits element is not required. - Manual_ifq_report
The manual_ifq_report element should not be provided. - Nearest_bay_or_headland
The nearest_bay_or_headland element should be provided for salmon reports, but not for other types of reports - Federal_processor_number
The federal_processor_number is required for groundfish and IFQ landings. This element may be provided even when not required. - Registered_buyer_number
The registered_buyer_number is required for IFQ halibut and sablefish reports. This element may be provided even when not required. - Registered_crab_receiver_number
The registered_crab_receiver_number is required for IFQ crab. This element may be provided even when not required. - Discard_report
The discard_report element is required for groundfish landing reports. - Tender_vessel
The tender_vessel element should only be used for tender deliveries. - Rsw_temp
The rsw_temp element should only be specified if the tender_vessel element is specified and RSW was used. - Buying_station_name
The buying_station_name element is not required, but may be specified if a buying station takes the delivery. - Agency_header_data
The agency_header_data element should not be provided. - Permit_worksheet
At least one permit_worksheet element is required.- Item_number
The item_number element should not be provided - Cfec_permit
The cfec_permit element is required- Fishery
The fishery element is required. - Permit_number
The permit_number element is required - Year_seq
The year_seq element is required
- Fishery
- Management_program
The management_program element is required.- Program
The program element is required. - Program_id
The program_id element is required if the management program has participant numbers, such as CDQ and AFA.
- Program
- Percent
The percent element is not required, but may be provided if you want to use eLandings to allocate harvest to permits. - Fish_ticket_number
The fish_ticket_number element is not required. When the file is imported the eLandings system will generate a new fish ticket number for each CFEC permit. If a fish ticket number is specified in the file it will be replaced. However, if a place holder fish ticket number is specified in the import file, and is used on line items, then the import process will replace the number consistently. This allows the allocations of line items to CFEC permits in the import file to be preserved even though new fish ticket numbers are generated. If the fish_ticket_number is an importable number obtained from eLandings it will not be replaced - Fish_ticket_sequence
The fish_ticket_sequence element should never be specified. - Batch Year
The batch_year element should never be specified. - Batch Office Code
The batch_office code element should never be specified. - Batch_number
The batch_number element should never be specified. - Ifq_permit_worksheet
The ifq_permit_worksheet element is not required, but may be specified.- Item_number
The item_number element should not be provided. - Ifq_permit_number
The ifq_permit_number element is required. - Nmfs_person_id
The nmfs_person_id element is required. - Species
The species element is required. - Fishery_area
The fishery_area element is not required, unless pounds is specified. - Pounds
The pounds element is not required, but may be specified to have eLandings allocate that number of pounds to the IFQ permit. - Ipq_permit_number
The ipq_permit_number is conditionally required for crab landings.
- Item_number
- Item_number
- Stat_area_worksheet
The stat_area_worksheet element is not required.- Item_number
The item_number element should not be specified. - Stat_area
The stat_area element is required. - Percent
The percent element is required. - Effort
The effort element is required for IFQ crab. Otherwise it should not be specified.
- Item_number
Line_item
At least one line_item element is required.
- Item_number
The item_number element should not be specified. - Fish_ticket_number
The fish_ticket_number element is not required. If it is specified the entire weight for the line item is allocated to that fish ticket. If provided, the fish_ticket_number value must match one of the values specified on the permit worksheet. - Stat_area
The stat_area element is required if the stat area worksheet is not specified. If the stat area worksheet is provided then the stat_area element on the line item may still be specified. - Species
The species element is required. - Condition_code
The condition_code element is required. - Weight
The weight element is required. - Weight_modifier
The weight_modifier element is not required. - Count
The count element is required for IFQ crab and for salmon, but not for groundfish. It may be used for discards. - Effort
The effort element is conditionally required. If the stat area for the line item is not specified and the stat area worksheet is used then the effort element is not required. If the line item stat area is specified then effort is required for IFQ crab. This is the number of pot lifts. Effort is not allowed for groundfish. - Disposition_code
The disposition_code element is required. - Agency_line_data
The agency_line_data element should not be specified. - Product_item
The product_item element may be provided for line items with sold dispositions. It is not allowed for line items that have non-sold dispositions. Multiple product_item elements may be specified per line item, for cases where the line item amount has multiple sizes and grades. For line items with a condition code that can be either a primary or ancillary product, at least one product_item is required. In that case, if the disposition of the line item is not a sold disposition then the product_item may not have a price.- Item_number
The item_number element should not be specified. - Product_code
The product_code element is required. Product code is a misnomer; this data element is actually the sold condition code. For IFQ crab it will be the same as the line item condition code. For groundfish it may be different, for example when the fisherman delivers whole sablefish, but is paid on the weight of dressed fish.
For IFQ crab the product code must always be the same as the line item condition code. - Product_type
The product_type element is required. - Size_grade
The size_grade element is not required. - Weight
The weight element is required. - Price
The price element is not required.
- Item_number
- Line_Item_stat_area
The agency_line_data element should not be specified. - Line Item Comment
The line item comment is conditionally required. If the condition code for the line item is 97, the comment code for the line item comment should also be 97 and the comment text should contain a description of the condition of the fish. Disposition codes of 62 for overages and 64 for tagged fish also require comments. In most cases the import files should not specify these dispositions, they should be edited in once the file is imported.
Ifq_report
The ifq_report element is not required.
- Item_number
The item_number element should not be specified. - Nmfs_person_id
The nmfs_person_id element is required. - Ifq_permit_number
The ifq_permit_number element is required. - Fish_ticket_number
The fish_ticket_number element is required. - Ipq_permit_number
The ipq_permit_number element is conditionally required. - Fishery
The fishery element is not required. - Species
The species element is required. - Ifq_item
At least one ifq_item element is required.- Item_number
The item_number element should not be specified. - Stat_area
The stat_area element is required. . - Iphc_regulatory_area
The iphc_regulatory_area element is not required for IFQ crab or sablefish. It is required for IFQ halibut. - Condition_code
The condition_code element is required. - Ice_and_slime
The ice_and_slime element is not required. It should not be specified for IFQ crab. - Price
The price element is not required for IFQ crab. It should not be specified for IFQ halibut and sablefish. - Sold_weight
The sold_weight element is not required. However, at least one of sold weight, retained weight, or deadloss weight must be specified. - Retained_weight
The retained_weight element is not required. However, at least one of sold weight, retained weight, or deadloss weight must be specified. - Deadloss_weight
The deadloss_weight element is not required. Deadloss weight should not be provided for IFQ halibut and sablefish.
- Item_number
Coded_comment
The coded_comment element should not be specified.