Class HouseWaybillParser

java.lang.Object
com.persequor.saga.modules.ffmreader.parser.FfmLineParser
com.persequor.saga.modules.ffmreader.parser.HouseWaybillParser

public class HouseWaybillParser extends FfmLineParser
A line in an FFM (Freight Forwarder Manifest) file with content like //HWB/I/FML4481-2-P845K7154.0 typically provides details about a House Waybill (HWB). A House Waybill is issued by a freight forwarder and relates to a shipment contained within a Master Air Waybill (MAWB).

Breakdown of the Line: //HWB/: Indicates this line provides information about a House Waybill (HWB). The // delimiters separate the components of the information. I: Refers to the type of HWB. Commonly, I could signify an Import Waybill. FML4481-2-P845K7154.0: A compound string that provides detailed shipment information. This example can be broken down as: FML4481-2: The House Waybill number. P845: Indicates number of pieces (in this case, 845). K7154.0: Indicates total weight in kilograms (7154.0 kg). Context in the Manifest: Position in the File: House Waybill lines typically follow or are associated with a Master Air Waybill (AWB) or a ULD entry. Association: This line is linked to the last parsed Master AWB (MAWB) or ULD. It provides detailed information about a subset of the cargo under the MAWB or ULD. Example: 065-47682125LHERUH/T1K155MC0.72/TENT AS SAMPLE //HWB/I/FML4481-2-P845K7154.0 065-47682125LHERUH/T1K155MC0.72/TENT AS SAMPLE: Master AWB details. //HWB/I/FML4481-2-P845K7154.0: Details of a shipment under the MAWB, specifying the HWB. Parser Considerations: Identify lines starting with //HWB/. Parse and store the HWB number, number of pieces, and weight. Associate the HWB details with the most recent MAWB or ULD.