You are on page 1of 80

Listing of ER for Application : Customer Label (P5540R03) ======================================================================= FORM: Label Print [FIND BROWSE] (W5540R03A) ======================================================================= CONTROL:

FORM EVENT: Dialog is Initialized ----------------------------------------------------------------------OPT: Using Defaults 0001 // =========================================================== 0002 // Project : DP080204 0003 // Application : P5540R01 0004 // App Desc : Customer Label Print Program All Inputs 0005 // Developer : Nilesh Chavan 0006 // Request By : Palladino,Dale 0007 // Date : April 14, 2008 0008 // Reason : Print Customer Label 0009 // 0010 // Change Request # 1 05/14/2008 0011 // Request By : Palladino,Dale 0012 // Reason : Will be using the Shipment Number as the A SN 0013 // number 0014 // =========================================================== 0015 // Project ID Developer Request By Date Reason 0016 // -------------------------------------------------------------------------0017 // T004691 Nilesh Shiroma, Justin 1/18/2011 Print shipping labels is 0018 // writing the incorrect LITM and ITM back to F5546001. If there are multi ple 0019 // items, the first item that was printed will be written to F5546001 for a ll 0020 // items. 0021 // 0022 // T004712 Nilesh Shiroma, Justin 1/21/2011 Supplier Lot validate with U DC 0023 // 55/SL 0024 // T004988 Nilesh Eddie Hasz 03/03/2011 Enginnering Change 0025 // Add Eng Chage from F4104 where XREF = C CIRV to F5546001 0026 // Add New Field to Manual Screen ENG Change Demand 0027 // T005328 Nilesh Dominic Kroth 5/13/2011 Show All Orders 0028 // T006298 Nilesh Scott Lennig 11/02/2011 Add Button to print Paccar Seq 0029 // and Master Label 0030 // T006200 Nilesh Carrie Fetters 11/02/2011 Qty/Pack and # of Packs for GM 0031 // T006199 Nilesh Carrie Fetters 11/02/2011 Carton Weight for GM 0032 // =========================================================== 0033 // 0034 VA frm_SY_PID = "P5540R03" 0035 Get Audit Information VA frm_SY_USER <- BF szUserName VA frm_SY_UPMJ <- BF jdDate VA frm_SY_TDAY <- BF mnTime 0036 // 0037 // T005328 -------------------------- Start 0038 FC Show All Order (s) = 1 0039 FC Status Code - Next = "*" 0040 // T005328 -------------------------- End 0041 //

0042 // T006298 -------------- Start 0043 Get Next Unique Key ID "F5540R06" -> BF szObjectName VA frm_F5540R06_JOBS <- BF mnUniqueKeyID 0044 // T006298 -------------- End ----------------------------------------------------------------------EVENT: Post Dialog is Initialized ----------------------------------------------------------------------OPT: Using Defaults 0001 FC Show All Order (s) = "0" 0002 If FC LabelType is equal to <Blank> 0003 FC LabelType = "C" 0004 End If 0005 If FC Number of Labels is equal to <Blank> Or FC Number of Labels is equal to <Null> Or FC Number of Labels is equal to <Zero> 0006 FC Number of Labels = 2 0007 End If 0008 // 0009 // T005328 -------------------------- Start 0010 ! If FC LabelType is equal to "C" 0011 ! FC Status Code - Next = "560" 0012 ! End If 0013 ! If FC LabelType is equal to "M,Q" 0014 ! FC Status Code - Next = "580" 0015 ! End If 0016 FC Show All Order (s) = 1 0017 FC Status Code - Next = "*" 0018 // T005328 -------------------------- End 0019 // 0020 Set Selection Append Flag(FC Grid, <Yes>) 0021 Set Selection(FC Grid, F4211, SHPN, <Not Equal To>, <Zero>, <None>) 0022 // ----------------------------------------------------------------------EVENT: Write Grid Line-Before ----------------------------------------------------------------------evt_ShipmentID_SPID evt_CustomerPartNumber_VNPART evt_CrossReferType_XRT evt_mnQuantity1_TRQT evt_mnQuantity2_TRQT evt_OutsideCartonID_CROS evt_szAddressLine1_ADD1 evt_szZipCodePostal_ADDZ evt_szCity_CTY1 evt_szState_ADDS evt_szCostCenter_MCU evt_mnAddressNumber_AN8 evt_EDISupplierCode_55EDSC evt_DemandReference3_DMDREF3 evt_DemandReference4_DMDREF4 evt_SpecialMark_DMDREF evt_mnLength_MATH01 evt_NewAddress_AN8 evt_succcccccc evt_APTA1 evt_APTA2 evt_jdF4104FromDate_UPMJ evt_jdF4104ToDate_UPMJ

0001 0002 0003 0004 0005 c01

evt_ActualPart_VNPART evt_F4104Part_VNPART evt_55_CI_KY evt_55_ProductCode_SY evt_55_UserDefinedCodes_RT evt_55_CI_SPHD OPT: Using Defaults // -----------------------// ASN # // -----------------------// Change Request # 1 05/14/2008 Start ! Convert Math_Numeric To String ! BC Document (Order No, Invoice, etc.) (F4211)(DOCO) -> BF mnMathNumeri

! VA evt_ShipmentID_SPID <- BF szString 0006 ! F47036.Select ! VA evt_ShipmentID_SPID = TK Shipment I.D. 0007 ! F47036.Fetch Next ! GC ASN Number <- TK EDI - Document Number 0008 GC ASN Number = GC Shipment Number 0009 // Change Request # 1 05/14/2008 End 0010 // 0011 // -----------------------0012 // Supplier 0013 // -----------------------0014 F5547001.Fetch Single GC Sold To = TK Address Number GC Ship To = TK Address Number - Ship To GC Business Unit = TK Business Unit VA evt_EDISupplierCode_55EDSC <- TK EDI Supplier Code 0015 If SV File_IO_Status is equal to CO SUCCESS 0016 VA evt_EDISupplierCode_55EDSC = rtrim(ltrim([VA evt_EDISupplierCode_55ED SC]," ")," ") 0017 GC Supplier = VA evt_EDISupplierCode_55EDSC 0018 GC Supplier # = VA evt_EDISupplierCode_55EDSC 0019 Else 0020 V554700B.Fetch Single GC Sold To = TK Address Number GC Ship To = TK Address Number - Ship To GC Business Unit = TK Business Unit VA evt_EDISupplierCode_55EDSC <- TK EDI Supplier Code 0021 VA evt_EDISupplierCode_55EDSC = rtrim(ltrim([VA evt_EDISupplierCode_55ED SC]," ")," ") 0022 GC Supplier = VA evt_EDISupplierCode_55EDSC 0023 GC Supplier # = VA evt_EDISupplierCode_55EDSC 0024 End If 0025 // 0026 // -----------------------0027 // Customer Part 01/29/09 Logic change for Customer Part Numbe r 0028 // -----------------------0029 VA evt_CrossReferType_XRT = "C" 0030 ! F4104.Select ! GC Sold To = TK Address Number ! VA evt_CrossReferType_XRT = TK Type - Cross-Reference Type Code ! GC Short Item No = TK Item Number - Short 0031 ! F4104.Fetch Next ! VA evt_jdF4104ToDate_UPMJ <- TK Date - Expired ! VA evt_jdF4104FromDate_UPMJ <- TK Date - Effective ! VA evt_ActualPart_VNPART <- TK Item Number - Customer/Supplier

0032 ! While SV File_IO_Status is equal to CO SUCCESS 0033 ! If SL DateToday is greater than or equal to VA evt_jdF4104FromDate_UPM J And SL DateToday is less than or equal to VA evt_jdF4104ToDate_UPMJ 0034 ! VA evt_F4104Part_VNPART = VA evt_ActualPart_VNPART 0035 ! End If 0036 ! F4104.Fetch Next ! VA evt_jdF4104ToDate_UPMJ <- TK Date - Expired ! VA evt_jdF4104FromDate_UPMJ <- TK Date - Effective ! VA evt_ActualPart_VNPART <- TK Item Number - Customer/Supplier 0037 ! End While 0038 ! VA evt_CustomerPartNumber_VNPART = VA evt_F4104Part_VNPART 0039 ! If VA evt_CustomerPartNumber_VNPART is equal to <Blank> Or VA evt_Custome rPartNumber_VNPART is equal to <Null> Or VA evt_CustomerPartNumber_VNPART is equ al to <Zero> 0040 ! F40R10.Fetch Single ! GC Business Unit = TK Business Unit ! GC Sold To = TK Address Number ! GC Ship To = TK Address Number - Ship To ! GC Short Item No = TK Item Number - Short ! VA evt_CustomerPartNumber_VNPART <- TK Vendor Part Number 0041 ! End If 0042 ! // 0043 ! VA evt_55_CI_KY = rtrim(ltrim([BC Business Unit (F4211)(MCU)]," ")," ") 0044 ! VA evt_55_ProductCode_SY = "55" 0045 ! VA evt_55_UserDefinedCodes_RT = "CI" 0046 ! F0005.Fetch Single ! VA evt_55_ProductCode_SY = TK Product Code ! VA evt_55_UserDefinedCodes_RT = TK User Defined Codes ! VA evt_55_CI_KY = TK User Defined Code ! VA evt_55_CI_SPHD <- TK Special Handling Code - User Def Codes 0047 ! If VA evt_55_CI_SPHD is equal to "Y" 0048 ! If BC Reference 2 (F4211)(VR02) is equal to <Blank> Or BC Reference 2 (F4211)(VR02) is equal to <Null> Or BC Reference 2 (F4211)(VR02) is equal to <Ze ro> 0049 ! Else 0050 ! VA evt_CustomerPartNumber_VNPART = BC Reference 2 (F4211)(VR02) 0051 ! End If 0052 ! Else 0053 ! End If 0054 ! GC Customer Part = VA evt_CustomerPartNumber_VNPART 0055 // 0056 PullCustomerPartNumberVR02 GC Sold To -> BF mnAddressNumber GC Short Item No -> BF mnIdentifierShortItem GC Order Co -> BF szCompanyKeyOrderNo GC Order Number -> BF mnDocumentOrderInvoiceE GC Order Type -> BF szOrderType GC Line Number -> BF mnLineNumber GC Business Unit -> BF szCostCenter GC Ship To -> BF mnAddressNumberShipTo GC PartDescription <- BF szDescriptionLine1 GC Customer Part <- BF szItemNoCustomerVendor 0057 // 0058 // -----------------------0059 // Item Description 0060 // -----------------------0061 VA evt_CrossReferType_XRT = "C" 0062 F4104.Select GC Sold To = TK Address Number VA evt_CrossReferType_XRT = TK Type - Cross-Reference Type Code

GC Short Item No = TK Item Number - Short 0063 F4104.Fetch Next GC Part Description <- TK Description 0064 // 0065 // -----------------------0066 // Engineering Change 0067 // -----------------------0068 VA evt_CrossReferType_XRT = "EC" 0069 F4104.Select VA evt_CrossReferType_XRT = TK Type - Cross-Reference Type Code GC Short Item No = TK Item Number - Short 0070 F4104.Fetch Next GC Engineering Change <- TK Item Number - Customer/Supplier 0071 // 0072 // -----------------------0073 // Next Status 0074 // -----------------------0075 If FC Show All Order (s) is equal to "1" 0076 FC Status Code - Next = "*" 0077 Else 0078 If FC LabelType is equal to "C" 0079 FC Status Code - Next = "560" 0080 End If 0081 If FC LabelType is equal to "M,Q" 0082 FC Status Code - Next = "580" 0083 End If 0084 End If 0085 // 0086 // -----------------------0087 // WH-LOC / Special Mark 0088 // -----------------------0089 F40R11.Fetch Single BC Demand Unique Key ID (F4211)(DEID) = TK Demand Unique Key ID GC Assembly Line Feed <- TK Assembly Line Feed GC WH-LOC <- TK Dock ID VA evt_DemandReference3_DMDREF3 <- TK Demand Reference 3 VA evt_DemandReference4_DMDREF4 <- TK Demand Reference 4 0090 If SV File_IO_Status is equal to CO SUCCESS 0091 Else 0092 F40R11.Fetch Single BC Demand Unique Key ID (F4211)(DEID) = TK Demand Unique Key ID GC Assembly Line Feed <- TK Assembly Line Feed GC WH-LOC <- TK Dock ID VA evt_DemandReference3_DMDREF3 <- TK Demand Reference 3 VA evt_DemandReference4_DMDREF4 <- TK Demand Reference 4 0093 End If 0094 VA evt_mnLength_MATH01 = length([VA evt_DemandReference3_DMDREF3]) 0095 If VA evt_mnLength_MATH01 is less than "35.00" 0096 VA evt_DemandReference3_DMDREF3 = rpad([VA evt_DemandReference3_DMDREF3] ," ",35) 0097 End If 0098 VA evt_mnLength_MATH01 = length([VA evt_DemandReference4_DMDREF4]) 0099 If VA evt_mnLength_MATH01 is less than "35.00" 0100 VA evt_DemandReference4_DMDREF4 = rpad([VA evt_DemandReference4_DMDREF4] ," ",35) 0101 End If 0102 VA evt_SpecialMark_DMDREF = concat([VA evt_DemandReference3_DMDREF3],[VA ev t_DemandReference4_DMDREF4]) 0103 GC Special Mark = VA evt_SpecialMark_DMDREF 0104 //

0105 0106 0107 0108 0109

// -----------------------// Company Address // -----------------------VA evt_szCostCenter_MCU = BC Business Unit (F4211)(MCU) F0006.Fetch Single VA evt_szCostCenter_MCU = TK Business Unit VA evt_mnAddressNumber_AN8 <- TK Address Number 0110 VA evt_NewAddress_AN8 = VA evt_mnAddressNumber_AN8 0111 F0116 Get Address VA evt_NewAddress_AN8 -> BF mnAddressNumber VA evt_szAddressLine1_ADD1 <- BF szAddressLine1 VA evt_szZipCodePostal_ADDZ <- BF szPostalCode VA evt_szCity_CTY1 <- BF szCity VA evt_szState_ADDS <- BF szState SL DateToday -> BF jdEffectiveDate 0112 GC Company Address = rtrim(ltrim(concat(concat(concat(concat(concat(concat( [VA evt_szAddressLine1_ADD1],', '),[VA evt_szCity_CTY1]),', '),[VA evt_szState_A DDS]),' '),[VA evt_szZipCodePostal_ADDZ])," ")," ") 0113 // 0114 // -----------------------0115 // Quantity 0116 // -----------------------0117 Spot Number Of Pallet GC Shipment Number -> BF mnShipmentNumber "Q" -> BF cPalletCartonMixFlag VA evt_APTA1 <- BF szString GC Quantity <- BF mnQuantityTotal VA evt_APTA2 <- BF szStringQuantity 0118 If GC Quantity is greater than <Zero> 0119 GC Quantity = "....." 0120 Else 0121 Set Grid Color(FC Grid, <Currently Selected Row>, GC Quantity, <Aqua>) 0122 End If 0123 F4620ServiceShipment GC ASN Number -> BF mnShipmentNumber GC D/O Number / Pull Signal -> BF szPullSignal "P" -> BF cCartonFlag GC Carton Count <- BF mnCartonCount 0124 // 0125 // -----------------------0126 // B/L Number 0127 // -----------------------0128 F49696.Select GC Shipment Number = TK Shipment Number 0129 F49696.Fetch Next GC BL Number <- TK Document (Voucher, Invoice, etc.) 0130 // 0131 If GC D/O Number / Pull Signal is equal to VA frm_prvPullSignal_PSIG And G C Shipment Number is equal to VA frm_prvShipmentNumber_SHPN And GC Part Number i s equal to VA frm_prvPartNumber_LITM And GC Customer Part is equal to VA frm_prv CustomerNumber_VNPART And GC Order Number is equal to VA frm_prvDocumentOrderInv _DOCO And GC Order Type is equal to VA frm_prvOrderType_DCTO 0132 Suppress Grid Line(FC Grid) 0133 Hide Grid Row(FC Grid, <Currently Selected Row>) 0134 Else 0135 // T006298 -------------- Start 0136 VA frm_ProgramId_PID = "N5540R03" 0137 F5540R05.Insert GC Shipment Number -> TK Shipment Number GC Short Item No -> TK Item Number - Short

0138 0139 0140 0141 0142 0143 0144 0145 0146

GC Part Number -> TK 2nd Item Number VA frm_ProgramId_PID -> TK Program ID VA frm_SY_UPMJ -> TK Date - Updated VA frm_SY_TDAY -> TK Time of Day VA frm_F5540R06_JOBS -> TK Job Number VA frm_SY_USER -> TK User ID GC D/O Number / Pull Signal -> TK Pull Signal GC Order Co -> TK Order Company (Order Number) GC Order Number -> TK Document (Order No, Invoice, etc.) GC Order Type -> TK Order Type GC Lot Serial Number -> TK Lot/Serial Number GC Customer Part -> TK Vendor Part Number // T006298 -------------- End End If VA frm_prvShipmentNumber_SHPN = GC Shipment Number VA frm_prvPullSignal_PSIG = GC D/O Number / Pull Signal VA frm_prvPartNumber_LITM = GC Part Number VA frm_prvCustomerNumber_VNPART = GC Customer Part VA frm_prvDocumentOrderInv_DOCO = GC Order Number VA frm_prvOrderType_DCTO = GC Order Type //

----------------------------------------------------------------------EVENT: End Dialog ----------------------------------------------------------------------evt_SSCCNumberTareLevel evt_Jobnumber_JOBS evt_ProgramId_PID OPT: Using Defaults 0001 ClearLabelTableCache "N" -> BF cClearAll GC Shipment Number -> BF mnShipmentNumber "N5540R03" -> BF szProgramId <Zero> -> BF mnJobnumberA 0002 // T006298 -------------- Start 0003 ClearLabelTableCache "N" -> BF cClearAll GC Shipment Number -> BF mnShipmentNumber "N5540R41" -> BF szProgramId VA frm_F5540R06_JOBS -> BF mnJobnumberA 0004 // T006298 -------------- End 0005 Press Button(FC F) ----------------------------------------------------------------------EVENT: Variables ----------------------------------------------------------------------frm_prvPullSignal_PSIG frm_prvShipmentNumber_SHPN frm_F5540R03Jobnumber_JOBS frm_prvPartNumber_LITM frm_prvCustomerNumber_VNPART frm_cUpdateFlag_EV01 frm_cManualPrint_EV01 frm_F5540R01_UKID_UKID frm_F55540R01_TEXT_DESC1 frm_cTotePrintCall_EV01 frm_cCartonViewFlag_EV01 frm_MasterCartonPrintFlag_EV01 frm_ProgramId_PID frm_prvDocumentOrderInv_DOCO

frm_prvOrderType_DCTO frm_cReserveFlag frm_cViewService_EV01 frm_cPrintService_EV01 frm_SY_UPMJ frm_SY_USER frm_SY_TDAY frm_SY_PID frm_QuickPrint_EV01 frm_cPaccarLabel_EV01 frm_F5540R06_CROS frm_prvF5540R06_CROS frm_F5540R06_TQTY frm_F5540R06_JOBS ======================================================================= CONTROL: HYPITEM F&ind EVENT: Button Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 ! Clear Grid Buffer(FC Grid) 0002 ! Clear Selection(FC Grid) 0003 // T006298 -------------- Start 0004 ClearLabelTableCache "3" -> BF cClearAll "N5540R03" -> BF szProgramId VA frm_F5540R06_JOBS -> BF mnJobnumberA 0005 // T006298 -------------- End ======================================================================= CONTROL: HYPITEM Pallet Detail1 EVENT: Button Clicked ----------------------------------------------------------------------evt_cContainerORMaster_EV01 OPT: Using Defaults 0001 VA evt_cContainerORMaster_EV01 = "M" ======================================================================= CONTROL: HYPITEM Carton Detail1 EVENT: Button Clicked ----------------------------------------------------------------------evt_cContainerORMaster_EV01 OPT: Using Defaults 0001 VA evt_cContainerORMaster_EV01 = "C" ======================================================================= CONTROL: HYPITEM View (Pallet) EVENT: Post Button Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 Press Button(FC Edit Quantity) ======================================================================= CONTROL: HYPITEM View (Carton) EVENT: Post Button Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 VA frm_cCartonViewFlag_EV01 = "Y" 0002 Press Button(FC Edit Quantity)

======================================================================= CONTROL: HYPITEM Print (Pallet) EVENT: Post Button Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 If GC Carton Count is greater than <Zero> 0002 Press Button(FC Print) 0003 End If ======================================================================= CONTROL: HYPITEM Print (Carton) EVENT: Post Button Clicked ----------------------------------------------------------------------evt_PrintConfirmFlag_EV01 OPT: Using Defaults 0001 VA frm_MasterCartonPrintFlag_EV01 = "Y" 0002 Call( App:P5540R03 , Form:W5540R03H , Ver: MEAA0001 ) VA evt_PrintConfirmFlag_EV01 <> FI cConfirmationFlag GC Shipment Number -> FI mnShipmentNumber 0003 If VA evt_PrintConfirmFlag_EV01 is equal to "Y" 0004 Press Button(FC Print) 0005 VA frm_MasterCartonPrintFlag_EV01 = "N" 0006 End If ======================================================================= CONTROL: HYPITEM Manual EVENT: Post Button Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 If GC Quantity is greater than <Zero> 0002 VA frm_cReserveFlag = "N" 0003 Else 0004 VA frm_cReserveFlag = "Y" 0005 End If 0006 VA frm_QuickPrint_EV01 = "N" 0007 Press Button(FC Manual Print) ======================================================================= CONTROL: HYPITEM &QuickPrint EVENT: Post Button Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 If GC Quantity is greater than <Zero> 0002 VA frm_cReserveFlag = "N" 0003 Else 0004 VA frm_cReserveFlag = "Y" 0005 End If 0006 VA frm_QuickPrint_EV01 = "Y" 0007 Press Button(FC Manual Print) 0008 // ======================================================================= CONTROL: HYPITEM Print PLT by Serial EVENT: Button Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 // T006298 -------------- Start 0002 VA frm_cPaccarLabel_EV01 = "Y" 0003 If GC Carton Count is greater than <Zero> 0004 Press Button(FC Print)

0005 VA frm_cPaccarLabel_EV01 = "N" 0006 End If 0007 // T006298 -------------- End ======================================================================= CONTROL: HYPITEM Print CTN by Seq EVENT: Post Button Clicked ----------------------------------------------------------------------evt_cPrintConfirmation_EV01 OPT: Using Defaults 0001 // T006298 -------------- Start 0002 VA frm_cPaccarLabel_EV01 = "Y" 0003 VA frm_MasterCartonPrintFlag_EV01 = "Y" 0004 Call( App:P5540R03 , Form:W5540R03H , Ver: MEAA0001 ) VA evt_cPrintConfirmation_EV01 <> FI cConfirmationFlag GC Shipment Number -> FI mnShipmentNumber 0005 If VA evt_cPrintConfirmation_EV01 is equal to "Y" 0006 Press Button(FC Print) 0007 VA frm_MasterCartonPrintFlag_EV01 = "N" 0008 VA frm_cPaccarLabel_EV01 = "N" 0009 End If 0010 // T006298 -------------- End ======================================================================= CONTROL: EDIT LabelType EVENT: Control Exited/Changed-Inline ----------------------------------------------------------------------OPT: Using Defaults 0001 If FC LabelType is equal to <Blank> 0002 Else 0003 Clear Control Error(FC LabelType) 0004 End If ======================================================================= CONTROL: EDIT PrinterName EVENT: Control Exited/Changed-Inline ----------------------------------------------------------------------OPT: Using Defaults evt_DescriptionLine2 evt_DescriptionLine1 0001 Get UDC "D3N" -> BF szSystemCode "PT" -> BF szRecordTypeCode FC PrinterName -> BF szUserDefinedCode VA evt_DescriptionLine1 <- BF szDescription001 VA evt_DescriptionLine2 <- BF szDescription002 0002 If FC PrinterName is equal to <Blank> 0003 Else 0004 Clear Control Error(FC PrinterName) 0005 FC Printer Desc = concat(concat([VA evt_DescriptionLine1],' - '),[VA evt _DescriptionLine2]) 0006 End If ======================================================================= CONTROL: GRIDCOL Quantity EVENT: Grid Column Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 Press Button(FC Edit Quantity)

======================================================================= CONTROL: BUTTON Print [HIDDEN] EVENT: Button Clicked ----------------------------------------------------------------------evt_szFilePath_EFRM evt_szFileName_EFRM evt_szPrinter_DSC1 evt_mnF4072PriceAdjustmnt_ATID evt_jdF4072DtEffectiveJul_EFTJ evt_jdF4072DtExpiredJul_EXDJ evt_PriceAdjustmentTy_AST evt_szDataItem_DTAI evt_szLabelFormat_GENSTR evt_SequenceNumber_SEQ evt_szLogFile_EFRM evt_szLogFileName_EFRM evt_GenericLong_GENLNG evt_szRecord_APTA evt_cOutPutFileFlag_EV04 evt_test evt_szString3_CONSTR3 evt_mnF4620CartonID1_CROS evt_mnF4620Quantity1_TQTY evt_mnF4620Quantity2_TQTY evt_szF4620ContainerSeri1_CTSN evt_mnF4620IdentShortItem_ITM evt_mnF4620CartonID2_CROS evt_mnCounter_MATH01 evt_szF4620ContainerSeri2_CTSN evt_mnLen_MATH01 evt_cPrintLabel_EV01 evt_mnNumberOfPallet_MATH01 evt_szPalletString_APTA evt_szSerialNumbers_APTA evt_mnPLength_MATH01 evt_mnSLength_MATH01 evt_mnPpositionFound_MATH02 evt_mnSpositionFound_MATH02 evt_szPActualPallet_DSC1 evt_szSActualSerial_DSC1 evt_mnPalletID_CRID evt_szContainerSerial_CTSN evt_mnDeductLength_MATH01 evt_F5540R03QuantityTotal_TQTY evt_F5540R03PullSignal_PSIG evt_F5540R03PalletSerial_PLT evt_F5540R03ShipmentNumbe_SHPN evt_F5540R03SupplierCd_55EDSC evt_F5540R03PromisedShip_PPDJ evt_F5540R03PartNum_LITM evt_F5540R03PartDes_DSC1 evt_F5540R03VendorPart_VNPART evt_F5540R03SoldTo_AN8 evt_F5540R03ShipTo_SHAN evt_F5540R03LineFeed_ASBLNFD evt_F5540R03EngineeringC_CITM evt_F5540R03ComAddress_QTXT evt_F5540R03SpecialMark_ADDR evt_F5540R03BLNo_DOC evt_cUpdateFlag_EV01

evt_F5540R03SoldTo_ADD1 evt_F5540R03SoldTo_ADD2 evt_F5540R03SoldTo_ADD3 evt_F5540R03SoldTo_ADD4 evt_F5540R03SoldTo_ADDZ evt_F5540R03SoldTo_CTY1 evt_F5540R03SoldTo_ADDS evt_F5540R03ShipTo_PAD1 evt_F5540R03ShipTo_PAD2 evt_F5540R03ShipTo_PAD3 evt_F5540R03ShipTo_PAD4 evt_F5540R03ShipTo_CITY evt_F5540R03ShipTo_ADSO evt_F5540R03ShipTo_ADDO evt_F5540R03MadeInCountry_DL03 evt_F5540R03CustCartonId_CEQT evt_F5540R03PCI11_DL11 evt_F5540R03PCI12_DL12 evt_F5540R03PCI13_DL13 evt_F5540R03PCI14_DL14 evt_F5540R03PCI15_DL15 evt_F5540R03PCI16_DL16 evt_F5540R03PCI17_DL17 evt_F5540R03Date_TRDJ evt_F5540R03Date_DL10 evt_JobnumberA_JOBS evt_F5542003TotWeight_AA1 evt_F5542003TotQty_AA2 evt_F5542003NumfPirces_NPCS evt_F5542003QuantityTotal_TQTY evt_F5542003ActualWeight_AWGT evt_ConversionFactor_CONV evt_F5540R03EDIPlantID_55EDPI evt_F5540R03RsvrLnFeed_RSVLNFD evt_F5540R03MfgDate_UPMJ evt_F5540R03WhLoc_DKID evt_F5540R03AsemLnLoc_ASBLNLOC evt_F5540R03Reference1_VR01 evt_PalletID_CROS evt_F5540R04ContainerSer_CTSN evt_F5540R04QuantityTotal_TQTY evt_F5540R03QLvlMercedes_CITM evt_F5540R04Sequence_DSC1 evt_F5540R03_DSC3 evt_F5540R03_DMDREF1 evt_F5540R03_DMDREF2 evt_F5540R03_DMDREF3 evt_F5540R03_DMDREF4 evt_F5540R03_DMDREF5 evt_F5540R03_DMDREF6 evt_F5540R03_DMDREF7 evt_F5540R03_DMDREF8 evt_F5540R03_DMDREF9 evt_F5540R03_DMDREF10 evt_F5540R03ShipmentTime_PMDT evt_F5540R03SpecialHand_SPHD evt_LBActualWeight_AWGT evt_F5540R03_PSJOBNO evt_F5540R04_PSJOBNO evt_F5540R03_JOBSQ

evt_F5540R04_JOBSQ evt_F5540R03_PLT evt_F5540R04_PLT evt_CounterSub_MATH01 evt_Counter_DSC1 evt_F5540R03_DL06 evt_F5540R03_DL07 evt_F5540R03_DL08 evt_F5540R03_CIRV evt_F5540R03_PEFJ evt_F5540R03_DL09 evt_F5540R03_DL10 evt_F5540R03_DL11 evt_F5540R03_STDS evt_F5540R03_LDSC evt_F5540R04_CROS evt_F5540R04_CRID evt_UserReservedCode_URCD evt_F5540R04_SCCN evt_F5540R04_UPCN evt_F5540R04_PAK evt_F5540R03_SCC0 evt_F5546001_LITM evt_F5546001_ITM evt_F5546001_AC13 evt_F5540R03_SERN evt_F5540R03_NEW_CIRV evt_F5540R04_DelBatNum_DELBATC evt_HardCodedYN_HRDC evt_F5540R03_AN80 evt_F5540R03_RORN evt_F5540R03_FIFO evt_F5540R03_HIMEJI evt_F5540R03_HITACHI evt_F5540R03_DENSO evt_F5540R03_FUSO evt_F5540R04_FIFO evt_F5540R04_HIMEJI evt_F5540R04_HITACHI evt_F5540R04_DENSO evt_F5540R04_FUSO evt_ITEMVOLT_SRP8 evt_ITEMAMP_PRP0 evt_cFormatFoundFlag_EV01 evt_F5540R03_DL18 evt_F5540R03_PRP3 evt_F5540R03_OTADD1 evt_F5540R03_OTADD2 evt_F5540R03_OTADD3 evt_F5540R03_OTADD4 evt_F5540R03_OTCITY evt_F5540R03_AARS evt_F5540R03_OTZIP evt_F5540R03_ITM evt_Filler1_DSC1 evt_Filler2_DSC2 evt_ConnectionString1_CONSTR1 evt_F5540R05_SHPN evt_F5540R05_ITM evt_F5540R05_LITM

evt_F5540R05_PSIG evt_F5540R05_KCOO evt_F5540R05_DOCO evt_F5540R05_DCTO evt_F5540R05_LOT evt_F5540R05_VNPART evt_NPCS_NPCS evt_F5540R03_CROS OPT: Using Defaults 0001 // ==================================== 0002 // Print Barcode Detail 0003 // ==================================== 0004 If FC Number of Labels is equal to <Blank> Or FC Number of Labels is equal to <Null> Or FC Number of Labels is equal to <Zero> 0005 FC Number of Labels = 2 0006 End If 0007 VA evt_mnCounter_MATH01 = 1 0008 // 0009 // ==================================== 0010 // Check For Pre-Label Print Validation 0011 // ==================================== 0012 If FC LabelType is equal to <Blank> 0013 Set Control Error(FC PrinterName, "H00033") 0014 Set Control Focus(FC LabelType) 0015 VA evt_cPrintLabel_EV01 = "N" 0016 Else 0017 If FC PrinterName is equal to <Blank> 0018 Set Control Error(FC PrinterName, "H00033") 0019 Set Control Focus(FC PrinterName) 0020 VA evt_cPrintLabel_EV01 = "N" 0021 Else 0022 Clear Control Error(FC LabelType) 0023 Clear Control Error(FC PrinterName) 0024 Get UDC "D3N" -> BF szSystemCode "PT" -> BF szRecordTypeCode FC PrinterName -> BF szUserDefinedCode VA evt_szPrinter_DSC1 <- BF szDescription001 0025 VA evt_szPrinter_DSC1 = rtrim(ltrim([VA evt_szPrinter_DSC1]," ")," ") 0026 // 0027 FC PrinterName = rtrim(ltrim([FC PrinterName]," ")," ") 0028 // 0029 // --------------------------------------------------0030 // 0031 Get Server File Path Information VA evt_szFilePath_EFRM <- BF szFilePath "D3N" -> BF szProductCode "TY" -> BF szUserDefinedCodes FC LabelType -> BF szUserDefinedCode "Pas" -> BF szString1 VA evt_szFileName_EFRM <- BF szString2 VA evt_szString3_CONSTR3 <- BF szString3 0032 // --------------------------------------------------0033 // FetchLabel Format 0034 // --------------------------------------------------0035 VA evt_PriceAdjustmentTy_AST = "CTNLABEL" 0036 VA evt_szDataItem_DTAI = "LBLFMT" 0037 Convert String to Math Numeric VA evt_szString3_CONSTR3 -> BF szInputString VA evt_SequenceNumber_SEQ <- BF mnOutputMathNumeric

0038 0039 0040 0041 0042 0043

VA // // // If

evt_cFormatFoundFlag_EV01 = "N" ==================================== Ship to & Item ............................ VA evt_cFormatFoundFlag_EV01 is equal to "N" F4072.Select VA evt_PriceAdjustmentTy_AST = TK Price Adjustment Name GC Part Number = TK 2nd Item Number GC Ship To = TK Address Number F4072.Fetch Next VA evt_jdF4072DtEffectiveJul_EFTJ <- TK Date - Effective VA evt_jdF4072DtExpiredJul_EXDJ <- TK Date - Expired VA evt_mnF4072PriceAdjustmnt_ATID <- TK Price Adjustment Key ID If SV File_IO_Status is equal to CO SUCCESS F40721.Select VA evt_mnF4072PriceAdjustmnt_ATID = TK Price Adjustment Key

0044

0045 0046 ID

0047 0048 0049 0050 0051 0052 0053 0054 0055 0056 0057 0058 0059 0060

0061

0062 0063 ID

VA evt_PriceAdjustmentTy_AST = TK Price Adjustment Name VA evt_SequenceNumber_SEQ = TK Sequence Number VA evt_szDataItem_DTAI = TK Data Item F40721.Fetch Next VA evt_szLabelFormat_GENSTR <- TK Generic String Field Value If SV File_IO_Status is equal to CO SUCCESS VA evt_cFormatFoundFlag_EV01 = "Y" Else VA evt_cFormatFoundFlag_EV01 = "N" End If Else VA evt_cFormatFoundFlag_EV01 = "N" End If End If // ======= // Sold to & Item ............................ If VA evt_cFormatFoundFlag_EV01 is equal to "N" F4072.Select VA evt_PriceAdjustmentTy_AST = TK Price Adjustment Name GC Part Number = TK 2nd Item Number GC Sold To = TK Address Number F4072.Fetch Next VA evt_jdF4072DtEffectiveJul_EFTJ <- TK Date - Effective VA evt_jdF4072DtExpiredJul_EXDJ <- TK Date - Expired VA evt_mnF4072PriceAdjustmnt_ATID <- TK Price Adjustment Key ID If SV File_IO_Status is equal to CO SUCCESS F40721.Select VA evt_mnF4072PriceAdjustmnt_ATID = TK Price Adjustment Key VA evt_PriceAdjustmentTy_AST = TK Price Adjustment Name VA evt_SequenceNumber_SEQ = TK Sequence Number VA evt_szDataItem_DTAI = TK Data Item F40721.Fetch Next VA evt_szLabelFormat_GENSTR <- TK Generic String Field Value If SV File_IO_Status is equal to CO SUCCESS VA evt_cFormatFoundFlag_EV01 = "Y" Else VA evt_cFormatFoundFlag_EV01 = "N" End If Else VA evt_cFormatFoundFlag_EV01 = "N" End If End If

0064 0065 0066 0067 0068 0069 0070 0071 0072 0073

0074 0075 0076 0077 0078

0079 0080 ID

// ======= // Ship to ............................ If VA evt_cFormatFoundFlag_EV01 is equal to "N" F4072.Select VA evt_PriceAdjustmentTy_AST = TK Price Adjustment Name GC Ship To = TK Address Number F4072.Fetch Next VA evt_jdF4072DtEffectiveJul_EFTJ <- TK Date - Effective VA evt_jdF4072DtExpiredJul_EXDJ <- TK Date - Expired VA evt_mnF4072PriceAdjustmnt_ATID <- TK Price Adjustment Key ID If SV File_IO_Status is equal to CO SUCCESS F40721.Select VA evt_mnF4072PriceAdjustmnt_ATID = TK Price Adjustment Key VA evt_PriceAdjustmentTy_AST = TK Price Adjustment Name VA evt_SequenceNumber_SEQ = TK Sequence Number VA evt_szDataItem_DTAI = TK Data Item F40721.Fetch Next VA evt_szLabelFormat_GENSTR <- TK Generic String Field Value If SV File_IO_Status is equal to CO SUCCESS VA evt_cFormatFoundFlag_EV01 = "Y" Else VA evt_cFormatFoundFlag_EV01 = "N" End If Else VA evt_cFormatFoundFlag_EV01 = "N" End If End If // ======= // Sold to ............................ If VA evt_cFormatFoundFlag_EV01 is equal to "N" F4072.Select VA evt_PriceAdjustmentTy_AST = TK Price Adjustment Name GC Sold To = TK Address Number F4072.Fetch Next VA evt_jdF4072DtEffectiveJul_EFTJ <- TK Date - Effective VA evt_jdF4072DtExpiredJul_EXDJ <- TK Date - Expired VA evt_mnF4072PriceAdjustmnt_ATID <- TK Price Adjustment Key ID If SV File_IO_Status is equal to CO SUCCESS F40721.Select VA evt_mnF4072PriceAdjustmnt_ATID = TK Price Adjustment Key VA evt_PriceAdjustmentTy_AST = TK Price Adjustment Name VA evt_SequenceNumber_SEQ = TK Sequence Number VA evt_szDataItem_DTAI = TK Data Item F40721.Fetch Next VA evt_szLabelFormat_GENSTR <- TK Generic String Field Value If SV File_IO_Status is equal to CO SUCCESS VA evt_cFormatFoundFlag_EV01 = "Y" Else VA evt_cFormatFoundFlag_EV01 = "N" End If Else VA evt_cFormatFoundFlag_EV01 = "N" End If End If // // ==================================== // VA evt_szLabelFormat_GENSTR = concat(rtrim(ltrim([VA evt_szLabelForma

0081 0082 0083 0084 0085 0086 0087 0088 0089 0090 0091 0092 0093 0094 0095

0096 0097 ID

0098 0099 0100 0101 0102 0103 0104 0105 0106 0107 0108 0109 0110 0111

t_GENSTR]," ")," "),'') 0112 If VA evt_szLabelFormat_GENSTR is equal to <Blank> Or VA evt_szLabelF ormat_GENSTR is equal to <Null> Or VA evt_szLabelFormat_GENSTR is equal to <Zero > 0113 VA evt_cPrintLabel_EV01 = "N" 0114 Call( App:P5540R03 , Form:W5540R03C , Ver: MEAA0001 ) 0115 Else 0116 If GC Quantity is equal to <Blank> Or GC Quantity is equal to <Zer o> Or GC Quantity is equal to <Null> 0117 If VA frm_cManualPrint_EV01 is equal to "Y" 0118 VA evt_cPrintLabel_EV01 = "Y" 0119 Else 0120 VA evt_cPrintLabel_EV01 = "N" 0121 Call( App:P5540R03 , Form:W5540R03D , Ver: MEAA0001 ) 0122 End If 0123 Else 0124 VA evt_cPrintLabel_EV01 = "Y" 0125 End If 0126 End If 0127 End If 0128 End If 0129 // 0130 // ==================================== 0131 // Print Labels 0132 // ==================================== 0133 If VA evt_cPrintLabel_EV01 is equal to "Y" 0134 VA frm_F5540R01_UKID_UKID = 108 0135 VA frm_F55540R01_TEXT_DESC1 = "" 0136 VA frm_F55540R01_TEXT_DESC1 = "Print Flag Yes" 0137 If VA frm_cManualPrint_EV01 is equal to "Y" 0138 Call( App:P5540R03 , Form:W5540R03F , Ver: MEAA0001 ) GC ASN Number -> FI mnASNNumber GC Supplier -> FI szSupplier GC Promised Ship Date -> FI jdPromisedShipJu GC Part Number -> FI mnPartNumber GC Part Description -> FI szPartDescription GC D/O Number / Pull Signal -> FI szPullSignal GC Customer Part -> FI szCustomerPartNumber GC WH-LOC -> FI mnWHLoc GC Quantity -> FI mnQuantity GC Company Address -> FI szCompanyAddress GC Special Mark -> FI szSpecialMark GC BL Number -> FI mnBlNo GC Engineering Change -> FI szEngChange FC PrinterName -> FI szPrinterName FC LabelType -> FI szLabelType VA evt_szLabelFormat_GENSTR -> FI szLabelFormat FC Number of Labels -> FI mnNoOfLabelSet VA evt_szPrinter_DSC1 -> FI szPrinterDescription VA frm_QuickPrint_EV01 -> FI cQuickPrint 0139 VA frm_QuickPrint_EV01 = "N" 0140 VA frm_cManualPrint_EV01 = " " 0141 Else 0142 If VA frm_cTotePrintCall_EV01 is equal to "Y" 0143 Call( App:P5540R03 , Form:W5540R03E , Ver: MEAA0001 ) GC Shipment Number -> FI mnShipmentNumber GC Part Number -> FI szIdentifier2ndItem GC D/O Number / Pull Signal -> FI szPullSignal GC Customer Part -> FI szVendorPartNumber FC PrinterName -> FI szPrinterName

0144 0145 0146 0147 0148 0149

0150 0151 0152 0153

0154 0155 0156 0157 0158 0159

0160

FC LabelType -> FI szLabelType VA evt_szLabelFormat_GENSTR -> FI szLabelFormat VA evt_szPrinter_DSC1 -> FI szPrinterDesc VA frm_cTotePrintCall_EV01 = "N" Else If VA frm_cCartonViewFlag_EV01 is equal to "Y" VA frm_cCartonViewFlag_EV01 = "N" If VA frm_cViewService_EV01 is equal to "Y" Call( App:P5540R03 , Form:W5540R03G , Ver: MEAA0001 ) GC Shipment Number -> FI mnShipmentNumber FC PrinterName -> FI szPrinterName FC LabelType -> FI szLabelType VA evt_szLabelFormat_GENSTR -> FI szLabelFormat VA evt_szPrinter_DSC1 -> FI szPrinterDesc GC Short Item No -> FI mnIdentifierShortItem "Y" -> FI cServiceShipment VA frm_cViewService_EV01 = "N" Else VA frm_cViewService_EV01 = "N" Call( App:P5540R03 , Form:W5540R03G , Ver: MEAA0001 ) GC Shipment Number -> FI mnShipmentNumber FC PrinterName -> FI szPrinterName FC LabelType -> FI szLabelType VA evt_szLabelFormat_GENSTR -> FI szLabelFormat VA evt_szPrinter_DSC1 -> FI szPrinterDesc End If Else VA frm_F5540R01_UKID_UKID = 109 VA frm_F55540R01_TEXT_DESC1 = "" VA frm_F55540R01_TEXT_DESC1 = "Manual Print Flag No" F5540R03.Select GC Shipment Number = TK Shipment Number GC Part Number = TK 2nd Item Number GC D/O Number / Pull Signal = TK Pull Signal GC Customer Part = TK Vendor Part Number F5540R03.Fetch Next VA evt_cUpdateFlag_EV01 <- TK J.D. EnterpriseOne Event Point

01 0161 If VA evt_cUpdateFlag_EV01 is equal to "U" 0162 Else 0163 Press Button(FC Process) 0164 End If 0165 // ============================================================ 0166 // Label Print ....................... Start 0167 // ============================================================ 0168 If VA frm_cPaccarLabel_EV01 is equal to "Y" 0169 // T006298 -------------- Start 0170 If VA frm_MasterCartonPrintFlag_EV01 is equal to "Y" 0171 VA frm_MasterCartonPrintFlag_EV01 = "Y" 0172 VA evt_Filler1_DSC1 = "_" 0173 VA evt_Filler2_DSC2 = "\" 0174 VA evt_ConnectionString1_CONSTR1 = "CustomerLabels\" 0175 VA evt_ConnectionString1_CONSTR1 = ltrim(rtrim([VA evt_Co nnectionString1_CONSTR1]," ")," ") 0176 VA evt_Filler1_DSC1 = ltrim(rtrim([VA evt_Filler1_DSC1]," ")," ") 0177 VA evt_Filler2_DSC2 = ltrim(rtrim([VA evt_Filler2_DSC2]," ")," ") 0178 ClearLabelTableCache "5" -> BF cClearAll

0179 0180

GC Shipment Number -> BF mnShipmentNumber F5540R05.Select GC Shipment Number = TK Shipment Number F5540R05.Fetch Next VA evt_F5540R05_SHPN <- TK Shipment Number VA evt_F5540R05_ITM <- TK Item Number - Short VA evt_F5540R05_LITM <- TK 2nd Item Number VA evt_F5540R05_PSIG <- TK Pull Signal VA evt_F5540R05_KCOO <- TK Order Company (Order Number VA evt_F5540R05_DOCO <- TK Document (Order No, Invoice

) , etc.) VA evt_F5540R05_DCTO <- TK Order Type VA evt_F5540R05_LOT <- TK Lot/Serial Number VA evt_F5540R05_VNPART <- TK Vendor Part Number While SV File_IO_Status is equal to CO SUCCESS InsertF5540R03 VA evt_F5540R05_SHPN -> BF mnShipmentNumber VA evt_F5540R05_PSIG -> BF szPullSignal VA evt_F5540R05_KCOO -> BF szCompanyKeyOrderNo VA evt_F5540R05_DOCO -> BF mnDocumentOrderInvoiceE VA evt_F5540R05_DCTO -> BF szOrderType VA evt_F5540R05_ITM -> BF mnIdentifierShortItem VA frm_F5540R03Jobnumber_JOBS <- BF mnJobnumberA VA frm_cUpdateFlag_EV01 -> BF cUpdateFlag VA frm_cReserveFlag -> BF cReserveFlag ProcessF5540R03andF5540R04 VA frm_MasterCartonPrintFlag_EV01 <> BF cMasterCart VA VA VA VA VA VA VA VA FC VA VA VA FC VA String1 VA evt_szLabelFormat_GENSTR -> BF szLabelFormat_GEN STR 0184 0185 FC Number of Labels -> BF mnNumberofLabels VA evt_szPrinter_DSC1 -> BF szPrinterLongName ClearLabelTableCache "5" -> BF cClearAll GC Shipment Number -> BF mnShipmentNumber F5540R05.Fetch Next VA evt_F5540R05_SHPN <- TK Shipment Number VA evt_F5540R05_ITM <- TK Item Number - Short VA evt_F5540R05_LITM <- TK 2nd Item Number VA evt_F5540R05_PSIG <- TK Pull Signal VA evt_F5540R05_KCOO <- TK Order Company (Order Num VA evt_F5540R05_DOCO <- TK Document (Order No, Invo ice, etc.) evt_F5540R05_SHPN -> BF mnShipmentNumber evt_F5540R05_LITM -> BF szPartNumber evt_F5540R05_PSIG -> BF szPullSignal evt_F5540R05_VNPART -> BF szCustomerPart evt_F5540R05_ITM -> BF mnIdentifierShortItem evt_F5540R05_LOT -> BF szLot evt_szFilePath_EFRM -> BF szFilePath_EFRM evt_szString3_CONSTR3 -> BF szString3_CONSTR3 LabelType -> BF szLabelType evt_szFileName_EFRM -> BF szFileName_EFRM evt_Filler1_DSC1 -> BF szFiller01 evt_Filler2_DSC2 -> BF szFiller02 PrinterName -> BF szPrinterName evt_ConnectionString1_CONSTR1 -> BF szConnection

0181 0182

0183 onPrintFlag

ber)

0186 0187 0188 0189 Number

VA evt_F5540R05_DCTO <- TK Order Type VA evt_F5540R05_LOT <- TK Lot/Serial Number VA evt_F5540R05_VNPART <- TK Vendor Part Number End While // F5540R06.Select GC Shipment Number = TK Shipment Number F5540R06.Fetch Next VA evt_F5540R03ShipmentNumbe_SHPN <- TK EDI - Document VA evt_F5540R03PullSignal_PSIG <- TK Pull Signal VA evt_F5540R03EngineeringC_CITM <- TK Item Revision L

evel - Customer/Supplier VA evt_F5540R04QuantityTotal_TQTY <- TK Quantity Shipp ed VA evt_F5540R03SupplierCd_55EDSC <- TK EDI Supplier Co de VA evt_F5540R03PartNum_LITM <- TK 2nd Item Number VA evt_F5540R03PartDes_DSC1 <- TK Description VA evt_F5540R03VendorPart_VNPART <- TK Vendor Part Num ber VA evt_F5540R03LineFeed_ASBLNFD <- TK Assembly Line Fe ed VA evt_F5540R03PromisedShip_PPDJ <- TK Date - Actual S hip Date VA evt_cOutPutFileFlag_EV04 <- TK EnterpriseOne Point 04 VA evt_F5540R03ComAddress_QTXT <- TK Question Text VA evt_F5540R03WhLoc_DKID <- TK Dock ID VA evt_F5540R03EngineeringC_CITM <- TK Catalog Item Nu mber VA evt_F5540R04ContainerSer_CTSN <- TK Serial Number VA evt_F5540R03SpecialMark_ADDR <- TK Address VA evt_F5540R03BLNo_DOC <- TK Document (Voucher, Invoi ce, etc.) VA VA VA VA VA VA VA VA 1 VA evt_F5540R03ShipTo_PAD2 <- TK Producer Address Line 2 VA evt_F5540R03ShipTo_PAD3 <- TK Producer Address Line 3 VA evt_F5540R03ShipTo_PAD4 <- TK Producer Address Line 4 VA VA VA VA VA ID VA VA VA VA evt_F5540R03PCI11_DL11 evt_F5540R03PCI12_DL12 evt_F5540R03PCI13_DL13 evt_F5540R03PCI14_DL14 <<<<TK TK TK TK Description Description Description Description 11 12 13 14 evt_F5540R03ShipTo_CITY <- TK City evt_F5540R03ShipTo_ADSO <- TK Origin State evt_F5540R03ShipTo_ADDO <- TK Postal Code - Origin evt_F5540R03MadeInCountry_DL03 <- TK Description 03 evt_F5540R03CustCartonId_CEQT <- TK Customer Carton evt_F5540R03SoldTo_ADD1 evt_F5540R03SoldTo_ADD2 evt_F5540R03SoldTo_ADD3 evt_F5540R03SoldTo_ADD4 evt_F5540R03SoldTo_ADDZ evt_F5540R03SoldTo_CTY1 evt_F5540R03SoldTo_ADDS evt_F5540R03ShipTo_PAD1 <<<<<<<<TK TK TK TK TK TK TK TK Address Line 1 Address Line 2 Address Line 3 Address Line 4 Postal Code City State Producer Address Line

VA VA VA VA d Pick n

evt_F5540R03PCI15_DL15 <- TK Description evt_F5540R03PCI16_DL16 <- TK Description evt_F5540R03PCI17_DL17 <- TK Description evt_F5540R03PromisedShip_PPDJ <- TK Date

15 16 17 - Schedule

VA evt_F5540R03Date_TRDJ <- TK Date - Order/Transactio VA evt_F5540R03Date_DL10 <- TK Description 10 VA evt_F5542003NumfPirces_NPCS <- TK Number of Pieces VA evt_F5542003QuantityTotal_TQTY <- TK Quantity -Tota l VA evt_F5540R03QuantityTotal_TQTY <- TK Quantity on Ha nd - Primary units VA evt_F5542003ActualWeight_AWGT <- TK Weight - Actual VA evt_F5540R03EDIPlantID_55EDPI <- TK EDI Plant ID VA evt_F5540R03RsvrLnFeed_RSVLNFD <- TK Reserve Line F eed VA evt_F5540R03MfgDate_UPMJ <- TK Date - Action VA evt_F5540R03AsemLnLoc_ASBLNLOC <- TK Assembly Line Location VA evt_F5540R03Reference1_VR01 <- TK Reference VA evt_F5540R03QLvlMercedes_CITM <- TK Outsider Lease or Well ID VA VA VA VA VA VA VA VA VA VA VA VA VA ent Time VA evt_F5540R03SpecialHand_SPHD <- TK Special Handling Code - User Def Codes VA evt_LBActualWeight_AWGT <- TK Math Numeric 01 VA evt_F5540R04_PSJOBNO <- TK Production Sequencing Jo b Number VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA Number VA evt_F5540R03_AN80 <- TK Address Number VA evt_F5540R03_RORN <- TK Related PO/SO/WO Number evt_F5540R04_JOBSQ <- TK Job Sequence Number evt_F5540R04_PLT <- TK SSCC Number - Tare Level evt_F5540R03_DL06 <- TK Description 06 evt_F5540R03_DL07 <- TK Description 07 evt_F5540R03_DL08 <- TK Description 08 evt_F5540R03_CIRV <- TK Truck Number - Hauler evt_F5540R03_PEFJ <- TK Date - Price Effective Date evt_F5540R03_DL09 <- TK Description 09 evt_F5540R03_DL10 <- TK Description 18 evt_F5540R03_DL11 <- TK Description 19 evt_F5540R03_STDS <- TK Description - Status evt_F5540R03_LDSC <- TK Description - Lot evt_F5540R03_SERN <- TK Serial Number - Lot evt_F5540R03_NEW_CIRV <- TK Vendor Name evt_F5540R04_DelBatNum_DELBATC <- TK Delivery Batch evt_F5540R04Sequence_DSC1 <- TK Description evt_F5540R03_DSC3 <- TK Description - Line 2 evt_F5540R03_DMDREF1 <- TK Demand Reference 1 evt_F5540R03_DMDREF2 <- TK Demand Reference 2 evt_F5540R03_DMDREF3 <- TK Demand Reference 3 evt_F5540R03_DMDREF4 <- TK Demand Reference 4 evt_F5540R03_DMDREF5 <- TK Demand Reference 5 evt_F5540R03_DMDREF6 <- TK Demand Reference 6 evt_F5540R03_DMDREF7 <- TK Demand Reference 7 evt_F5540R03_DMDREF8 <- TK Demand Reference 8 evt_F5540R03_DMDREF9 <- TK Demand Reference 9 evt_F5540R03_DMDREF10 <- TK Demand Reference 10 evt_F5540R03ShipmentTime_PMDT <- TK Scheduled Shipm

0190 0191

0192 0",3) 0193 VA evt_szFileName_EFRM = concat(concat(concat(concat([ VA evt_F5540R03ShipmentNumbe_SHPN],'_'),[VA evt_Counter_DSC1]),'_'),[VA evt_szFi leName_EFRM]) 0194 VA evt_szFilePath_EFRM = concat(concat([VA evt_szFileP ath_EFRM],'\'),[VA evt_szFileName_EFRM]) 0195 // ========================= 0196 Container OutPut File VA evt_szFilePath_EFRM -> BF szFilePath VA evt_F5540R03ShipmentNumbe_SHPN -> BF mnASNNumber VA evt_F5540R03PullSignal_PSIG -> BF szDONumber VA evt_F5540R03EngineeringC_CITM -> BF szItemRevLev elCustomerSupp VA evt_F5540R04QuantityTotal_TQTY -> BF mnQuantity VA evt_F5540R03SupplierCd_55EDSC -> BF szSupplierCo de VA evt_F5540R03PartNum_LITM -> BF szIdentifier2ndIt em VA evt_F5540R03VendorPart_VNPART -> BF szVendorPart Number VA evt_F5540R03LineFeed_ASBLNFD -> BF szAssemblyLin eFeed VA evt_F5540R03PartDes_DSC1 -> BF szDescription GC Lot Serial Number -> BF szLot VA evt_F5540R03PromisedShip_PPDJ -> BF jdActualShip Date FC PrinterName -> BF szUserDefinedCode "CustomerLabels\" -> BF szString1 VA evt_szLabelFormat_GENSTR -> BF szString2 VA evt_szPrinter_DSC1 -> BF szString3 ".lwl" -> BF szString4 FC Number of Labels -> BF mnAmount1 VA evt_cOutPutFileFlag_EV04 <- BF cFlag4

VA evt_F5540R03_FIFO <- TK Description 21 VA evt_F5540R03_HIMEJI <- TK Description 22 VA evt_F5540R03_HITACHI <- TK Description 23 VA evt_F5540R03_DENSO <- TK Description 24 VA evt_F5540R03_FUSO <- TK Description 25 VA evt_ITEMVOLT_SRP8 <- TK Item Voltage VA evt_ITEMAMP_PRP0 <- TK Item Amperage VA evt_F5540R03_DL18 <- TK Description 26 VA evt_F5540R03_PRP3 <- TK Material Class VA evt_F5540R03_OTADD1 <- TK OTM Address Line 1 VA evt_F5540R03_OTADD2 <- TK OTM Address Line 2 VA evt_F5540R03_OTADD3 <- TK OTM Address Line 3 VA evt_F5540R03_OTADD4 <- TK OTM Address Line 4 VA evt_F5540R03_OTCITY <- TK City VA evt_F5540R03_AARS <- TK Argentinean State VA evt_F5540R03_OTZIP <- TK OTM Postal Code VA evt_F5540R03_ITM <- TK Item Number - Short While SV File_IO_Status is equal to CO SUCCESS Get Server File Path Information VA evt_szFilePath_EFRM <- BF szFilePath "D3N" -> BF szProductCode "TY" -> BF szUserDefinedCodes FC LabelType -> BF szUserDefinedCode "Pas" -> BF szString1 VA evt_szFileName_EFRM <- BF szString2 VA evt_szString3_CONSTR3 <- BF szString3 VA evt_Counter_DSC1 = lpad([VA evt_mnCounter_MATH01],"

VA evt_F5540R03ComAddress_QTXT -> BF szLongAddress1 VA evt_F5540R03WhLoc_DKID -> BF szWhLoc VA evt_F5540R03EngineeringC_CITM -> BF szEngineerin gChange VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA ntry VA evt_F5540R03CustCartonId_CEQT -> BF szContainerT ype VA VA VA VA VA VA VA VA DDYYYY VA evt_F5540R03Date_TRDJ -> BF jdDateMMDDYYYY VA evt_F5540R03Date_DL10 -> BF szShipDateDDMMMYYYY VA evt_F5542003NumfPirces_NPCS -> BF mnNumberofPack s VA evt_F5542003QuantityTotal_TQTY -> BF mnQuantityP ack VA evt_F5540R03QuantityTotal_TQTY -> BF mnQuantityT otal VA evt_F5542003ActualWeight_AWGT -> BF mnActualWeig ht VA evt_F5540R03EDIPlantID_55EDPI -> BF szShipToPlan tCode VA evt_F5540R03RsvrLnFeed_RSVLNFD -> BF szDropZone VA evt_F5540R03MfgDate_UPMJ -> BF jdMfgDate VA evt_F5540R03AsemLnLoc_ASBLNLOC -> BF szAssemblyL ineLocation VA evt_F5540R03Reference1_VR01 -> BF szReference1 VA evt_F5540R03QLvlMercedes_CITM -> BF szQLevelMerc edes VA VA VA VA VA VA VA evt_F5540R04Sequence_DSC1 -> BF szSequence evt_F5540R03_DSC3 -> BF szRSDJ evt_F5540R03_DMDREF1 -> BF szDemandReference1 evt_F5540R03_DMDREF2 -> BF szDemandReference2 evt_F5540R03_DMDREF3 -> BF szDemandReference3 evt_F5540R03_DMDREF4 -> BF szDemandReference4 evt_F5540R03_DMDREF5 -> BF szDemandReference5 evt_F5540R03PCI11_DL11 -> BF szPCI11 evt_F5540R03PCI12_DL12 -> BF szPCI12 evt_F5540R03PCI13_DL13 -> BF szPCI13 evt_F5540R03PCI14_DL14 -> BF szPCI4 evt_F5540R03PCI15_DL15 -> BF szPCI15 evt_F5540R03PCI16_DL16 -> BF szPCI16 evt_F5540R03PCI17_DL17 -> BF szPCI17 evt_F5540R03PromisedShip_PPDJ -> BF jdShipDateMM evt_F5540R04ContainerSer_CTSN -> BF szSerialNumb evt_F5540R03SpecialMark_ADDR -> BF szSpecialMark evt_F5540R03BLNo_DOC -> BF mnBLNumber evt_F5540R03SoldTo_ADD1 -> BF szSoldToAdd1 evt_F5540R03SoldTo_ADD2 -> BF szSoldToAdd2 evt_F5540R03SoldTo_ADD3 -> BF szSoldToAdd3 evt_F5540R03SoldTo_ADD4 -> BF szSoldToAdd4 evt_F5540R03SoldTo_ADDZ -> BF szSoldToZip evt_F5540R03SoldTo_CTY1 -> BF szSoldToCity evt_F5540R03SoldTo_ADDS -> BF szSoldToState evt_F5540R03ShipTo_PAD1 -> BF szShipToAdd1 evt_F5540R03ShipTo_PAD2 -> BF szShipToAdd2 evt_F5540R03ShipTo_PAD3 -> BF szShipToAdd3 evt_F5540R03ShipTo_PAD4 -> BF szShipToAdd4 evt_F5540R03ShipTo_CITY -> BF szShipToCity evt_F5540R03ShipTo_ADSO -> BF szShipToState evt_F5540R03ShipTo_ADDO -> BF szShipToZip evt_F5540R03MadeInCountry_DL03 -> BF szMadeInCou

VA VA VA VA VA VA hipmentTime lingCode VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA V atchNumber

evt_F5540R03_DMDREF6 -> BF szDemandReference6 evt_F5540R03_DMDREF7 -> BF szDemandReference7 evt_F5540R03_DMDREF8 -> BF szDemandReference8 evt_F5540R03_DMDREF9 -> BF szDemandReference9 evt_F5540R03_DMDREF10 -> BF szDemandReference10 evt_F5540R03ShipmentTime_PMDT -> BF mnScheduledS

VA evt_F5540R03SpecialHand_SPHD -> BF szSpecialHand evt_LBActualWeight_AWGT -> BF mnGrossWeightLB evt_F5540R04_PSJOBNO -> BF szJobChassisNumber evt_F5540R04_JOBSQ -> BF szSequenceNumber evt_F5540R04_PLT -> BF szControlNumber evt_F5540R03_DL06 -> BF szMadeInCountry2 evt_F5540R03_DL07 -> BF szYMMDDShipDate evt_F5540R03_DL08 -> BF szMMDDYYYShipDate evt_F5540R03_CIRV -> BF szCustEngChange evt_F5540R03_PEFJ -> BF jdMfgDate2 evt_F5540R03_DL09 -> BF szMfgDate3 evt_F5540R03_DL10 -> BF szMfgDate4 evt_F5540R03_DL11 -> BF szMfgDate5 evt_F5540R03_STDS -> BF szSupplierLotNumber evt_F5540R03_LDSC -> BF szHondaPartNumber evt_F5540R03_SERN -> BF szHondaPartNumber1 evt_F5540R03_NEW_CIRV -> BF szCustomerserviceCIR

VA evt_F5540R04_DelBatNum_DELBATC -> BF szDeliveryB VA evt_F5540R03_AN80 -> BF mnShipFromABnumber VA evt_F5540R03_RORN -> BF szRelatedOrderNumber VA evt_F5540R03_FIFO -> BF szDTFIFO VA evt_F5540R03_HIMEJI -> BF szDTHIMEJI VA evt_F5540R03_HITACHI -> BF szDTHITACHI VA evt_F5540R03_DENSO -> BF szDTDENSO VA evt_F5540R03_FUSO -> BF szDTFUSO VA evt_ITEMVOLT_SRP8 -> BF szITEMVOLT VA evt_ITEMAMP_PRP0 -> BF szITEMAMP VA evt_F5540R03_DL18 -> BF szSALESCATDESC2 VA evt_F5540R03_PRP3 -> BF szMATCLASS VA evt_F5540R03_OTADD1 -> BF szOVRSTADD1 VA evt_F5540R03_OTADD2 -> BF szOVRSTADD2 VA evt_F5540R03_OTADD3 -> BF szOVRSTADD3 VA evt_F5540R03_OTADD4 -> BF szOVRSTADD4 VA evt_F5540R03_OTCITY -> BF szOVRTOCTY1 VA evt_F5540R03_AARS -> BF szOVRTOADDS VA evt_F5540R03_OTZIP -> BF szOVRTOADDZ VA evt_F5540R03_ITM -> BF mnITM // ========================= VA evt_mnCounter_MATH01 = [VA evt_mnCounter_MATH01]+1 F5540R06.Fetch Next VA evt_F5540R03ShipmentNumbe_SHPN <- TK EDI - Docum VA evt_F5540R03PullSignal_PSIG <- TK Pull Signal VA evt_F5540R03EngineeringC_CITM <- TK Item Revisio n Level - Customer/Supplier VA evt_F5540R04QuantityTotal_TQTY <- TK Quantity Sh ipped VA evt_F5540R03SupplierCd_55EDSC <- TK EDI Supplier Code VA evt_F5540R03PartNum_LITM <- TK 2nd Item Number

0197 0198 0199 ent Number

VA evt_F5540R03PartDes_DSC1 <- TK Description VA evt_F5540R03VendorPart_VNPART <- TK Vendor Part Number VA evt_F5540R03LineFeed_ASBLNFD <- TK Assembly Line Feed VA evt_F5540R03PromisedShip_PPDJ <- TK Date - Actua l Ship Date VA evt_cOutPutFileFlag_EV04 <- TK EnterpriseOne Poi nt 04 VA evt_F5540R03ComAddress_QTXT <- TK Question Text VA evt_F5540R03WhLoc_DKID <- TK Dock ID VA evt_F5540R03EngineeringC_CITM <- TK Catalog Item Number VA evt_F5540R04ContainerSer_CTSN <- TK Serial Numbe r VA evt_F5540R03SpecialMark_ADDR <- TK Address VA evt_F5540R03BLNo_DOC <- TK Document (Voucher, In voice, etc.) VA VA VA VA VA VA VA VA ine 1 VA evt_F5540R03ShipTo_PAD2 <- TK Producer Address L ine 2 VA evt_F5540R03ShipTo_PAD3 <- TK Producer Address L ine 3 VA evt_F5540R03ShipTo_PAD4 <- TK Producer Address L ine 4 VA evt_F5540R03ShipTo_CITY <- TK City VA evt_F5540R03ShipTo_ADSO <- TK Origin State VA evt_F5540R03ShipTo_ADDO <- TK Postal Code - Orig in VA evt_F5540R03MadeInCountry_DL03 <- TK Description 03 VA evt_F5540R03CustCartonId_CEQT <- TK Customer Car ton ID VA VA VA VA VA VA VA VA uled Pick VA evt_F5540R03Date_TRDJ <- TK Date - Order/Transac tion VA evt_F5540R03Date_DL10 <- TK Description 10 VA evt_F5542003NumfPirces_NPCS <- TK Number of Piec es VA evt_F5542003QuantityTotal_TQTY <- TK Quantity -T otal VA evt_F5540R03QuantityTotal_TQTY <- TK Quantity on Hand - Primary units VA evt_F5542003ActualWeight_AWGT <- TK Weight - Act evt_F5540R03PCI11_DL11 <- TK Description evt_F5540R03PCI12_DL12 <- TK Description evt_F5540R03PCI13_DL13 <- TK Description evt_F5540R03PCI14_DL14 <- TK Description evt_F5540R03PCI15_DL15 <- TK Description evt_F5540R03PCI16_DL16 <- TK Description evt_F5540R03PCI17_DL17 <- TK Description evt_F5540R03PromisedShip_PPDJ <- TK Date 11 12 13 14 15 16 17 - Sched evt_F5540R03SoldTo_ADD1 evt_F5540R03SoldTo_ADD2 evt_F5540R03SoldTo_ADD3 evt_F5540R03SoldTo_ADD4 evt_F5540R03SoldTo_ADDZ evt_F5540R03SoldTo_CTY1 evt_F5540R03SoldTo_ADDS evt_F5540R03ShipTo_PAD1 <<<<<<<<TK TK TK TK TK TK TK TK Address Line 1 Address Line 2 Address Line 3 Address Line 4 Postal Code City State Producer Address L

ual VA evt_F5540R03EDIPlantID_55EDPI <- TK EDI Plant ID VA evt_F5540R03RsvrLnFeed_RSVLNFD <- TK Reserve Lin e Feed VA evt_F5540R03MfgDate_UPMJ <- TK Date - Action VA evt_F5540R03AsemLnLoc_ASBLNLOC <- TK Assembly Li ne Location VA evt_F5540R03Reference1_VR01 <- TK Reference VA evt_F5540R03QLvlMercedes_CITM <- TK Outsider Lea se or Well ID VA VA VA VA VA VA VA VA VA VA VA VA VA ipment Time VA evt_F5540R03SpecialHand_SPHD <- TK Special Handl ing Code - User Def Codes VA evt_LBActualWeight_AWGT <- TK Math Numeric 01 VA evt_F5540R04_PSJOBNO <- TK Production Sequencing Job Number VA VA VA VA VA VA VA ate VA VA VA VA VA VA VA VA tch Number VA VA VA VA VA VA VA VA VA VA VA VA VA VA evt_F5540R03_AN80 <- TK Address Number evt_F5540R03_RORN <- TK Related PO/SO/WO Number evt_F5540R03_FIFO <- TK Description 21 evt_F5540R03_HIMEJI <- TK Description 22 evt_F5540R03_HITACHI <- TK Description 23 evt_F5540R03_DENSO <- TK Description 24 evt_F5540R03_FUSO <- TK Description 25 evt_ITEMVOLT_SRP8 <- TK Item Voltage evt_ITEMAMP_PRP0 <- TK Item Amperage evt_F5540R03_DL18 <- TK Description 26 evt_F5540R03_PRP3 <- TK Material Class evt_F5540R03_OTADD1 <- TK OTM Address Line 1 evt_F5540R03_OTADD2 <- TK OTM Address Line 2 evt_F5540R03_OTADD3 <- TK OTM Address Line 3 evt_F5540R03_DL09 <- TK Description 09 evt_F5540R03_DL10 <- TK Description 18 evt_F5540R03_DL11 <- TK Description 19 evt_F5540R03_STDS <- TK Description - Status evt_F5540R03_LDSC <- TK Description - Lot evt_F5540R03_SERN <- TK Serial Number - Lot evt_F5540R03_NEW_CIRV <- TK Vendor Name evt_F5540R04_DelBatNum_DELBATC <- TK Delivery Ba evt_F5540R04_JOBSQ <- TK Job Sequence Number evt_F5540R04_PLT <- TK SSCC Number - Tare Level evt_F5540R03_DL06 <- TK Description 06 evt_F5540R03_DL07 <- TK Description 07 evt_F5540R03_DL08 <- TK Description 08 evt_F5540R03_CIRV <- TK Truck Number - Hauler evt_F5540R03_PEFJ <- TK Date - Price Effective D evt_F5540R04Sequence_DSC1 <- TK Description evt_F5540R03_DSC3 <- TK Description - Line 2 evt_F5540R03_DMDREF1 <- TK Demand Reference 1 evt_F5540R03_DMDREF2 <- TK Demand Reference 2 evt_F5540R03_DMDREF3 <- TK Demand Reference 3 evt_F5540R03_DMDREF4 <- TK Demand Reference 4 evt_F5540R03_DMDREF5 <- TK Demand Reference 5 evt_F5540R03_DMDREF6 <- TK Demand Reference 6 evt_F5540R03_DMDREF7 <- TK Demand Reference 7 evt_F5540R03_DMDREF8 <- TK Demand Reference 8 evt_F5540R03_DMDREF9 <- TK Demand Reference 9 evt_F5540R03_DMDREF10 <- TK Demand Reference 10 evt_F5540R03ShipmentTime_PMDT <- TK Scheduled Sh

0200 0201

0202 ********************* 0203 VA frm_MasterCartonPrintFlag_EV01 = "N" 0204 VA frm_cPaccarLabel_EV01 = "N" 0205 Else 0206 VA frm_MasterCartonPrintFlag_EV01 = "N" 0207 VA evt_Filler1_DSC1 = "_" 0208 VA evt_Filler2_DSC2 = "\" 0209 VA evt_ConnectionString1_CONSTR1 = "CustomerLabels\" 0210 VA evt_ConnectionString1_CONSTR1 = ltrim(rtrim([VA evt_Co nnectionString1_CONSTR1]," ")," ") 0211 VA evt_Filler1_DSC1 = ltrim(rtrim([VA evt_Filler1_DSC1]," ")," ") 0212 VA evt_Filler2_DSC2 = ltrim(rtrim([VA evt_Filler2_DSC2]," ")," ") 0213 ClearLabelTableCache "5" -> BF cClearAll GC Shipment Number -> BF mnShipmentNumber 0214 F5540R05.Select GC Shipment Number = TK Shipment Number 0215 F5540R05.Fetch Next VA evt_F5540R05_SHPN <- TK Shipment Number VA evt_F5540R05_ITM <- TK Item Number - Short VA evt_F5540R05_LITM <- TK 2nd Item Number VA evt_F5540R05_PSIG <- TK Pull Signal VA evt_F5540R05_KCOO <- TK Order Company (Order Number ) VA evt_F5540R05_DOCO <- TK Document (Order No, Invoice , etc.) VA evt_F5540R05_DCTO <- TK Order Type VA evt_F5540R05_LOT <- TK Lot/Serial Number VA evt_F5540R05_VNPART <- TK Vendor Part Number 0216 While SV File_IO_Status is equal to CO SUCCESS 0217 InsertF5540R03 VA evt_F5540R05_SHPN -> BF mnShipmentNumber VA evt_F5540R05_PSIG -> BF szPullSignal VA evt_F5540R05_KCOO -> BF szCompanyKeyOrderNo VA evt_F5540R05_DOCO -> BF mnDocumentOrderInvoiceE VA evt_F5540R05_DCTO -> BF szOrderType VA evt_F5540R05_ITM -> BF mnIdentifierShortItem VA frm_F5540R03Jobnumber_JOBS <- BF mnJobnumberA VA frm_cUpdateFlag_EV01 -> BF cUpdateFlag VA frm_cReserveFlag -> BF cReserveFlag 0218 ProcessF5540R03andF5540R04 VA frm_MasterCartonPrintFlag_EV01 <> BF cMasterCart onPrintFlag VA evt_F5540R05_SHPN -> BF mnShipmentNumber VA evt_F5540R05_LITM -> BF szPartNumber VA evt_F5540R05_PSIG -> BF szPullSignal VA evt_F5540R05_VNPART -> BF szCustomerPart VA evt_F5540R05_ITM -> BF mnIdentifierShortItem

VA evt_F5540R03_OTADD4 <- TK OTM Address Line 4 VA evt_F5540R03_OTCITY <- TK City VA evt_F5540R03_AARS <- TK Argentinean State VA evt_F5540R03_OTZIP <- TK OTM Postal Code VA evt_F5540R03_ITM <- TK Item Number - Short End While ClearLabelTableCache "4" -> BF cClearAll GC Shipment Number -> BF mnShipmentNumber // ******************************************************

VA VA VA FC VA VA VA FC VA String1 STR 0219 0220

evt_F5540R05_LOT -> BF szLot evt_szFilePath_EFRM -> BF szFilePath_EFRM evt_szString3_CONSTR3 -> BF szString3_CONSTR3 LabelType -> BF szLabelType evt_szFileName_EFRM -> BF szFileName_EFRM evt_Filler1_DSC1 -> BF szFiller01 evt_Filler2_DSC2 -> BF szFiller02 PrinterName -> BF szPrinterName evt_ConnectionString1_CONSTR1 -> BF szConnection

VA evt_szLabelFormat_GENSTR -> BF szLabelFormat_GEN FC Number of Labels -> BF mnNumberofLabels VA evt_szPrinter_DSC1 -> BF szPrinterLongName ClearLabelTableCache "5" -> BF cClearAll GC Shipment Number -> BF mnShipmentNumber F5540R05.Fetch Next VA evt_F5540R05_SHPN <- TK Shipment Number VA evt_F5540R05_ITM <- TK Item Number - Short VA evt_F5540R05_LITM <- TK 2nd Item Number VA evt_F5540R05_PSIG <- TK Pull Signal VA evt_F5540R05_KCOO <- TK Order Company (Order Num VA evt_F5540R05_DOCO <- TK Document (Order No, Invo ice, etc.) VA evt_F5540R05_DCTO <- TK Order Type VA evt_F5540R05_LOT <- TK Lot/Serial Number VA evt_F5540R05_VNPART <- TK Vendor Part Number End While F5540R06.Select GC Shipment Number = TK Shipment Number F5540R06.Fetch Next VA evt_F5540R03ShipmentNumbe_SHPN <- TK EDI - Document VA evt_F5540R03PullSignal_PSIG <- TK Pull Signal VA evt_F5540R03EngineeringC_CITM <- TK Item Revision L evel - Customer/Supplier VA evt_F5540R04QuantityTotal_TQTY <- TK Quantity Shipp ed VA evt_F5540R03SupplierCd_55EDSC <- TK EDI Supplier Co de VA evt_F5540R03PartNum_LITM <- TK 2nd Item Number VA evt_F5540R03PartDes_DSC1 <- TK Description VA evt_F5540R03VendorPart_VNPART <- TK Vendor Part Num ber VA evt_F5540R03LineFeed_ASBLNFD <- TK Assembly Line Fe ed VA evt_F5540R03PromisedShip_PPDJ <- TK Date - Actual S hip Date VA evt_cOutPutFileFlag_EV04 <- TK EnterpriseOne Point 04 VA evt_F5540R03ComAddress_QTXT <- TK Question Text VA evt_F5540R03WhLoc_DKID <- TK Dock ID VA evt_F5540R03EngineeringC_CITM <- TK Catalog Item Nu mber VA evt_F5540R04ContainerSer_CTSN <- TK Serial Number VA evt_F5540R03SpecialMark_ADDR <- TK Address VA evt_F5540R03BLNo_DOC <- TK Document (Voucher, Invoi ce, etc.)

ber)

0221 0222 0223 Number

VA VA VA VA VA VA VA VA 1 2

evt_F5540R03SoldTo_ADD1 evt_F5540R03SoldTo_ADD2 evt_F5540R03SoldTo_ADD3 evt_F5540R03SoldTo_ADD4 evt_F5540R03SoldTo_ADDZ evt_F5540R03SoldTo_CTY1 evt_F5540R03SoldTo_ADDS evt_F5540R03ShipTo_PAD1

<<<<<<<<-

TK TK TK TK TK TK TK TK

Address Line 1 Address Line 2 Address Line 3 Address Line 4 Postal Code City State Producer Address Line

VA evt_F5540R03ShipTo_PAD2 <- TK Producer Address Line VA evt_F5540R03ShipTo_PAD3 <- TK Producer Address Line 3 VA evt_F5540R03ShipTo_PAD4 <- TK Producer Address Line 4 VA VA VA VA VA ID VA VA VA VA VA VA VA VA d Pick VA evt_F5540R03Date_TRDJ <- TK Date - Order/Transactio n VA evt_F5540R03Date_DL10 <- TK Description 10 VA evt_F5542003NumfPirces_NPCS <- TK Number of Pieces VA evt_F5542003QuantityTotal_TQTY <- TK Quantity -Tota l VA evt_F5540R03QuantityTotal_TQTY <- TK Quantity on Ha nd - Primary units VA evt_F5542003ActualWeight_AWGT <- TK Weight - Actual VA evt_F5540R03EDIPlantID_55EDPI <- TK EDI Plant ID VA evt_F5540R03RsvrLnFeed_RSVLNFD <- TK Reserve Line F eed VA evt_F5540R03MfgDate_UPMJ <- TK Date - Action VA evt_F5540R03AsemLnLoc_ASBLNLOC <- TK Assembly Line Location VA evt_F5540R03Reference1_VR01 <- TK Reference VA evt_F5540R03QLvlMercedes_CITM <- TK Outsider Lease or Well ID VA VA VA VA VA VA VA VA VA VA VA VA evt_F5540R04Sequence_DSC1 <- TK Description evt_F5540R03_DSC3 <- TK Description - Line 2 evt_F5540R03_DMDREF1 <- TK Demand Reference 1 evt_F5540R03_DMDREF2 <- TK Demand Reference 2 evt_F5540R03_DMDREF3 <- TK Demand Reference 3 evt_F5540R03_DMDREF4 <- TK Demand Reference 4 evt_F5540R03_DMDREF5 <- TK Demand Reference 5 evt_F5540R03_DMDREF6 <- TK Demand Reference 6 evt_F5540R03_DMDREF7 <- TK Demand Reference 7 evt_F5540R03_DMDREF8 <- TK Demand Reference 8 evt_F5540R03_DMDREF9 <- TK Demand Reference 9 evt_F5540R03_DMDREF10 <- TK Demand Reference 10 evt_F5540R03PCI11_DL11 <- TK Description evt_F5540R03PCI12_DL12 <- TK Description evt_F5540R03PCI13_DL13 <- TK Description evt_F5540R03PCI14_DL14 <- TK Description evt_F5540R03PCI15_DL15 <- TK Description evt_F5540R03PCI16_DL16 <- TK Description evt_F5540R03PCI17_DL17 <- TK Description evt_F5540R03PromisedShip_PPDJ <- TK Date 11 12 13 14 15 16 17 - Schedule evt_F5540R03ShipTo_CITY <- TK City evt_F5540R03ShipTo_ADSO <- TK Origin State evt_F5540R03ShipTo_ADDO <- TK Postal Code - Origin evt_F5540R03MadeInCountry_DL03 <- TK Description 03 evt_F5540R03CustCartonId_CEQT <- TK Customer Carton

VA evt_F5540R03ShipmentTime_PMDT <- TK Scheduled Shipm ent Time VA evt_F5540R03SpecialHand_SPHD <- TK Special Handling Code - User Def Codes VA evt_LBActualWeight_AWGT <- TK Math Numeric 01 VA evt_F5540R04_PSJOBNO <- TK Production Sequencing Jo b Number VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA Number VA evt_F5540R03_AN80 <- TK Address Number VA evt_F5540R03_RORN <- TK Related PO/SO/WO Number VA evt_F5540R03_FIFO <- TK Description 21 VA evt_F5540R03_HIMEJI <- TK Description 22 VA evt_F5540R03_HITACHI <- TK Description 23 VA evt_F5540R03_DENSO <- TK Description 24 VA evt_F5540R03_FUSO <- TK Description 25 VA evt_ITEMVOLT_SRP8 <- TK Item Voltage VA evt_ITEMAMP_PRP0 <- TK Item Amperage VA evt_F5540R03_DL18 <- TK Description 26 VA evt_F5540R03_PRP3 <- TK Material Class VA evt_F5540R03_OTADD1 <- TK OTM Address Line 1 VA evt_F5540R03_OTADD2 <- TK OTM Address Line 2 VA evt_F5540R03_OTADD3 <- TK OTM Address Line 3 VA evt_F5540R03_OTADD4 <- TK OTM Address Line 4 VA evt_F5540R03_OTCITY <- TK City VA evt_F5540R03_AARS <- TK Argentinean State VA evt_F5540R03_OTZIP <- TK OTM Postal Code VA evt_F5540R03_ITM <- TK Item Number - Short VA frm_F5540R06_CROS <- TK Outside Carton ID VA frm_prvF5540R06_CROS = VA frm_F5540R06_CROS While SV File_IO_Status is equal to CO SUCCESS If VA frm_prvF5540R06_CROS is equal to VA frm_F5540R06 Else VA frm_F5540R06_TQTY = 0 ProcessF5540R06 GC Shipment Number -> BF SHPN VA frm_prvF5540R06_CROS -> BF CROS VA frm_F5540R06_TQTY <- BF TRQT VA evt_F5540R03_PLT <- BF PLT Get Server File Path Information VA evt_szFilePath_EFRM <- BF szFilePath "D3N" -> BF szProductCode "TY" -> BF szUserDefinedCodes FC LabelType -> BF szUserDefinedCode "Pas" -> BF szString1 evt_F5540R04_JOBSQ <- TK Job Sequence Number evt_F5540R03_PLT <- TK SSCC Number - Tare Level evt_F5540R03_DL06 <- TK Description 06 evt_F5540R03_DL07 <- TK Description 07 evt_F5540R03_DL08 <- TK Description 08 evt_F5540R03_CIRV <- TK Truck Number - Hauler evt_F5540R03_PEFJ <- TK Date - Price Effective Date evt_F5540R03_DL09 <- TK Description 09 evt_F5540R03_DL10 <- TK Description 18 evt_F5540R03_DL11 <- TK Description 19 evt_F5540R03_STDS <- TK Description - Status evt_F5540R03_LDSC <- TK Description - Lot evt_F5540R03_SERN <- TK Serial Number - Lot evt_F5540R03_NEW_CIRV <- TK Vendor Name evt_F5540R04_DelBatNum_DELBATC <- TK Delivery Batch

0224 0225 0226 _CROS 0227 0228 0229

0230

0231 ],"0",3) 0232 VA evt_szFileName_EFRM = concat(concat(concat(conca t([VA evt_F5540R03ShipmentNumbe_SHPN],'_'),[VA evt_Counter_DSC1]),'_'),[VA evt_s zFileName_EFRM]) 0233 VA evt_szFilePath_EFRM = concat(concat([VA evt_szFi lePath_EFRM],'\'),[VA evt_szFileName_EFRM]) 0234 VA evt_mnCounter_MATH01 = [VA evt_mnCounter_MATH01] +1 0235 // ========================= 0236 Container OutPut File VA evt_szFilePath_EFRM -> BF szFilePath VA evt_F5540R03ShipmentNumbe_SHPN -> BF mnASNNum ber VA evt_F5540R03PullSignal_PSIG -> BF szDONumber VA evt_F5540R03EngineeringC_CITM -> BF szItemRev LevelCustomerSupp VA frm_F5540R06_TQTY -> BF mnQuantity VA evt_F5540R03SupplierCd_55EDSC -> BF szSupplie rCode VA evt_F5540R03PartNum_LITM -> BF szIdentifier2n dItem VA evt_F5540R03VendorPart_VNPART -> BF szVendorP artNumber VA evt_F5540R03LineFeed_ASBLNFD -> BF szAssembly LineFeed VA evt_F5540R03PartDes_DSC1 -> BF szDescription GC Lot Serial Number -> BF szLot VA evt_F5540R03PromisedShip_PPDJ -> BF jdActualS hipDate FC PrinterName -> BF szUserDefinedCode "CustomerLabels\" -> BF szString1 VA evt_szLabelFormat_GENSTR -> BF szString2 VA evt_szPrinter_DSC1 -> BF szString3 ".lwl" -> BF szString4 FC Number of Labels -> BF mnAmount1 VA evt_cOutPutFileFlag_EV04 <- BF cFlag4 VA evt_F5540R03ComAddress_QTXT -> BF szLongAddre ss1 VA evt_F5540R03WhLoc_DKID -> BF szWhLoc VA evt_F5540R03EngineeringC_CITM -> BF szEnginee ringChange VA evt_F5540R03PalletSerial_PLT -> BF szSerialNu mb VA evt_F5540R03SpecialMark_ADDR -> BF szSpecialM ark VA evt_F5540R03BLNo_DOC -> BF mnBLNumber VA evt_F5540R03SoldTo_ADD1 -> BF szSoldToAdd1 VA evt_F5540R03SoldTo_ADD2 -> BF szSoldToAdd2 VA evt_F5540R03SoldTo_ADD3 -> BF szSoldToAdd3 VA evt_F5540R03SoldTo_ADD4 -> BF szSoldToAdd4 VA evt_F5540R03SoldTo_ADDZ -> BF szSoldToZip VA evt_F5540R03SoldTo_CTY1 -> BF szSoldToCity VA evt_F5540R03SoldTo_ADDS -> BF szSoldToState VA evt_F5540R03ShipTo_PAD1 -> BF szShipToAdd1 VA evt_F5540R03ShipTo_PAD2 -> BF szShipToAdd2 VA evt_F5540R03ShipTo_PAD3 -> BF szShipToAdd3 VA evt_F5540R03ShipTo_PAD4 -> BF szShipToAdd4

VA evt_szFileName_EFRM <- BF szString2 VA evt_szString3_CONSTR3 <- BF szString3 VA evt_Counter_DSC1 = lpad([VA evt_mnCounter_MATH01

VA VA VA VA Country erType VA VA VA VA VA VA VA VA eMMDDYYYY

evt_F5540R03ShipTo_CITY -> BF szShipToCity evt_F5540R03ShipTo_ADSO -> BF szShipToState evt_F5540R03ShipTo_ADDO -> BF szShipToZip evt_F5540R03MadeInCountry_DL03 -> BF szMadeIn

VA evt_F5540R03CustCartonId_CEQT -> BF szContain evt_F5540R03PCI11_DL11 -> BF szPCI11 evt_F5540R03PCI12_DL12 -> BF szPCI12 evt_F5540R03PCI13_DL13 -> BF szPCI13 evt_F5540R03PCI14_DL14 -> BF szPCI4 evt_F5540R03PCI15_DL15 -> BF szPCI15 evt_F5540R03PCI16_DL16 -> BF szPCI16 evt_F5540R03PCI17_DL17 -> BF szPCI17 evt_F5540R03PromisedShip_PPDJ -> BF jdShipDat

VA evt_F5540R03Date_TRDJ -> BF jdDateMMDDYYYY VA evt_F5540R03Date_DL10 -> BF szShipDateDDMMMYY YY VA evt_F5542003NumfPirces_NPCS -> BF mnNumberofP acks VA evt_F5542003QuantityTotal_TQTY -> BF mnQuanti tyPack VA evt_F5540R03QuantityTotal_TQTY -> BF mnQuanti tyTotal VA evt_F5542003ActualWeight_AWGT -> BF mnActualW eight VA evt_F5540R03EDIPlantID_55EDPI -> BF szShipToP lantCode VA evt_F5540R03RsvrLnFeed_RSVLNFD -> BF szDropZo ne VA evt_F5540R03MfgDate_UPMJ -> BF jdMfgDate VA evt_F5540R03AsemLnLoc_ASBLNLOC -> BF szAssemb lyLineLocation VA evt_F5540R03Reference1_VR01 -> BF szReference 1 VA evt_F5540R03QLvlMercedes_CITM -> BF szQLevelM ercedes VA VA VA VA VA VA VA VA VA VA VA 10 VA evt_F5540R03ShipmentTime_PMDT -> BF mnSchedul edShipmentTime VA evt_F5540R03SpecialHand_SPHD -> BF szSpecialH andlingCode VA VA VA VA VA VA evt_LBActualWeight_AWGT -> BF mnGrossWeightLB evt_F5540R03_PSJOBNO -> BF szJobChassisNumber evt_F5540R03_JOBSQ -> BF szSequenceNumber evt_F5540R03_PLT -> BF szControlNumber evt_F5540R03_DL06 -> BF szMadeInCountry2 evt_F5540R03_DL07 -> BF szYMMDDShipDate evt_F5540R03_DSC3 -> BF szRSDJ evt_F5540R03_DMDREF1 -> BF szDemandReference1 evt_F5540R03_DMDREF2 -> BF szDemandReference2 evt_F5540R03_DMDREF3 -> BF szDemandReference3 evt_F5540R03_DMDREF4 -> BF szDemandReference4 evt_F5540R03_DMDREF5 -> BF szDemandReference5 evt_F5540R03_DMDREF6 -> BF szDemandReference6 evt_F5540R03_DMDREF7 -> BF szDemandReference7 evt_F5540R03_DMDREF8 -> BF szDemandReference8 evt_F5540R03_DMDREF9 -> BF szDemandReference9 evt_F5540R03_DMDREF10 -> BF szDemandReference

VA VA VA VA VA VA VA VA VA VA CIRV

evt_F5540R03_DL08 -> BF szMMDDYYYShipDate evt_F5540R03_CIRV -> BF szCustEngChange evt_F5540R03_PEFJ -> BF jdMfgDate2 evt_F5540R03_DL09 -> BF szMfgDate3 evt_F5540R03_DL10 -> BF szMfgDate4 evt_F5540R03_DL11 -> BF szMfgDate5 evt_F5540R03_STDS -> BF szSupplierLotNumber evt_F5540R03_LDSC -> BF szHondaPartNumber evt_F5540R03_SERN -> BF szHondaPartNumber1 evt_F5540R03_NEW_CIRV -> BF szCustomerservice

0237 0238 0239 0240 ent Number

VA evt_F5540R03_AN80 -> BF mnShipFromABnumber VA evt_F5540R03_RORN -> BF szRelatedOrderNumber VA evt_F5540R03_FIFO -> BF szDTFIFO VA evt_F5540R03_HIMEJI -> BF szDTHIMEJI VA evt_F5540R03_HITACHI -> BF szDTHITACHI VA evt_F5540R03_DENSO -> BF szDTDENSO VA evt_F5540R03_FUSO -> BF szDTFUSO VA evt_ITEMVOLT_SRP8 -> BF szITEMVOLT VA evt_ITEMAMP_PRP0 -> BF szITEMAMP VA evt_F5540R03_DL18 -> BF szSALESCATDESC2 VA evt_F5540R03_PRP3 -> BF szMATCLASS VA evt_F5540R03_OTADD1 -> BF szOVRSTADD1 VA evt_F5540R03_OTADD2 -> BF szOVRSTADD2 VA evt_F5540R03_OTADD3 -> BF szOVRSTADD3 VA evt_F5540R03_OTADD4 -> BF szOVRSTADD4 VA evt_F5540R03_OTCITY -> BF szOVRTOCTY1 VA evt_F5540R03_AARS -> BF szOVRTOADDS VA evt_F5540R03_OTZIP -> BF szOVRTOADDZ VA evt_F5540R03_ITM -> BF mnITM // ========================= End If VA frm_prvF5540R06_CROS = VA frm_F5540R06_CROS F5540R06.Fetch Next VA evt_F5540R03ShipmentNumbe_SHPN <- TK EDI - Docum VA evt_F5540R03PullSignal_PSIG <- TK Pull Signal VA evt_F5540R03EngineeringC_CITM <- TK Item Revisio

n Level - Customer/Supplier VA evt_F5540R04QuantityTotal_TQTY <- TK Quantity Sh ipped VA evt_F5540R03SupplierCd_55EDSC <- TK EDI Supplier Code VA evt_F5540R03PartNum_LITM <- TK 2nd Item Number VA evt_F5540R03PartDes_DSC1 <- TK Description VA evt_F5540R03VendorPart_VNPART <- TK Vendor Part Number VA evt_F5540R03LineFeed_ASBLNFD <- TK Assembly Line Feed VA evt_F5540R03PromisedShip_PPDJ <- TK Date - Actua l Ship Date VA evt_cOutPutFileFlag_EV04 <- TK EnterpriseOne Poi nt 04 VA evt_F5540R03ComAddress_QTXT <- TK Question Text VA evt_F5540R03WhLoc_DKID <- TK Dock ID VA evt_F5540R03EngineeringC_CITM <- TK Catalog Item Number VA evt_F5540R04ContainerSer_CTSN <- TK Serial Numbe r VA evt_F5540R03SpecialMark_ADDR <- TK Address

VA evt_F5540R03BLNo_DOC <- TK Document (Voucher, In voice, etc.) VA VA VA VA VA VA VA VA ine 1 VA evt_F5540R03ShipTo_PAD2 <- TK Producer Address L ine 2 VA evt_F5540R03ShipTo_PAD3 <- TK Producer Address L ine 3 VA evt_F5540R03ShipTo_PAD4 <- TK Producer Address L ine 4 VA evt_F5540R03ShipTo_CITY <- TK City VA evt_F5540R03ShipTo_ADSO <- TK Origin State VA evt_F5540R03ShipTo_ADDO <- TK Postal Code - Orig in VA evt_F5540R03MadeInCountry_DL03 <- TK Description 03 VA evt_F5540R03CustCartonId_CEQT <- TK Customer Car ton ID VA VA VA VA VA VA VA VA uled Pick VA evt_F5540R03Date_TRDJ <- TK Date - Order/Transac tion VA evt_F5540R03Date_DL10 <- TK Description 10 VA evt_F5542003NumfPirces_NPCS <- TK Number of Piec es VA evt_F5542003QuantityTotal_TQTY <- TK Quantity -T otal VA evt_F5540R03QuantityTotal_TQTY <- TK Quantity on Hand - Primary units VA evt_F5542003ActualWeight_AWGT <- TK Weight - Act ual VA evt_F5540R03EDIPlantID_55EDPI <- TK EDI Plant ID VA evt_F5540R03RsvrLnFeed_RSVLNFD <- TK Reserve Lin e Feed VA evt_F5540R03MfgDate_UPMJ <- TK Date - Action VA evt_F5540R03AsemLnLoc_ASBLNLOC <- TK Assembly Li ne Location VA evt_F5540R03Reference1_VR01 <- TK Reference VA evt_F5540R03QLvlMercedes_CITM <- TK Outsider Lea se or Well ID VA VA VA VA VA VA evt_F5540R04Sequence_DSC1 <- TK Description evt_F5540R03_DSC3 <- TK Description - Line 2 evt_F5540R03_DMDREF1 <- TK Demand Reference 1 evt_F5540R03_DMDREF2 <- TK Demand Reference 2 evt_F5540R03_DMDREF3 <- TK Demand Reference 3 evt_F5540R03_DMDREF4 <- TK Demand Reference 4 evt_F5540R03PCI11_DL11 <- TK Description evt_F5540R03PCI12_DL12 <- TK Description evt_F5540R03PCI13_DL13 <- TK Description evt_F5540R03PCI14_DL14 <- TK Description evt_F5540R03PCI15_DL15 <- TK Description evt_F5540R03PCI16_DL16 <- TK Description evt_F5540R03PCI17_DL17 <- TK Description evt_F5540R03PromisedShip_PPDJ <- TK Date 11 12 13 14 15 16 17 - Sched evt_F5540R03SoldTo_ADD1 evt_F5540R03SoldTo_ADD2 evt_F5540R03SoldTo_ADD3 evt_F5540R03SoldTo_ADD4 evt_F5540R03SoldTo_ADDZ evt_F5540R03SoldTo_CTY1 evt_F5540R03SoldTo_ADDS evt_F5540R03ShipTo_PAD1 <<<<<<<<TK TK TK TK TK TK TK TK Address Line 1 Address Line 2 Address Line 3 Address Line 4 Postal Code City State Producer Address L

VA VA VA VA VA VA VA ipment Time ing Code - User Def Codes

evt_F5540R03_DMDREF5 <- TK Demand Reference 5 evt_F5540R03_DMDREF6 <- TK Demand Reference 6 evt_F5540R03_DMDREF7 <- TK Demand Reference 7 evt_F5540R03_DMDREF8 <- TK Demand Reference 8 evt_F5540R03_DMDREF9 <- TK Demand Reference 9 evt_F5540R03_DMDREF10 <- TK Demand Reference 10 evt_F5540R03ShipmentTime_PMDT <- TK Scheduled Sh

VA evt_F5540R03SpecialHand_SPHD <- TK Special Handl VA evt_LBActualWeight_AWGT <- TK Math Numeric 01 VA evt_F5540R04_PSJOBNO <- TK Production Sequencing Job Number VA VA VA VA VA VA VA ate VA VA VA VA VA VA VA VA tch Number VA evt_F5540R03_AN80 <- TK Address Number VA evt_F5540R03_RORN <- TK Related PO/SO/WO Number VA evt_F5540R03_FIFO <- TK Description 21 VA evt_F5540R03_HIMEJI <- TK Description 22 VA evt_F5540R03_HITACHI <- TK Description 23 VA evt_F5540R03_DENSO <- TK Description 24 VA evt_F5540R03_FUSO <- TK Description 25 VA evt_ITEMVOLT_SRP8 <- TK Item Voltage VA evt_ITEMAMP_PRP0 <- TK Item Amperage VA evt_F5540R03_DL18 <- TK Description 26 VA evt_F5540R03_PRP3 <- TK Material Class VA evt_F5540R03_OTADD1 <- TK OTM Address Line 1 VA evt_F5540R03_OTADD2 <- TK OTM Address Line 2 VA evt_F5540R03_OTADD3 <- TK OTM Address Line 3 VA evt_F5540R03_OTADD4 <- TK OTM Address Line 4 VA evt_F5540R03_OTCITY <- TK City VA evt_F5540R03_AARS <- TK Argentinean State VA evt_F5540R03_OTZIP <- TK OTM Postal Code VA evt_F5540R03_ITM <- TK Item Number - Short VA frm_F5540R06_CROS <- TK Outside Carton ID End While VA frm_F5540R06_TQTY = 0 ProcessF5540R06 GC Shipment Number -> BF SHPN VA frm_prvF5540R06_CROS -> BF CROS VA frm_F5540R06_TQTY <- BF TRQT VA evt_F5540R03_PLT <- BF PLT Get Server File Path Information VA evt_szFilePath_EFRM <- BF szFilePath "D3N" -> BF szProductCode evt_F5540R03_DL09 <- TK Description 09 evt_F5540R03_DL10 <- TK Description 18 evt_F5540R03_DL11 <- TK Description 19 evt_F5540R03_STDS <- TK Description - Status evt_F5540R03_LDSC <- TK Description - Lot evt_F5540R03_SERN <- TK Serial Number - Lot evt_F5540R03_NEW_CIRV <- TK Vendor Name evt_F5540R04_DelBatNum_DELBATC <- TK Delivery Ba evt_F5540R04_JOBSQ <- TK Job Sequence Number evt_F5540R03_PLT <- TK SSCC Number - Tare Level evt_F5540R03_DL06 <- TK Description 06 evt_F5540R03_DL07 <- TK Description 07 evt_F5540R03_DL08 <- TK Description 08 evt_F5540R03_CIRV <- TK Truck Number - Hauler evt_F5540R03_PEFJ <- TK Date - Price Effective D

0241 0242 0243

0244

0245 3) 0246 VA evt_szFileName_EFRM = concat(concat(concat(concat([VA evt_F5540R03ShipmentNumbe_SHPN],'_'),[VA evt_Counter_DSC1]),'_'),[VA evt_szFileN ame_EFRM]) 0247 VA evt_szFilePath_EFRM = concat(concat([VA evt_szFilePath _EFRM],'\'),[VA evt_szFileName_EFRM]) 0248 VA evt_mnCounter_MATH01 = [VA evt_mnCounter_MATH01]+1 0249 // ========================= 0250 Container OutPut File VA evt_szFilePath_EFRM -> BF szFilePath VA evt_F5540R03ShipmentNumbe_SHPN -> BF mnASNNumber VA evt_F5540R03PullSignal_PSIG -> BF szDONumber VA evt_F5540R03EngineeringC_CITM -> BF szItemRevLevelC ustomerSupp VA frm_F5540R06_TQTY -> BF mnQuantity VA evt_F5540R03SupplierCd_55EDSC -> BF szSupplierCode VA evt_F5540R03PartNum_LITM -> BF szIdentifier2ndItem VA evt_F5540R03VendorPart_VNPART -> BF szVendorPartNum ber VA evt_F5540R03LineFeed_ASBLNFD -> BF szAssemblyLineFe ed VA evt_F5540R03PartDes_DSC1 -> BF szDescription GC Lot Serial Number -> BF szLot VA evt_F5540R03PromisedShip_PPDJ -> BF jdActualShipDat e FC PrinterName -> BF szUserDefinedCode "CustomerLabels\" -> BF szString1 VA evt_szLabelFormat_GENSTR -> BF szString2 VA evt_szPrinter_DSC1 -> BF szString3 ".lwl" -> BF szString4 FC Number of Labels -> BF mnAmount1 VA evt_cOutPutFileFlag_EV04 <- BF cFlag4 VA evt_F5540R03ComAddress_QTXT -> BF szLongAddress1 VA evt_F5540R03WhLoc_DKID -> BF szWhLoc VA evt_F5540R03EngineeringC_CITM -> BF szEngineeringCh ange VA evt_F5540R03PalletSerial_PLT -> BF szSerialNumb VA evt_F5540R03SpecialMark_ADDR -> BF szSpecialMark VA evt_F5540R03BLNo_DOC -> BF mnBLNumber VA evt_F5540R03SoldTo_ADD1 -> BF szSoldToAdd1 VA evt_F5540R03SoldTo_ADD2 -> BF szSoldToAdd2 VA evt_F5540R03SoldTo_ADD3 -> BF szSoldToAdd3 VA evt_F5540R03SoldTo_ADD4 -> BF szSoldToAdd4 VA evt_F5540R03SoldTo_ADDZ -> BF szSoldToZip VA evt_F5540R03SoldTo_CTY1 -> BF szSoldToCity VA evt_F5540R03SoldTo_ADDS -> BF szSoldToState VA evt_F5540R03ShipTo_PAD1 -> BF szShipToAdd1 VA evt_F5540R03ShipTo_PAD2 -> BF szShipToAdd2 VA evt_F5540R03ShipTo_PAD3 -> BF szShipToAdd3 VA evt_F5540R03ShipTo_PAD4 -> BF szShipToAdd4 VA evt_F5540R03ShipTo_CITY -> BF szShipToCity VA evt_F5540R03ShipTo_ADSO -> BF szShipToState VA evt_F5540R03ShipTo_ADDO -> BF szShipToZip VA evt_F5540R03MadeInCountry_DL03 -> BF szMadeInCountr

"TY" -> BF szUserDefinedCodes FC LabelType -> BF szUserDefinedCode "Pas" -> BF szString1 VA evt_szFileName_EFRM <- BF szString2 VA evt_szString3_CONSTR3 <- BF szString3 VA evt_Counter_DSC1 = lpad([VA evt_mnCounter_MATH01],"0",

y VA VA VA VA VA VA VA VA VA YYY VA VA VA VA VA l VA evt_F5542003ActualWeight_AWGT -> BF mnActualWeight VA evt_F5540R03EDIPlantID_55EDPI -> BF szShipToPlantCo de VA evt_F5540R03RsvrLnFeed_RSVLNFD -> BF szDropZone VA evt_F5540R03MfgDate_UPMJ -> BF jdMfgDate VA evt_F5540R03AsemLnLoc_ASBLNLOC -> BF szAssemblyLine Location VA evt_F5540R03Reference1_VR01 -> BF szReference1 VA evt_F5540R03QLvlMercedes_CITM -> BF szQLevelMercede s VA VA VA VA VA VA VA VA VA VA VA VA mentTime VA evt_F5540R03SpecialHand_SPHD -> BF szSpecialHandlin gCode VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA evt_LBActualWeight_AWGT -> BF mnGrossWeightLB evt_F5540R03_PSJOBNO -> BF szJobChassisNumber evt_F5540R03_JOBSQ -> BF szSequenceNumber evt_F5540R03_PLT -> BF szControlNumber evt_F5540R03_DL06 -> BF szMadeInCountry2 evt_F5540R03_DL07 -> BF szYMMDDShipDate evt_F5540R03_DL08 -> BF szMMDDYYYShipDate evt_F5540R03_CIRV -> BF szCustEngChange evt_F5540R03_PEFJ -> BF jdMfgDate2 evt_F5540R03_DL09 -> BF szMfgDate3 evt_F5540R03_DL10 -> BF szMfgDate4 evt_F5540R03_DL11 -> BF szMfgDate5 evt_F5540R03_STDS -> BF szSupplierLotNumber evt_F5540R03_LDSC -> BF szHondaPartNumber evt_F5540R03_SERN -> BF szHondaPartNumber1 evt_F5540R03_NEW_CIRV -> BF szCustomerserviceCIRV evt_F5540R03_AN80 -> BF mnShipFromABnumber evt_F5540R03_RORN -> BF szRelatedOrderNumber evt_F5540R03_DSC3 -> BF szRSDJ evt_F5540R03_DMDREF1 -> BF szDemandReference1 evt_F5540R03_DMDREF2 -> BF szDemandReference2 evt_F5540R03_DMDREF3 -> BF szDemandReference3 evt_F5540R03_DMDREF4 -> BF szDemandReference4 evt_F5540R03_DMDREF5 -> BF szDemandReference5 evt_F5540R03_DMDREF6 -> BF szDemandReference6 evt_F5540R03_DMDREF7 -> BF szDemandReference7 evt_F5540R03_DMDREF8 -> BF szDemandReference8 evt_F5540R03_DMDREF9 -> BF szDemandReference9 evt_F5540R03_DMDREF10 -> BF szDemandReference10 evt_F5540R03ShipmentTime_PMDT -> BF mnScheduledShip evt_F5540R03Date_TRDJ -> BF jdDateMMDDYYYY evt_F5540R03Date_DL10 -> BF szShipDateDDMMMYYYY evt_F5542003NumfPirces_NPCS -> BF mnNumberofPacks evt_F5542003QuantityTotal_TQTY -> BF mnQuantityPack evt_F5540R03QuantityTotal_TQTY -> BF mnQuantityTota evt_F5540R03CustCartonId_CEQT -> BF szContainerType evt_F5540R03PCI11_DL11 -> BF szPCI11 evt_F5540R03PCI12_DL12 -> BF szPCI12 evt_F5540R03PCI13_DL13 -> BF szPCI13 evt_F5540R03PCI14_DL14 -> BF szPCI4 evt_F5540R03PCI15_DL15 -> BF szPCI15 evt_F5540R03PCI16_DL16 -> BF szPCI16 evt_F5540R03PCI17_DL17 -> BF szPCI17 evt_F5540R03PromisedShip_PPDJ -> BF jdShipDateMMDDY

0251 0252 0253 0254 0255 0256 0257 === 0258 0259

VA evt_F5540R03_FIFO -> BF szDTFIFO VA evt_F5540R03_HIMEJI -> BF szDTHIMEJI VA evt_F5540R03_HITACHI -> BF szDTHITACHI VA evt_F5540R03_DENSO -> BF szDTDENSO VA evt_F5540R03_FUSO -> BF szDTFUSO VA evt_ITEMVOLT_SRP8 -> BF szITEMVOLT VA evt_ITEMAMP_PRP0 -> BF szITEMAMP VA evt_F5540R03_DL18 -> BF szSALESCATDESC2 VA evt_F5540R03_PRP3 -> BF szMATCLASS VA evt_F5540R03_OTADD1 -> BF szOVRSTADD1 VA evt_F5540R03_OTADD2 -> BF szOVRSTADD2 VA evt_F5540R03_OTADD3 -> BF szOVRSTADD3 VA evt_F5540R03_OTADD4 -> BF szOVRSTADD4 VA evt_F5540R03_OTCITY -> BF szOVRTOCTY1 VA evt_F5540R03_AARS -> BF szOVRTOADDS VA evt_F5540R03_OTZIP -> BF szOVRTOADDZ VA evt_F5540R03_ITM -> BF mnITM // ========================= ClearLabelTableCache "4" -> BF cClearAll GC Shipment Number -> BF mnShipmentNumber End If VA frm_cPaccarLabel_EV01 = "N" // T006298 -------------- End Else // ========================================================= If VA frm_MasterCartonPrintFlag_EV01 is equal to "Y" F5540R03.Select GC Shipment Number = TK Shipment Number GC Part Number = TK 2nd Item Number GC D/O Number / Pull Signal = TK Pull Signal GC Customer Part = TK Vendor Part Number F5540R03.Fetch Next VA evt_F5540R03ShipmentNumbe_SHPN <- TK Shipment Numbe VA evt_F5540R03SupplierCd_55EDSC <- TK EDI Supplier Co

0260 r de

VA evt_F5540R03PromisedShip_PPDJ <- TK Date - Promised Shipment VA VA VA VA ber VA evt_F5540R03SoldTo_AN8 <- TK Address Number VA evt_F5540R03ShipTo_SHAN <- TK Address Number - Ship To VA evt_F5540R03WhLoc_DKID <- TK Dock ID VA evt_F5540R03LineFeed_ASBLNFD <- TK Assembly Line Fe ed VA evt_F5540R03EngineeringC_CITM <- TK Item Number - C ustomer/Supplier VA VA VA VA ce, etc.) VA evt_F5540R03QuantityTotal_TQTY <- TK Quantity -Tota l evt_F5540R03_ITM <- TK Item Number - Short evt_F5540R03ComAddress_QTXT <- TK Question Text evt_F5540R03SpecialMark_ADDR <- TK Address evt_F5540R03BLNo_DOC <- TK Document (Voucher, Invoi evt_F5540R03PartNum_LITM <- TK 2nd Item Number evt_F5540R03PartDes_DSC1 <- TK Description evt_F5540R03PullSignal_PSIG <- TK Pull Signal evt_F5540R03VendorPart_VNPART <- TK Vendor Part Num

VA evt_PalletID_CROS <- TK Outside Carton ID VA evt_F5540R03PalletSerial_PLT <- TK SSCC Number - Ta re Level VA VA VA VA VA VA VA VA VA 1 VA evt_F5540R03ShipTo_PAD2 <- TK Producer Address Line 2 VA evt_F5540R03ShipTo_PAD3 <- TK Producer Address Line 3 VA evt_F5540R03ShipTo_PAD4 <- TK Producer Address Line 4 VA VA VA VA VA ID VA VA VA VA VA VA VA VA eriod 01 VA VA VA VA eed VA evt_F5540R03AsemLnLoc_ASBLNLOC <- TK Assembly Line Location VA VA VA VA VA VA VA VA VA VA VA VA VA VA ent Time VA evt_F5540R03SpecialHand_SPHD <- TK Special Handling Code - User Def Codes VA evt_F5540R03_PSJOBNO <- TK Production Sequencing Jo b Number evt_F5540R03Reference1_VR01 <- TK Reference evt_F5540R03QLvlMercedes_CITM <- TK Plan Qualifier evt_F5540R03_DSC3 <- TK Description - Line 3 evt_F5540R03_DMDREF1 <- TK Demand Reference 1 evt_F5540R03_DMDREF2 <- TK Demand Reference 2 evt_F5540R03_DMDREF3 <- TK Demand Reference 3 evt_F5540R03_DMDREF4 <- TK Demand Reference 4 evt_F5540R03_DMDREF5 <- TK Demand Reference 5 evt_F5540R03_DMDREF6 <- TK Demand Reference 6 evt_F5540R03_DMDREF7 <- TK Demand Reference 7 evt_F5540R03_DMDREF8 <- TK Demand Reference 8 evt_F5540R03_DMDREF9 <- TK Demand Reference 9 evt_F5540R03_DMDREF10 <- TK Demand Reference 10 evt_F5540R03ShipmentTime_PMDT <- TK Scheduled Shipm evt_F5540R03Date_TRDJ <- TK Date - End of Period 02 evt_F5540R03Date_DL10 <- TK Description 10 evt_F5540R03EDIPlantID_55EDPI <- TK EDI Plant ID evt_F5540R03RsvrLnFeed_RSVLNFD <- TK Reserve Line F evt_F5540R03PCI11_DL11 <- TK Description evt_F5540R03PCI12_DL12 <- TK Description evt_F5540R03PCI13_DL13 <- TK Description evt_F5540R03PCI14_DL14 <- TK Description evt_F5540R03PCI15_DL15 <- TK Description evt_F5540R03PCI16_DL16 <- TK Description evt_F5540R03PCI17_DL17 <- TK Description evt_F5540R03PromisedShip_PPDJ <- TK Date 11 12 13 14 15 16 17 - End of P evt_F5540R03ShipTo_CITY <- TK City evt_F5540R03ShipTo_ADSO <- TK Origin State evt_F5540R03ShipTo_ADDO <- TK Postal Code - Origin evt_F5540R03MadeInCountry_DL03 <- TK Description 03 evt_F5540R03CustCartonId_CEQT <- TK Customer Carton evt_F5540R03MfgDate_UPMJ <- TK Date - Updated evt_F5540R03SoldTo_ADD1 <- TK Address Line 1 evt_F5540R03SoldTo_ADD2 <- TK Address Line 2 evt_F5540R03SoldTo_ADD3 <- TK Address Line 3 evt_F5540R03SoldTo_ADD4 <- TK Address Line 4 evt_F5540R03SoldTo_CTY1 <- TK City evt_F5540R03SoldTo_ADDS <- TK State evt_F5540R03SoldTo_ADDZ <- TK Postal Code evt_F5540R03ShipTo_PAD1 <- TK Producer Address Line

VA evt_F5540R03_JOBSQ <- TK Job Sequence Number VA evt_F5540R03_PLT <- TK Shipment Identification Numb er VA VA VA VA mer/Supplier VA VA VA VA VA VA VA VA VA 1 VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA While If evt_F5540R03_AN80 <- TK Address Number evt_F5540R03_RORN <- TK Related PO/SO/WO Number evt_F5540R03_FIFO <- TK Description 21 evt_F5540R03_HIMEJI <- TK Description 22 evt_F5540R03_HITACHI <- TK Description 23 evt_F5540R03_DENSO <- TK Description 24 evt_F5540R03_FUSO <- TK Description 25 evt_ITEMVOLT_SRP8 <- TK Item Voltage evt_ITEMAMP_PRP0 <- TK Item Amperage evt_F5540R03_DL18 <- TK Description 18 evt_F5540R03_PRP3 <- TK Material Class evt_F5540R03_OTADD1 <- TK OTM Address Line 1 evt_F5540R03_OTADD2 <- TK OTM Address Line 2 evt_F5540R03_OTADD3 <- TK OTM Address Line 3 evt_F5540R03_OTADD4 <- TK OTM Address Line 4 evt_F5540R03_OTCITY <- TK City evt_F5540R03_AARS <- TK Argentinean State evt_F5540R03_OTZIP <- TK OTM Postal Code SV File_IO_Status is equal to CO SUCCESS VA frm_cPrintService_EV01 is equal to "Y" F5540R04.Select VA evt_F5540R03ShipmentNumbe_SHPN = TK Shipment evt_F5540R03_PEFJ <- TK Date - Price Effective Date evt_F5540R03_DL09 <- TK Description 09 evt_F5540R03_DL10 <- TK Description 10 evt_F5540R03_DL11 <- TK Description 11 evt_F5540R03_STDS <- TK Description - Status evt_F5540R03_LDSC <- TK Description - Lot evt_F5540R03_SCC0 <- TK SCC Number evt_F5540R03_SERN <- TK Serial Number - Lot evt_F5540R03_NEW_CIRV <- TK Future Use For Segment evt_F5540R03_DL06 evt_F5540R03_DL07 evt_F5540R03_DL08 evt_F5540R03_CIRV <<<<TK TK TK TK Description 06 Description 07 Description 08 Item Revision Level - Custo

0261 0262 0263 Number 0264 0265 0266 0267 Number 0268 0269 rial Number

VA evt_PalletID_CROS = TK Outside Carton ID GC Short Item No = TK Item Number - Short VA frm_cPrintService_EV01 = "N" Else VA frm_cPrintService_EV01 = "N" F5540R04.Select VA evt_F5540R03ShipmentNumbe_SHPN = TK Shipment VA evt_PalletID_CROS = TK Outside Carton ID End If F5540R04.Fetch Next VA evt_F5540R04ContainerSer_CTSN <- TK Container Se VA VA VA VA evt_F5540R04_CROS <- TK Outside Carton ID evt_F5540R04_CRID <- TK Carton ID evt_F5546001_ITM <- TK Item Number - Short evt_F5540R04QuantityTotal_TQTY <- TK Quantity -T

otal VA evt_F5540R04Sequence_DSC1 <- TK Description

VA evt_F5540R04_PSJOBNO <- TK Production Sequencing Job Number VA evt_F5540R04_JOBSQ <- TK Job Sequence Number VA evt_F5540R04_PLT <- TK Shipment Identification N umber VA VA VA VA tch Number VA VA VA VA VA VA VA VA ss Weight 0270 0271 --0272 0273 --0274 evt_F5540R04_FIFO <- TK Description 21 evt_F5540R04_HIMEJI <- TK Description 22 evt_F5540R04_HITACHI <- TK Description 23 evt_F5540R04_DENSO <- TK Description 24 evt_F5540R04_FUSO <- TK Description 25 evt_ITEMVOLT_SRP8 <- TK Item Voltage evt_ITEMAMP_PRP0 <- TK Item Amperage evt_F5542003ActualWeight_AWGT <- TK Weight - Gro evt_F5540R04_SCCN <- TK SCC Number evt_F5540R04_PAK <- TK SSCC Number - Pack Level evt_F5540R04_UPCN <- TK UPC Number evt_F5540R04_DelBatNum_DELBATC <- TK Delivery Ba

While SV File_IO_Status is equal to CO SUCCESS // -----------------------------------------------// Validate File Path On Server // -----------------------------------------------Get Server File Path Information VA evt_szFilePath_EFRM <- BF szFilePath "D3N" -> BF szProductCode "TY" -> BF szUserDefinedCodes FC LabelType -> BF szUserDefinedCode "Pas" -> BF szString1 VA evt_szFileName_EFRM <- BF szString2 VA evt_szString3_CONSTR3 <- BF szString3 VA evt_Counter_DSC1 = lpad([VA evt_mnCounter_MATH01

0275 ],"0",3) 0276 VA evt_szFileName_EFRM = concat(concat(concat(conca t([VA evt_F5540R03ShipmentNumbe_SHPN],'_'),[VA evt_Counter_DSC1]),'_'),[VA evt_s zFileName_EFRM]) 0277 VA evt_szFilePath_EFRM = concat(concat([VA evt_szFi lePath_EFRM],'\'),[VA evt_szFileName_EFRM]) 0278 // ========================= 0279 // Weight Calculation 0280 // ========================= 0281 // 0282 Get Next Unique Key ID "F5542003" -> BF szObjectName VA evt_JobnumberA_JOBS <- BF mnUniqueKeyID 0283 CartonRecommF4615 VA evt_F5540R03ShipmentNumbe_SHPN -> BF mnShipme ntNumber GC Short Item No -> BF mnIdentifierShortItem VA evt_JobnumberA_JOBS -> BF mnJobnumberA 0284 CalculateWeight VA evt_F5540R03ShipmentNumbe_SHPN -> BF mnShipme ntNumber GC Short Item No -> BF mnIdentifierShortItem VA evt_F5542003TotWeight_AA1 <- BF mnAmountAa1 VA evt_F5542003TotQty_AA2 <- BF mnAmountAa2 VA evt_JobnumberA_JOBS -> BF mnJobnumberA 0285 If VA evt_F5540R03QuantityTotal_TQTY is equal to <Z

ero> 0286 VA evt_F5542003NumfPirces_NPCS = [VA evt_F554200 3TotQty_AA2] 0287 Else 0288 VA evt_F5542003NumfPirces_NPCS = round(([VA evt_ F5542003TotQty_AA2]/[VA evt_F5540R03QuantityTotal_TQTY]),0) 0289 End If 0290 VA evt_F5542003QuantityTotal_TQTY = round(([VA evt_ F5540R03QuantityTotal_TQTY]/[VA evt_F5542003NumfPirces_NPCS]),0) 0291 // T006199 -------------------- Start 0292 ! VA evt_F5542003ActualWeight_AWGT = round(([VA evt _F5542003TotWeight_AA1]/[VA evt_F5542003NumfPirces_NPCS]),0) 0293 // T006199 -------------------- End 0294 VA evt_LBActualWeight_AWGT = VA evt_F5542003ActualW eight_AWGT 0295 Get Standard UOM Conversion Factor "LB" -> BF szUnitOfMeasure "KG" -> BF szRelatedUnitOfMeasure VA evt_ConversionFactor_CONV <- BF mnConversionF actor 0296 VA evt_F5542003ActualWeight_AWGT = round(([VA evt_F 5542003ActualWeight_AWGT]*[VA evt_ConversionFactor_CONV]),0) 0297 // 0298 VA evt_F5540R04Sequence_DSC1 = rtrim(ltrim([VA evt_ F5540R04Sequence_DSC1]," ")," ") 0299 // ========================= 0300 // F5546001 - Container Serial Scanning 0301 // ========================= 0302 // 0303 F03012.Fetch Single VA evt_F5540R03SoldTo_AN8 = TK Address Number VA evt_F5546001_AC13 <- TK Write Container Detai l 0304 If VA evt_F5546001_AC13 is equal to "Y" 0305 F4101.Fetch Single VA evt_F5546001_ITM = TK Item Number - Short VA evt_F5546001_LITM <- TK 2nd Item Number 0306 VA evt_UserReservedCode_URCD = "L" 0307 Get UDC "D3N" -> BF szSystemCode "TY" -> BF szRecordTypeCode FC LabelType -> BF szUserDefinedCode VA evt_HardCodedYN_HRDC <- BF cHardCodedYn 0308 If VA evt_HardCodedYN_HRDC is equal to "Y" 0309 F5546001.Insert GC Shipment Number -> TK Shipment Number VA evt_F5540R04ContainerSer_CTSN -> TK Con tainer Serial Number VA evt_F5540R04_CRID -> TK Carton ID VA evt_F5546001_ITM -> TK Item Number - Sh ort VA evt_F5540R04QuantityTotal_TQTY -> TK Qu antity -Total VA evt_F5540R04_SCCN -> TK SCC Number VA evt_F5540R04_UPCN -> TK UPC Number VA evt_F5540R04_PAK -> TK SSCC Number - Pa ck Level VA evt_UserReservedCode_URCD -> TK User Re served Code VA frm_SY_USER -> TK User ID

VA VA VA FC VA m Number - Customer/Supplier

frm_SY_PID -> TK Program ID frm_SY_UPMJ -> TK Date - Updated frm_SY_TDAY -> TK Time of Day LabelType -> TK User Defined Code evt_F5540R03VendorPart_VNPART -> TK Ite

VA evt_F5546001_LITM -> TK 2nd Item Number VA evt_F5540R03_STDS -> TK Supplier Lot Nu mber VA evt_F5540R03SupplierCd_55EDSC -> TK EDI Supplier Code VA evt_F5540R04_PSJOBNO -> TK Production S equencing Job Number VA evt_F5540R04_JOBSQ -> TK Job Sequence N umber VA evt_F5540R03EDIPlantID_55EDPI -> TK EDI Plant ID VA evt_F5540R03_NEW_CIRV -> TK Item Revisi on Level - Customer/Supplier VA evt_F5540R03_DMDREF6 -> TK Demand Refer ence 6 VA evt_F5540R03_SCC0 -> TK Aggregate SCC C ode (PI=0) 0310 tainer Serial Number VA evt_F5540R04_CRID -> TK Carton ID VA evt_F5546001_ITM -> TK Item Number - Sh ort VA evt_F5540R04QuantityTotal_TQTY -> TK Qu antity -Total VA evt_F5540R04_SCCN -> TK SCC Number VA evt_F5540R04_UPCN -> TK UPC Number VA evt_F5540R04_PAK -> TK SSCC Number - Pa ck Level VA evt_UserReservedCode_URCD -> TK User Re served Code VA VA VA VA FC VA m Number - Customer/Supplier VA evt_F5546001_LITM -> TK 2nd Item Number VA evt_F5540R03_STDS -> TK Supplier Lot Nu mber VA evt_F5540R03SupplierCd_55EDSC -> TK EDI Supplier Code VA evt_F5540R04_PSJOBNO -> TK Production S equencing Job Number VA evt_F5540R04_JOBSQ -> TK Job Sequence N umber VA evt_F5540R03EDIPlantID_55EDPI -> TK EDI Plant ID VA evt_F5540R03_CIRV -> TK Item Revision L evel - Customer/Supplier VA evt_F5540R03_DMDREF6 -> TK Demand Refer ence 6 frm_SY_USER -> TK User ID frm_SY_PID -> TK Program ID frm_SY_UPMJ -> TK Date - Updated frm_SY_TDAY -> TK Time of Day LabelType -> TK User Defined Code evt_F5540R03VendorPart_VNPART -> TK Ite F5546002.Insert GC Shipment Number -> TK Shipment Number VA evt_F5540R04ContainerSer_CTSN -> TK Con

VA evt_F5540R03_SCC0 -> TK Aggregate SCC C ode (PI=0) 0311 0312 0313 0314 0315 ber VA evt_F5540R03PullSignal_PSIG -> BF szDONumber VA evt_F5540R03EngineeringC_CITM -> BF szItemRev LevelCustomerSupp VA evt_F5540R04QuantityTotal_TQTY -> BF mnQuanti ty VA evt_F5540R03SupplierCd_55EDSC -> BF szSupplie rCode VA evt_F5540R03PartNum_LITM -> BF szIdentifier2n dItem VA evt_F5540R03VendorPart_VNPART -> BF szVendorP artNumber VA evt_F5540R03LineFeed_ASBLNFD -> BF szAssembly LineFeed VA evt_F5540R03PartDes_DSC1 -> BF szDescription GC Lot Serial Number -> BF szLot VA evt_F5540R03PromisedShip_PPDJ -> BF jdActualS hipDate FC PrinterName -> BF szUserDefinedCode "CustomerLabels\" -> BF szString1 VA evt_szLabelFormat_GENSTR -> BF szString2 VA evt_szPrinter_DSC1 -> BF szString3 ".lwl" -> BF szString4 FC Number of Labels -> BF mnAmount1 VA evt_cOutPutFileFlag_EV04 <- BF cFlag4 VA evt_F5540R03ComAddress_QTXT -> BF szLongAddre ss1 VA evt_F5540R03WhLoc_DKID -> BF szWhLoc VA evt_F5540R03EngineeringC_CITM -> BF szEnginee ringChange VA evt_F5540R04ContainerSer_CTSN -> BF szSerialN umb VA evt_F5540R03SpecialMark_ADDR -> BF szSpecialM ark VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA Country evt_F5540R03BLNo_DOC -> BF mnBLNumber evt_F5540R03SoldTo_ADD1 -> BF szSoldToAdd1 evt_F5540R03SoldTo_ADD2 -> BF szSoldToAdd2 evt_F5540R03SoldTo_ADD3 -> BF szSoldToAdd3 evt_F5540R03SoldTo_ADD4 -> BF szSoldToAdd4 evt_F5540R03SoldTo_ADDZ -> BF szSoldToZip evt_F5540R03SoldTo_CTY1 -> BF szSoldToCity evt_F5540R03SoldTo_ADDS -> BF szSoldToState evt_F5540R03ShipTo_PAD1 -> BF szShipToAdd1 evt_F5540R03ShipTo_PAD2 -> BF szShipToAdd2 evt_F5540R03ShipTo_PAD3 -> BF szShipToAdd3 evt_F5540R03ShipTo_PAD4 -> BF szShipToAdd4 evt_F5540R03ShipTo_CITY -> BF szShipToCity evt_F5540R03ShipTo_ADSO -> BF szShipToState evt_F5540R03ShipTo_ADDO -> BF szShipToZip evt_F5540R03MadeInCountry_DL03 -> BF szMadeIn End If End If // // ========================= Container OutPut File VA evt_szFilePath_EFRM -> BF szFilePath VA evt_F5540R03ShipmentNumbe_SHPN -> BF mnASNNum

VA evt_F5540R03CustCartonId_CEQT -> BF szContain erType VA VA VA VA VA VA VA VA eMMDDYYYY VA evt_F5540R03Date_TRDJ -> BF jdDateMMDDYYYY VA evt_F5540R03Date_DL10 -> BF szShipDateDDMMMYY YY VA evt_F5542003NumfPirces_NPCS -> BF mnNumberofP acks VA evt_F5542003QuantityTotal_TQTY -> BF mnQuanti tyPack VA evt_F5540R03QuantityTotal_TQTY -> BF mnQuanti tyTotal VA evt_F5542003ActualWeight_AWGT -> BF mnActualW eight VA evt_F5540R03EDIPlantID_55EDPI -> BF szShipToP lantCode VA evt_F5540R03RsvrLnFeed_RSVLNFD -> BF szDropZo ne VA evt_F5540R03MfgDate_UPMJ -> BF jdMfgDate VA evt_F5540R03AsemLnLoc_ASBLNLOC -> BF szAssemb lyLineLocation VA evt_F5540R03Reference1_VR01 -> BF szReference 1 VA evt_F5540R03QLvlMercedes_CITM -> BF szQLevelM ercedes VA VA VA VA VA VA VA VA VA VA VA VA 10 VA evt_F5540R03ShipmentTime_PMDT -> BF mnSchedul edShipmentTime VA evt_F5540R03SpecialHand_SPHD -> BF szSpecialH andlingCode VA VA VA VA VA VA VA VA VA VA evt_LBActualWeight_AWGT -> BF mnGrossWeightLB evt_F5540R04_PSJOBNO -> BF szJobChassisNumber evt_F5540R04_JOBSQ -> BF szSequenceNumber evt_F5540R04_PLT -> BF szControlNumber evt_F5540R03_DL06 -> BF szMadeInCountry2 evt_F5540R03_DL07 -> BF szYMMDDShipDate evt_F5540R03_DL08 -> BF szMMDDYYYShipDate evt_F5540R03_CIRV -> BF szCustEngChange evt_F5540R03_PEFJ -> BF jdMfgDate2 evt_F5540R03_DL09 -> BF szMfgDate3 evt_F5540R04Sequence_DSC1 -> BF szSequence evt_F5540R03_DSC3 -> BF szRSDJ evt_F5540R03_DMDREF1 -> BF szDemandReference1 evt_F5540R03_DMDREF2 -> BF szDemandReference2 evt_F5540R03_DMDREF3 -> BF szDemandReference3 evt_F5540R03_DMDREF4 -> BF szDemandReference4 evt_F5540R03_DMDREF5 -> BF szDemandReference5 evt_F5540R03_DMDREF6 -> BF szDemandReference6 evt_F5540R03_DMDREF7 -> BF szDemandReference7 evt_F5540R03_DMDREF8 -> BF szDemandReference8 evt_F5540R03_DMDREF9 -> BF szDemandReference9 evt_F5540R03_DMDREF10 -> BF szDemandReference evt_F5540R03PCI11_DL11 -> BF szPCI11 evt_F5540R03PCI12_DL12 -> BF szPCI12 evt_F5540R03PCI13_DL13 -> BF szPCI13 evt_F5540R03PCI14_DL14 -> BF szPCI4 evt_F5540R03PCI15_DL15 -> BF szPCI15 evt_F5540R03PCI16_DL16 -> BF szPCI16 evt_F5540R03PCI17_DL17 -> BF szPCI17 evt_F5540R03PromisedShip_PPDJ -> BF jdShipDat

VA VA VA VA VA VA CIRV ryBatchNumber

evt_F5540R03_DL10 -> BF szMfgDate4 evt_F5540R03_DL11 -> BF szMfgDate5 evt_F5540R03_STDS -> BF szSupplierLotNumber evt_F5540R03_LDSC -> BF szHondaPartNumber evt_F5540R03_SERN -> BF szHondaPartNumber1 evt_F5540R03_NEW_CIRV -> BF szCustomerservice

VA evt_F5540R04_DelBatNum_DELBATC -> BF szDelive VA evt_F5540R03_AN80 -> BF mnShipFromABnumber VA evt_F5540R03_RORN -> BF szRelatedOrderNumber VA evt_F5540R03_FIFO -> BF szDTFIFO VA evt_F5540R03_HIMEJI -> BF szDTHIMEJI VA evt_F5540R03_HITACHI -> BF szDTHITACHI VA evt_F5540R03_DENSO -> BF szDTDENSO VA evt_F5540R03_FUSO -> BF szDTFUSO VA evt_ITEMVOLT_SRP8 -> BF szITEMVOLT VA evt_ITEMAMP_PRP0 -> BF szITEMAMP VA evt_F5540R03_DL18 -> BF szSALESCATDESC2 VA evt_F5540R03_PRP3 -> BF szMATCLASS VA evt_F5540R03_OTADD1 -> BF szOVRSTADD1 VA evt_F5540R03_OTADD2 -> BF szOVRSTADD2 VA evt_F5540R03_OTADD3 -> BF szOVRSTADD3 VA evt_F5540R03_OTADD4 -> BF szOVRSTADD4 VA evt_F5540R03_OTCITY -> BF szOVRTOCTY1 VA evt_F5540R03_AARS -> BF szOVRTOADDS VA evt_F5540R03_OTZIP -> BF szOVRTOADDZ VA evt_F5540R03_ITM -> BF mnITM // ========================= F5540R04.Fetch Next VA evt_F5540R04ContainerSer_CTSN <- TK Container VA VA VA VA -Total VA evt_F5540R04Sequence_DSC1 <- TK Description VA evt_F5540R04_PSJOBNO <- TK Production Sequenc ing Job Number VA evt_F5540R04_JOBSQ <- TK Job Sequence Number VA evt_F5540R04_PLT <- TK Shipment Identificatio n Number VA evt_F5540R04_SCCN <- TK SCC Number VA evt_F5540R04_PAK <- TK SSCC Number - Pack Lev el VA evt_F5540R04_UPCN <- TK UPC Number VA evt_F5540R04_DelBatNum_DELBATC <- TK Delivery Batch Number VA VA VA VA VA VA VA VA Gross Weight 0318 +1 evt_F5540R04_FIFO <- TK Description 21 evt_F5540R04_HIMEJI <- TK Description 22 evt_F5540R04_HITACHI <- TK Description 23 evt_F5540R04_DENSO <- TK Description 24 evt_F5540R04_FUSO <- TK Description 25 evt_ITEMVOLT_SRP8 <- TK Item Voltage evt_ITEMAMP_PRP0 <- TK Item Amperage evt_F5542003ActualWeight_AWGT <- TK Weight evt_F5540R04_CROS <- TK Outside Carton ID evt_F5540R04_CRID <- TK Carton ID evt_F5546001_ITM <- TK Item Number - Short evt_F5540R04QuantityTotal_TQTY <- TK Quantity

0316 0317 Serial Number

VA evt_mnCounter_MATH01 = [VA evt_mnCounter_MATH01]

0319 0320 mber

End While F5540R03.Fetch Next VA evt_F5540R03ShipmentNumbe_SHPN <- TK Shipment Nu VA evt_F5540R03SupplierCd_55EDSC <- TK EDI Supplier

Code VA evt_F5540R03PromisedShip_PPDJ <- TK Date - Promi sed Shipment VA VA VA VA Number VA evt_F5540R03SoldTo_AN8 <- TK Address Number VA evt_F5540R03ShipTo_SHAN <- TK Address Number - S hip To VA evt_F5540R03WhLoc_DKID <- TK Dock ID VA evt_F5540R03LineFeed_ASBLNFD <- TK Assembly Line Feed VA evt_F5540R03EngineeringC_CITM <- TK Item Number - Customer/Supplier VA VA VA VA voice, etc.) VA evt_F5540R03QuantityTotal_TQTY <- TK Quantity -T otal VA evt_PalletID_CROS <- TK Outside Carton ID VA evt_F5540R03PalletSerial_PLT <- TK SSCC Number Tare Level VA VA VA VA VA VA VA VA VA ine 1 VA evt_F5540R03ShipTo_PAD2 <- TK Producer Address L ine 2 VA evt_F5540R03ShipTo_PAD3 <- TK Producer Address L ine 3 VA evt_F5540R03ShipTo_PAD4 <- TK Producer Address L ine 4 VA evt_F5540R03ShipTo_CITY <- TK City VA evt_F5540R03ShipTo_ADSO <- TK Origin State VA evt_F5540R03ShipTo_ADDO <- TK Postal Code - Orig in VA evt_F5540R03MadeInCountry_DL03 <- TK Description 03 VA evt_F5540R03CustCartonId_CEQT <- TK Customer Car ton ID VA VA VA VA VA evt_F5540R03PCI11_DL11 evt_F5540R03PCI12_DL12 evt_F5540R03PCI13_DL13 evt_F5540R03PCI14_DL14 evt_F5540R03PCI15_DL15 <<<<<TK TK TK TK TK Description Description Description Description Description 11 12 13 14 15 evt_F5540R03MfgDate_UPMJ <- TK Date - Updated evt_F5540R03SoldTo_ADD1 <- TK Address Line 1 evt_F5540R03SoldTo_ADD2 <- TK Address Line 2 evt_F5540R03SoldTo_ADD3 <- TK Address Line 3 evt_F5540R03SoldTo_ADD4 <- TK Address Line 4 evt_F5540R03SoldTo_CTY1 <- TK City evt_F5540R03SoldTo_ADDS <- TK State evt_F5540R03SoldTo_ADDZ <- TK Postal Code evt_F5540R03ShipTo_PAD1 <- TK Producer Address L evt_F5540R03_ITM <- TK Item Number - Short evt_F5540R03ComAddress_QTXT <- TK Question Text evt_F5540R03SpecialMark_ADDR <- TK Address evt_F5540R03BLNo_DOC <- TK Document (Voucher, In evt_F5540R03PartNum_LITM <- TK 2nd Item Number evt_F5540R03PartDes_DSC1 <- TK Description evt_F5540R03PullSignal_PSIG <- TK Pull Signal evt_F5540R03VendorPart_VNPART <- TK Vendor Part

VA evt_F5540R03PCI16_DL16 <- TK Description 16 VA evt_F5540R03PCI17_DL17 <- TK Description 17 VA evt_F5540R03PromisedShip_PPDJ <- TK Date - End o f Period 01 VA evt_F5540R03Date_TRDJ <- TK Date - End of Period 02 VA evt_F5540R03Date_DL10 <- TK Description 10 VA evt_F5540R03EDIPlantID_55EDPI <- TK EDI Plant ID VA evt_F5540R03RsvrLnFeed_RSVLNFD <- TK Reserve Lin e Feed VA evt_F5540R03AsemLnLoc_ASBLNLOC <- TK Assembly Li ne Location VA evt_F5540R03Reference1_VR01 <- TK Reference VA evt_F5540R03QLvlMercedes_CITM <- TK Plan Qualifi er VA VA VA VA VA VA VA VA VA VA VA VA ipment Time VA evt_F5540R03SpecialHand_SPHD <- TK Special Handl ing Code - User Def Codes VA evt_F5540R03_PSJOBNO <- TK Production Sequencing Job Number VA evt_F5540R03_JOBSQ <- TK Job Sequence Number VA evt_F5540R03_PLT <- TK Shipment Identification N umber VA VA VA VA stomer/Supplier VA evt_F5540R03_PEFJ <- TK Date - Price Effective D ate VA VA VA VA VA VA VA VA nt 1 VA VA VA VA VA VA VA VA VA evt_F5540R03_AN80 <- TK Address Number evt_F5540R03_RORN <- TK Related PO/SO/WO Number evt_F5540R03_FIFO <- TK Description 21 evt_F5540R03_HIMEJI <- TK Description 22 evt_F5540R03_HITACHI <- TK Description 23 evt_F5540R03_DENSO <- TK Description 24 evt_F5540R03_FUSO <- TK Description 25 evt_ITEMVOLT_SRP8 <- TK Item Voltage evt_ITEMAMP_PRP0 <- TK Item Amperage evt_F5540R03_DL09 <- TK Description 09 evt_F5540R03_DL10 <- TK Description 10 evt_F5540R03_DL11 <- TK Description 11 evt_F5540R03_STDS <- TK Description - Status evt_F5540R03_LDSC <- TK Description - Lot evt_F5540R03_SCC0 <- TK SCC Number evt_F5540R03_SERN <- TK Serial Number - Lot evt_F5540R03_NEW_CIRV <- TK Future Use For Segme evt_F5540R03_DL06 evt_F5540R03_DL07 evt_F5540R03_DL08 evt_F5540R03_CIRV <<<<TK TK TK TK Description 06 Description 07 Description 08 Item Revision Level - Cu evt_F5540R03_DSC3 <- TK Description - Line 3 evt_F5540R03_DMDREF1 <- TK Demand Reference 1 evt_F5540R03_DMDREF2 <- TK Demand Reference 2 evt_F5540R03_DMDREF3 <- TK Demand Reference 3 evt_F5540R03_DMDREF4 <- TK Demand Reference 4 evt_F5540R03_DMDREF5 <- TK Demand Reference 5 evt_F5540R03_DMDREF6 <- TK Demand Reference 6 evt_F5540R03_DMDREF7 <- TK Demand Reference 7 evt_F5540R03_DMDREF8 <- TK Demand Reference 8 evt_F5540R03_DMDREF9 <- TK Demand Reference 9 evt_F5540R03_DMDREF10 <- TK Demand Reference 10 evt_F5540R03ShipmentTime_PMDT <- TK Scheduled Sh

0321 0322 ********************* 0323 VA frm_MasterCartonPrintFlag_EV01 = "N" 0324 // ****************************************************** ********************* 0325 Else 0326 F5540R03.Select GC Shipment Number = TK Shipment Number GC Part Number = TK 2nd Item Number GC D/O Number / Pull Signal = TK Pull Signal GC Customer Part = TK Vendor Part Number 0327 F5540R03.Fetch Next VA evt_F5540R03ShipmentNumbe_SHPN <- TK Shipment Numbe r VA evt_F5540R03SupplierCd_55EDSC <- TK EDI Supplier Co de VA evt_F5540R03PromisedShip_PPDJ <- TK Date - Promised Shipment VA evt_F5540R03PartNum_LITM <- TK 2nd Item Number VA evt_F5540R03PartDes_DSC1 <- TK Description VA evt_F5540R03PullSignal_PSIG <- TK Pull Signal VA evt_F5540R03VendorPart_VNPART <- TK Vendor Part Num ber VA evt_F5540R03SoldTo_AN8 <- TK Address Number VA evt_F5540R03ShipTo_SHAN <- TK Address Number - Ship To VA evt_F5540R03WhLoc_DKID <- TK Dock ID VA evt_F5540R03LineFeed_ASBLNFD <- TK Assembly Line Fe ed VA evt_F5540R03EngineeringC_CITM <- TK Item Number - C ustomer/Supplier VA evt_F5540R03_ITM <- TK Item Number - Short VA evt_F5540R03ComAddress_QTXT <- TK Question Text VA evt_F5540R03SpecialMark_ADDR <- TK Address VA evt_F5540R03BLNo_DOC <- TK Document (Voucher, Invoi ce, etc.) VA evt_F5540R03QuantityTotal_TQTY <- TK Quantity -Tota l VA evt_F5540R03_CROS <- TK Outside Carton ID VA evt_F5540R03PalletSerial_PLT <- TK SSCC Number - Ta re Level VA evt_F5540R03MfgDate_UPMJ <- TK Date - Updated VA evt_F5540R03SoldTo_ADD1 <- TK Address Line 1 VA evt_F5540R03SoldTo_ADD2 <- TK Address Line 2 VA evt_F5540R03SoldTo_ADD3 <- TK Address Line 3 VA evt_F5540R03SoldTo_ADD4 <- TK Address Line 4 VA evt_F5540R03SoldTo_CTY1 <- TK City VA evt_F5540R03SoldTo_ADDS <- TK State VA evt_F5540R03SoldTo_ADDZ <- TK Postal Code VA evt_F5540R03ShipTo_PAD1 <- TK Producer Address Line

VA evt_F5540R03_DL18 <- TK Description 18 VA evt_F5540R03_PRP3 <- TK Material Class VA evt_F5540R03_OTADD1 <- TK OTM Address Line 1 VA evt_F5540R03_OTADD2 <- TK OTM Address Line 2 VA evt_F5540R03_OTADD3 <- TK OTM Address Line 3 VA evt_F5540R03_OTADD4 <- TK OTM Address Line 4 VA evt_F5540R03_OTCITY <- TK City VA evt_F5540R03_AARS <- TK Argentinean State VA evt_F5540R03_OTZIP <- TK OTM Postal Code End While // ******************************************************

1 VA evt_F5540R03ShipTo_PAD2 <- TK Producer Address Line 2 VA evt_F5540R03ShipTo_PAD3 <- TK Producer Address Line 3 VA evt_F5540R03ShipTo_PAD4 <- TK Producer Address Line 4 VA VA VA VA VA ID VA VA VA VA VA VA VA VA eriod 01 VA VA VA VA eed VA evt_F5540R03AsemLnLoc_ASBLNLOC <- TK Assembly Line Location VA VA VA VA VA VA VA VA VA VA VA VA VA VA ent Time VA evt_F5540R03SpecialHand_SPHD <- TK Special Handling Code - User Def Codes VA evt_F5540R03_PSJOBNO <- TK Production Sequencing Jo b Number VA evt_F5540R03_JOBSQ <- TK Job Sequence Number VA evt_F5540R03_PLT <- TK Shipment Identification Numb er VA VA VA VA mer/Supplier VA VA VA VA evt_F5540R03_PEFJ evt_F5540R03_DL09 evt_F5540R03_DL10 evt_F5540R03_DL11 <<<<TK TK TK TK Date - Price Effective Date Description 09 Description 10 Description 11 evt_F5540R03_DL06 evt_F5540R03_DL07 evt_F5540R03_DL08 evt_F5540R03_CIRV <<<<TK TK TK TK Description 06 Description 07 Description 08 Item Revision Level - Custo evt_F5540R03Reference1_VR01 <- TK Reference evt_F5540R03QLvlMercedes_CITM <- TK Plan Qualifier evt_F5540R03_DSC3 <- TK Description - Line 3 evt_F5540R03_DMDREF1 <- TK Demand Reference 1 evt_F5540R03_DMDREF2 <- TK Demand Reference 2 evt_F5540R03_DMDREF3 <- TK Demand Reference 3 evt_F5540R03_DMDREF4 <- TK Demand Reference 4 evt_F5540R03_DMDREF5 <- TK Demand Reference 5 evt_F5540R03_DMDREF6 <- TK Demand Reference 6 evt_F5540R03_DMDREF7 <- TK Demand Reference 7 evt_F5540R03_DMDREF8 <- TK Demand Reference 8 evt_F5540R03_DMDREF9 <- TK Demand Reference 9 evt_F5540R03_DMDREF10 <- TK Demand Reference 10 evt_F5540R03ShipmentTime_PMDT <- TK Scheduled Shipm evt_F5540R03Date_TRDJ <- TK Date - End of Period 02 evt_F5540R03Date_DL10 <- TK Description 10 evt_F5540R03EDIPlantID_55EDPI <- TK EDI Plant ID evt_F5540R03RsvrLnFeed_RSVLNFD <- TK Reserve Line F evt_F5540R03PCI11_DL11 <- TK Description evt_F5540R03PCI12_DL12 <- TK Description evt_F5540R03PCI13_DL13 <- TK Description evt_F5540R03PCI14_DL14 <- TK Description evt_F5540R03PCI15_DL15 <- TK Description evt_F5540R03PCI16_DL16 <- TK Description evt_F5540R03PCI17_DL17 <- TK Description evt_F5540R03PromisedShip_PPDJ <- TK Date 11 12 13 14 15 16 17 - End of P evt_F5540R03ShipTo_CITY <- TK City evt_F5540R03ShipTo_ADSO <- TK Origin State evt_F5540R03ShipTo_ADDO <- TK Postal Code - Origin evt_F5540R03MadeInCountry_DL03 <- TK Description 03 evt_F5540R03CustCartonId_CEQT <- TK Customer Carton

VA VA VA VA 1

evt_F5540R03_STDS <- TK Description - Status evt_F5540R03_LDSC <- TK Description - Lot evt_F5540R03_SERN <- TK Serial Number - Lot evt_F5540R03_NEW_CIRV <- TK Future Use For Segment

0328 0329 0330 0331 0332

0333 0",3) 0334 VA evt_szFileName_EFRM = concat(concat(concat(concat([ VA evt_F5540R03ShipmentNumbe_SHPN],'_'),[VA evt_Counter_DSC1]),'_'),[VA evt_szFi leName_EFRM]) 0335 VA evt_szFilePath_EFRM = concat(concat([VA evt_szFileP ath_EFRM],'\'),[VA evt_szFileName_EFRM]) 0336 // ========================= 0337 // Weight Calculation 0338 // ========================= 0339 Get Next Unique Key ID "F5542003" -> BF szObjectName VA evt_JobnumberA_JOBS <- BF mnUniqueKeyID 0340 CartonRecommF4615 VA evt_F5540R03ShipmentNumbe_SHPN -> BF mnShipmentN umber GC Short Item No -> BF mnIdentifierShortItem VA evt_JobnumberA_JOBS -> BF mnJobnumberA 0341 CalculateWeight VA evt_F5540R03ShipmentNumbe_SHPN -> BF mnShipmentN umber GC Short Item No -> BF mnIdentifierShortItem VA evt_F5542003TotWeight_AA1 <- BF mnAmountAa1 VA evt_F5542003TotQty_AA2 <- BF mnAmountAa2 VA evt_JobnumberA_JOBS -> BF mnJobnumberA

VA evt_F5540R03_AN80 <- TK Address Number VA evt_F5540R03_RORN <- TK Related PO/SO/WO Number VA evt_F5540R03_FIFO <- TK Description 21 VA evt_F5540R03_HIMEJI <- TK Description 22 VA evt_F5540R03_HITACHI <- TK Description 23 VA evt_F5540R03_DENSO <- TK Description 24 VA evt_F5540R03_FUSO <- TK Description 25 VA evt_ITEMVOLT_SRP8 <- TK Item Voltage VA evt_ITEMAMP_PRP0 <- TK Item Amperage VA evt_F5540R03_DL18 <- TK Description 18 VA evt_F5540R03_PRP3 <- TK Material Class VA evt_F5540R03_OTADD1 <- TK OTM Address Line 1 VA evt_F5540R03_OTADD2 <- TK OTM Address Line 2 VA evt_F5540R03_OTADD3 <- TK OTM Address Line 3 VA evt_F5540R03_OTADD4 <- TK OTM Address Line 4 VA evt_F5540R03_OTCITY <- TK City VA evt_F5540R03_AARS <- TK Argentinean State VA evt_F5540R03_OTZIP <- TK OTM Postal Code While SV File_IO_Status is equal to CO SUCCESS // --------------------------------------------------// Validate File Path On Server // --------------------------------------------------Get Server File Path Information VA evt_szFilePath_EFRM <- BF szFilePath "D3N" -> BF szProductCode "TY" -> BF szUserDefinedCodes FC LabelType -> BF szUserDefinedCode "Pas" -> BF szString1 VA evt_szFileName_EFRM <- BF szString2 VA evt_szString3_CONSTR3 <- BF szString3 VA evt_Counter_DSC1 = lpad([VA evt_mnCounter_MATH01],"

0342 0343 umber

// T006200 ----------------------- Start GMCartonCount VA evt_F5540R03ShipmentNumbe_SHPN -> BF mnShipmentN

VA evt_F5540R03_CROS -> BF mnOutsideCartonID VA evt_F5540R03_ITM -> BF mnIdentifierShortItem VA evt_NPCS_NPCS <- BF mnCount 0344 VA evt_F5542003NumfPirces_NPCS = round(([VA evt_F55420 03TotQty_AA2]/[VA evt_F5540R03QuantityTotal_TQTY]),0) 0345 ! VA evt_F5542003QuantityTotal_TQTY = round(([VA evt_F 5540R03QuantityTotal_TQTY]/[VA evt_F5542003NumfPirces_NPCS]),0) 0346 VA evt_F5542003QuantityTotal_TQTY = round(([VA evt_F55 40R03QuantityTotal_TQTY]/[VA evt_NPCS_NPCS]),0) 0347 // T006200 ----------------------- End 0348 VA evt_F5542003ActualWeight_AWGT = round(([VA evt_F554 2003TotWeight_AA1]/[VA evt_F5542003NumfPirces_NPCS]),0) 0349 VA evt_LBActualWeight_AWGT = VA evt_F5542003ActualWeig ht_AWGT 0350 Get Standard UOM Conversion Factor "LB" -> BF szUnitOfMeasure "KG" -> BF szRelatedUnitOfMeasure VA evt_ConversionFactor_CONV <- BF mnConversionFact or 0351 VA evt_F5542003ActualWeight_AWGT = round(([VA evt_F554 2003ActualWeight_AWGT]*[VA evt_ConversionFactor_CONV]),0) 0352 // ========================= 0353 Container OutPut File VA evt_szFilePath_EFRM -> BF szFilePath VA evt_F5540R03ShipmentNumbe_SHPN -> BF mnASNNumber VA evt_F5540R03PullSignal_PSIG -> BF szDONumber VA evt_F5540R03EngineeringC_CITM -> BF szItemRevLev elCustomerSupp VA evt_F5540R03QuantityTotal_TQTY -> BF mnQuantity VA evt_F5540R03SupplierCd_55EDSC -> BF szSupplierCo de VA evt_F5540R03PartNum_LITM -> BF szIdentifier2ndIt em VA evt_F5540R03VendorPart_VNPART -> BF szVendorPart Number VA evt_F5540R03LineFeed_ASBLNFD -> BF szAssemblyLin eFeed VA evt_F5540R03PartDes_DSC1 -> BF szDescription GC Lot Serial Number -> BF szLot VA evt_F5540R03PromisedShip_PPDJ -> BF jdActualShip Date FC PrinterName -> BF szUserDefinedCode "CustomerLabels\" -> BF szString1 VA evt_szLabelFormat_GENSTR -> BF szString2 VA evt_szPrinter_DSC1 -> BF szString3 ".lwl" -> BF szString4 FC Number of Labels -> BF mnAmount1 VA evt_cOutPutFileFlag_EV04 <- BF cFlag4 VA evt_F5540R03ComAddress_QTXT -> BF szLongAddress1 VA evt_F5540R03WhLoc_DKID -> BF szWhLoc VA evt_F5540R03EngineeringC_CITM -> BF szEngineerin gChange VA evt_F5540R03PalletSerial_PLT -> BF szSerialNumb VA evt_F5540R03SpecialMark_ADDR -> BF szSpecialMark VA evt_F5540R03BLNo_DOC -> BF mnBLNumber VA evt_F5540R03SoldTo_ADD1 -> BF szSoldToAdd1

VA VA VA VA VA VA VA VA VA VA VA VA VA VA ntry ype VA VA VA VA VA VA VA VA DDYYYY VA VA VA VA ack otal

evt_F5540R03SoldTo_ADD2 -> BF szSoldToAdd2 evt_F5540R03SoldTo_ADD3 -> BF szSoldToAdd3 evt_F5540R03SoldTo_ADD4 -> BF szSoldToAdd4 evt_F5540R03SoldTo_ADDZ -> BF szSoldToZip evt_F5540R03SoldTo_CTY1 -> BF szSoldToCity evt_F5540R03SoldTo_ADDS -> BF szSoldToState evt_F5540R03ShipTo_PAD1 -> BF szShipToAdd1 evt_F5540R03ShipTo_PAD2 -> BF szShipToAdd2 evt_F5540R03ShipTo_PAD3 -> BF szShipToAdd3 evt_F5540R03ShipTo_PAD4 -> BF szShipToAdd4 evt_F5540R03ShipTo_CITY -> BF szShipToCity evt_F5540R03ShipTo_ADSO -> BF szShipToState evt_F5540R03ShipTo_ADDO -> BF szShipToZip evt_F5540R03MadeInCountry_DL03 -> BF szMadeInCou

VA evt_F5540R03CustCartonId_CEQT -> BF szContainerT evt_F5540R03PCI11_DL11 -> BF szPCI11 evt_F5540R03PCI12_DL12 -> BF szPCI12 evt_F5540R03PCI13_DL13 -> BF szPCI13 evt_F5540R03PCI14_DL14 -> BF szPCI4 evt_F5540R03PCI15_DL15 -> BF szPCI15 evt_F5540R03PCI16_DL16 -> BF szPCI16 evt_F5540R03PCI17_DL17 -> BF szPCI17 evt_F5540R03PromisedShip_PPDJ -> BF jdShipDateMM evt_F5540R03Date_TRDJ -> BF jdDateMMDDYYYY evt_F5540R03Date_DL10 -> BF szShipDateDDMMMYYYY evt_NPCS_NPCS -> BF mnNumberofPacks evt_F5542003QuantityTotal_TQTY -> BF mnQuantityP

VA evt_F5540R03QuantityTotal_TQTY -> BF mnQuantityT VA evt_F5542003ActualWeight_AWGT -> BF mnActualWeig ht VA evt_F5540R03EDIPlantID_55EDPI -> BF szShipToPlan tCode VA evt_F5540R03RsvrLnFeed_RSVLNFD -> BF szDropZone VA evt_F5540R03MfgDate_UPMJ -> BF jdMfgDate VA evt_F5540R03AsemLnLoc_ASBLNLOC -> BF szAssemblyL ineLocation VA evt_F5540R03Reference1_VR01 -> BF szReference1 VA evt_F5540R03QLvlMercedes_CITM -> BF szQLevelMerc edes VA VA VA VA VA VA VA VA VA VA VA VA hipmentTime VA evt_F5540R03SpecialHand_SPHD -> BF szSpecialHand lingCode VA evt_LBActualWeight_AWGT -> BF mnGrossWeightLB evt_F5540R03_DSC3 -> BF szRSDJ evt_F5540R03_DMDREF1 -> BF szDemandReference1 evt_F5540R03_DMDREF2 -> BF szDemandReference2 evt_F5540R03_DMDREF3 -> BF szDemandReference3 evt_F5540R03_DMDREF4 -> BF szDemandReference4 evt_F5540R03_DMDREF5 -> BF szDemandReference5 evt_F5540R03_DMDREF6 -> BF szDemandReference6 evt_F5540R03_DMDREF7 -> BF szDemandReference7 evt_F5540R03_DMDREF8 -> BF szDemandReference8 evt_F5540R03_DMDREF9 -> BF szDemandReference9 evt_F5540R03_DMDREF10 -> BF szDemandReference10 evt_F5540R03ShipmentTime_PMDT -> BF mnScheduledS

VA VA VA VA VA VA VA VA VA VA VA VA VA VA VA V

evt_F5540R03_PSJOBNO -> BF szJobChassisNumber evt_F5540R03_JOBSQ -> BF szSequenceNumber evt_F5540R03_PLT -> BF szControlNumber evt_F5540R03_DL06 -> BF szMadeInCountry2 evt_F5540R03_DL07 -> BF szYMMDDShipDate evt_F5540R03_DL08 -> BF szMMDDYYYShipDate evt_F5540R03_CIRV -> BF szCustEngChange evt_F5540R03_PEFJ -> BF jdMfgDate2 evt_F5540R03_DL09 -> BF szMfgDate3 evt_F5540R03_DL10 -> BF szMfgDate4 evt_F5540R03_DL11 -> BF szMfgDate5 evt_F5540R03_STDS -> BF szSupplierLotNumber evt_F5540R03_LDSC -> BF szHondaPartNumber evt_F5540R03_SERN -> BF szHondaPartNumber1 evt_F5540R03_NEW_CIRV -> BF szCustomerserviceCIR

0354 0355 0356 0357 mber

VA evt_F5540R03_AN80 -> BF mnShipFromABnumber VA evt_F5540R03_RORN -> BF szRelatedOrderNumber VA evt_F5540R03_FIFO -> BF szDTFIFO VA evt_F5540R03_HIMEJI -> BF szDTHIMEJI VA evt_F5540R03_HITACHI -> BF szDTHITACHI VA evt_F5540R03_DENSO -> BF szDTDENSO VA evt_F5540R03_FUSO -> BF szDTFUSO VA evt_ITEMVOLT_SRP8 -> BF szITEMVOLT VA evt_ITEMAMP_PRP0 -> BF szITEMAMP VA evt_F5540R03_DL18 -> BF szSALESCATDESC2 VA evt_F5540R03_PRP3 -> BF szMATCLASS VA evt_F5540R03_OTADD1 -> BF szOVRSTADD1 VA evt_F5540R03_OTADD2 -> BF szOVRSTADD2 VA evt_F5540R03_OTADD3 -> BF szOVRSTADD3 VA evt_F5540R03_OTADD4 -> BF szOVRSTADD4 VA evt_F5540R03_OTCITY -> BF szOVRTOCTY1 VA evt_F5540R03_AARS -> BF szOVRTOADDS VA evt_F5540R03_OTZIP -> BF szOVRTOADDZ VA evt_F5540R03_ITM -> BF mnITM // ========================= // VA evt_mnCounter_MATH01 = [VA evt_mnCounter_MATH01]+1 F5540R03.Fetch Next VA evt_F5540R03ShipmentNumbe_SHPN <- TK Shipment Nu VA evt_F5540R03SupplierCd_55EDSC <- TK EDI Supplier

Code VA evt_F5540R03PromisedShip_PPDJ <- TK Date - Promi sed Shipment VA VA VA VA Number VA evt_F5540R03SoldTo_AN8 <- TK Address Number VA evt_F5540R03ShipTo_SHAN <- TK Address Number - S hip To VA evt_F5540R03WhLoc_DKID <- TK Dock ID VA evt_F5540R03LineFeed_ASBLNFD <- TK Assembly Line Feed VA evt_F5540R03EngineeringC_CITM <- TK Item Number - Customer/Supplier VA evt_F5540R03_ITM <- TK Item Number - Short VA evt_F5540R03ComAddress_QTXT <- TK Question Text evt_F5540R03PartNum_LITM <- TK 2nd Item Number evt_F5540R03PartDes_DSC1 <- TK Description evt_F5540R03PullSignal_PSIG <- TK Pull Signal evt_F5540R03VendorPart_VNPART <- TK Vendor Part

VA evt_F5540R03SpecialMark_ADDR <- TK Address VA evt_F5540R03BLNo_DOC <- TK Document (Voucher, In voice, etc.) VA evt_F5540R03QuantityTotal_TQTY <- TK Quantity -T otal VA evt_F5540R03_CROS <- TK Outside Carton ID VA evt_F5540R03PalletSerial_PLT <- TK SSCC Number Tare Level VA VA VA VA VA VA VA VA VA ine 1 VA evt_F5540R03ShipTo_PAD2 <- TK Producer Address L ine 2 VA evt_F5540R03ShipTo_PAD3 <- TK Producer Address L ine 3 VA evt_F5540R03ShipTo_PAD4 <- TK Producer Address L ine 4 VA evt_F5540R03ShipTo_CITY <- TK City VA evt_F5540R03ShipTo_ADSO <- TK Origin State VA evt_F5540R03ShipTo_ADDO <- TK Postal Code - Orig in VA evt_F5540R03MadeInCountry_DL03 <- TK Description 03 VA evt_F5540R03CustCartonId_CEQT <- TK Customer Car ton ID VA VA VA VA VA VA VA VA f Period 01 VA evt_F5540R03Date_TRDJ <- TK Date - End of Period 02 VA evt_F5540R03Date_DL10 <- TK Description 10 VA evt_F5540R03EDIPlantID_55EDPI <- TK EDI Plant ID VA evt_F5540R03RsvrLnFeed_RSVLNFD <- TK Reserve Lin e Feed VA evt_F5540R03AsemLnLoc_ASBLNLOC <- TK Assembly Li ne Location VA evt_F5540R03Reference1_VR01 <- TK Reference VA evt_F5540R03QLvlMercedes_CITM <- TK Plan Qualifi er VA VA VA VA VA VA VA VA evt_F5540R03_DSC3 <evt_F5540R03_DMDREF1 evt_F5540R03_DMDREF2 evt_F5540R03_DMDREF3 evt_F5540R03_DMDREF4 evt_F5540R03_DMDREF5 evt_F5540R03_DMDREF6 evt_F5540R03_DMDREF7 TK <<<<<<<Description - Line 3 TK Demand Reference 1 TK Demand Reference 2 TK Demand Reference 3 TK Demand Reference 4 TK Demand Reference 5 TK Demand Reference 6 TK Demand Reference 7 evt_F5540R03PCI11_DL11 <- TK Description evt_F5540R03PCI12_DL12 <- TK Description evt_F5540R03PCI13_DL13 <- TK Description evt_F5540R03PCI14_DL14 <- TK Description evt_F5540R03PCI15_DL15 <- TK Description evt_F5540R03PCI16_DL16 <- TK Description evt_F5540R03PCI17_DL17 <- TK Description evt_F5540R03PromisedShip_PPDJ <- TK Date 11 12 13 14 15 16 17 - End o evt_F5540R03MfgDate_UPMJ <- TK Date - Updated evt_F5540R03SoldTo_ADD1 <- TK Address Line 1 evt_F5540R03SoldTo_ADD2 <- TK Address Line 2 evt_F5540R03SoldTo_ADD3 <- TK Address Line 3 evt_F5540R03SoldTo_ADD4 <- TK Address Line 4 evt_F5540R03SoldTo_CTY1 <- TK City evt_F5540R03SoldTo_ADDS <- TK State evt_F5540R03SoldTo_ADDZ <- TK Postal Code evt_F5540R03ShipTo_PAD1 <- TK Producer Address L

VA VA VA VA ipment Time ing Code - User Def Codes

evt_F5540R03_DMDREF8 <- TK Demand Reference 8 evt_F5540R03_DMDREF9 <- TK Demand Reference 9 evt_F5540R03_DMDREF10 <- TK Demand Reference 10 evt_F5540R03ShipmentTime_PMDT <- TK Scheduled Sh

VA evt_F5540R03SpecialHand_SPHD <- TK Special Handl VA evt_F5540R03_PSJOBNO <- TK Production Sequencing Job Number VA evt_F5540R03_JOBSQ <- TK Job Sequence Number VA evt_F5540R03_PLT <- TK Shipment Identification N umber VA VA VA VA stomer/Supplier VA evt_F5540R03_PEFJ <- TK Date - Price Effective D ate VA VA VA VA VA VA VA nt 1 VA evt_F5540R03_AN80 <- TK Address Number VA evt_F5540R03_RORN <- TK Related PO/SO/WO Number VA evt_F5540R03_FIFO <- TK Description 21 VA evt_F5540R03_HIMEJI <- TK Description 22 VA evt_F5540R03_HITACHI <- TK Description 23 VA evt_F5540R03_DENSO <- TK Description 24 VA evt_F5540R03_FUSO <- TK Description 25 VA evt_ITEMVOLT_SRP8 <- TK Item Voltage VA evt_ITEMAMP_PRP0 <- TK Item Amperage VA evt_F5540R03_DL18 <- TK Description 18 VA evt_F5540R03_PRP3 <- TK Material Class VA evt_F5540R03_OTADD1 <- TK OTM Address Line 1 VA evt_F5540R03_OTADD2 <- TK OTM Address Line 2 VA evt_F5540R03_OTADD3 <- TK OTM Address Line 3 VA evt_F5540R03_OTADD4 <- TK OTM Address Line 4 VA evt_F5540R03_OTCITY <- TK City VA evt_F5540R03_AARS <- TK Argentinean State VA evt_F5540R03_OTZIP <- TK OTM Postal Code End While End If // ========================================================= End If // ============================================================ // Label Print ....................... End // ============================================================ ClearLabelTableCache "5" -> BF cClearAll GC Shipment Number -> BF mnShipmentNumber End If End If End If Else evt_F5540R03_DL09 <- TK Description 09 evt_F5540R03_DL10 <- TK Description 10 evt_F5540R03_DL11 <- TK Description 11 evt_F5540R03_STDS <- TK Description - Status evt_F5540R03_LDSC <- TK Description - Lot evt_F5540R03_SERN <- TK Serial Number - Lot evt_F5540R03_NEW_CIRV <- TK Future Use For Segme evt_F5540R03_DL06 evt_F5540R03_DL07 evt_F5540R03_DL08 evt_F5540R03_CIRV <<<<TK TK TK TK Description 06 Description 07 Description 08 Item Revision Level - Cu

0358 0359 0360 === 0361 0362 0363 0364 0365 0366 0367 0368 0369

0370 End If 0371 // ==================================== ======================================================================= CONTROL: BUTTON Edit Quantity [HIDDEN] EVENT: Button Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 ClearLabelTableCache "5" -> BF cClearAll GC Shipment Number -> BF mnShipmentNumber 0002 VA frm_cUpdateFlag_EV01 = "U" 0003 If VA frm_cCartonViewFlag_EV01 is equal to "Y" 0004 VA frm_cTotePrintCall_EV01 = "N" 0005 Else 0006 VA frm_cTotePrintCall_EV01 = "Y" 0007 End If 0008 Press Button(FC Process) 0009 Press Button(FC Print) ======================================================================= CONTROL: BUTTON Process [HIDDEN] EVENT: Button Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 If VA frm_cUpdateFlag_EV01 is equal to "U" 0002 VA frm_cUpdateFlag_EV01 = "U" 0003 Else 0004 VA frm_cUpdateFlag_EV01 = "" 0005 End If 0006 ClearLabelTableCache "1" -> BF cClearAll VA frm_F5540R03Jobnumber_JOBS -> BF mnJobnumberA 0007 InsertF5540R03 GC Shipment Number -> BF mnShipmentNumber GC D/O Number / Pull Signal -> BF szPullSignal GC Order Co -> BF szCompanyKeyOrderNo GC Order Number -> BF mnDocumentOrderInvoiceE GC Order Type -> BF szOrderType GC Short Item No -> BF mnIdentifierShortItem VA frm_F5540R03Jobnumber_JOBS <- BF mnJobnumberA VA frm_cUpdateFlag_EV01 -> BF cUpdateFlag VA frm_cReserveFlag -> BF cReserveFlag 0008 VA frm_cReserveFlag = "N" 0009 If GC Carton Count is greater than <Zero> 0010 Else 0011 VA frm_cReserveFlag = "Y" 0012 InsertF5540R03 GC Shipment Number -> BF mnShipmentNumber GC D/O Number / Pull Signal -> BF szPullSignal GC Order Co -> BF szCompanyKeyOrderNo GC Order Number -> BF mnDocumentOrderInvoiceE GC Order Type -> BF szOrderType GC Short Item No -> BF mnIdentifierShortItem VA frm_F5540R03Jobnumber_JOBS <- BF mnJobnumberA VA frm_cUpdateFlag_EV01 -> BF cUpdateFlag VA frm_cReserveFlag -> BF cReserveFlag 0013 VA frm_cReserveFlag = "N" 0014 F4620ServiceShipment GC ASN Number -> BF mnShipmentNumber

GC D/O Number / Pull Signal -> BF szPullSignal "C" -> BF cCartonFlag 0015 VA frm_cPrintService_EV01 = "Y" 0016 VA frm_cViewService_EV01 = "Y" 0017 End If ======================================================================= CONTROL: BUTTON Manual Print [HIDDEN] EVENT: Button Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 VA frm_cManualPrint_EV01 = "Y" 0002 ClearLabelTableCache "1" -> BF cClearAll GC Shipment Number -> BF mnShipmentNumber 0003 VA frm_cUpdateFlag_EV01 = "U" 0004 Press Button(FC Process) 0005 Press Button(FC Print) ======================================================================= CONTROL: CHKBOX Show All Order (s) EVENT: Selection Changed ----------------------------------------------------------------------OPT: Using Defaults 0001 If FC Show All Order (s) is equal to "1" 0002 FC Status Code - Next = "*" 0003 Else 0004 If FC LabelType is equal to "C" 0005 FC Status Code - Next = "560" 0006 End If 0007 If FC LabelType is equal to "M,Q" 0008 FC Status Code - Next = "580" 0009 End If 0010 End If 0011 Press Button(HC F&ind) ======================================================================= FORM: Pallet - Detail [HEADERLESS DETAIL] (W5540R03E) ======================================================================= CONTROL: FORM EVENT: Post Dialog is Initialized ----------------------------------------------------------------------OPT: Using Defaults 0001 FC Vendor Part Number = FI szVendorPartNumber 0002 FC Pull Signal = FI szPullSignal 0003 FC 2nd Item Number = FI szIdentifier2ndItem 0004 FC Shipment Number = FI mnShipmentNumber ----------------------------------------------------------------------EVENT: Write Grid Line-Before ----------------------------------------------------------------------OPT: Using Defaults 0001 GC Update Flag = "U" 0002 ! GC Description = " (Edit) " 0003 GC Description = "..." ----------------------------------------------------------------------EVENT: End Dialog ----------------------------------------------------------------------OPT: Using Defaults

0001 ClearLabelTableCache "5" -> BF cClearAll FI mnShipmentNumber -> BF mnShipmentNumber ======================================================================= CONTROL: HYPITEM &OK EVENT: Post Button Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 If SV Form_ Mode is equal to CO UPDATE_MODE 0002 F5540R03.Update GC Shipment / ASN Number = TK Shipment Number GC Part Number = TK 2nd Item Number GC D/O Number / Pull Signal = TK Pull Signal GC Customer Part Number = TK Vendor Part Number GC Quantity -> TK Quantity -Total GC Pallet ID = TK Outside Carton ID GC Job Number = TK Job Number 0003 End If ======================================================================= CONTROL: HYPITEM Carton EVENT: Button Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 Call( App:P5540R03 , Form:W5540R03G , Ver: MEAA0001 ) GC Pallet ID -> FI mnOutsideCartonID GC Shipment / ASN Number -> FI mnShipmentNumber FI szPrinterName -> FI szPrinterName FI szLabelType -> FI szLabelType FI szLabelFormat -> FI szLabelFormat FI szPrinterDesc -> FI szPrinterDesc ======================================================================= CONTROL: GRIDCOL Description EVENT: Grid Column Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 Call( App:P5540R03 , Form:W5540R03F , Ver: MEAA0001 ) GC Shipment / ASN Number -> FI mnASNNumber GC Part Number -> FI mnPartNumber GC D/O Number / Pull Signal -> FI szPullSignal GC Customer Part Number -> FI szCustomerPartNumber GC Quantity -> FI mnQuantity FI szPrinterName -> FI szPrinterName FI szLabelType -> FI szLabelType FI szLabelFormat -> FI szLabelFormat FI szPrinterDesc -> FI szPrinterDescription GC Serial Number -> FI szSerialNumber "C" -> FI cPalletCartonFlag GC Job Number -> FI szJobChassisNumber GC Job Sequence -> FI szSequenceNumber GC Shipment ID -> FI szControlNumber GC Address Number80 -> FI mnShipFromABnumber GC Related PO/SO No -> FI szRelatedOrderNumber ======================================================================= FORM: Label Print - Manual [FIX INSPECT] (W5540R03F) ======================================================================= CONTROL: FORM

EVENT: Dialog is Initialized ----------------------------------------------------------------------evt_TestVeriable_EV01 OPT: Using Defaults 0001 // =================== 0002 // Added Line for Verifying Allmakes change 0003 // =================== 0004 // 0005 VA evt_TestVeriable_EV01 = "Y" 0006 // 0007 If FI cQuickPrint is equal to "Y" 0008 Hide Control(FC #Packs) 0009 Hide Control(FC 11Z - Material Handling Code) 0010 Hide Control(FC 12Z - Plant/Dock) 0011 Hide Control(FC 13Z) 0012 Hide Control(FC 14Z) 0013 Hide Control(FC 15Z) 0014 Hide Control(FC 16Z) 0015 Hide Control(FC 17Z) 0016 Hide Control(FC ASN Number) 0017 Hide Control(FC ASN Number (D)) 0018 Hide Control(FC Assembly Line Feed (D)) 0019 Hide Control(FC B/L No) 0020 Hide Control(FC BLNo (D)) 0021 Hide Control(FC Company Address) 0022 Hide Control(FC Company Address (D)) 0023 Hide Control(FC Container Type / Special Mark (Nissan)) 0024 Hide Control(FC Control Number) 0025 Hide Control(FC Control Number (D)) 0026 Hide Control(FC Customer Carton ID(D)) 0027 Hide Control(FC Customer Part) 0028 Hide Control(FC Customer Part Number (D)) 0029 Hide Control(FC Customer PO (D)) 0030 Hide Control(FC Customer's PO#) 0031 Hide Control(FC D/O Number / Pull Signal) 0032 Hide Control(FC Date1(D)) 0033 Hide Control(FC Date2(D)) 0034 Hide Control(FC Date3(D)) 0035 Hide Control(FC Delivery Batch Number) 0036 Hide Control(FC Delivery Batch Number (D)) 0037 Hide Control(FC Drop Zone (D)) 0038 Hide Control(FC Drop Zone/Staging Area/Str Loc 1) 0039 Hide Control(FC Eng Change Customer (D)) 0040 Hide Control(FC Engineering Change XRF = C) 0041 Hide Control(FC Engineering Change (D)) 0042 Hide Control(FC Engineering Change XRF = EC) 0043 Hide Control(FC From :) 0044 Hide Control(FC GM) 0045 Hide Control(FC Gross Weight) 0046 Hide Control(FC GrossWeight(D)) 0047 Hide Control(FC 149) 0048 Hide Control(FC 154) 0049 Hide Control(FC 159) 0050 Hide Control(FC 169) 0051 Hide Control(FC 184) 0052 Hide Control(FC 42) 0053 Hide Control(FC 98) 0054 Hide Control(FC Job (Chassis) Number)

0055 0056 0057 0058 0059 0060 0061 0062 0063 0064 umber) 0065 0066 0067 0068 0069 0070 0071 0072 0073 0074 0075 0076 0077 0078 0079 Date) 0080 0081 0082 0083 0084 0085 0086 0087 0088 0089 0090 0091 0092 0093 0094 0095 0096 0097 0098 0099 0100 0101 0102 0103 0104 0105 0106 0107 0108 0109 0110 0111 Number)

Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide Hide

Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC Control(FC

Job Number (D)) KG) LB) Line Feed / Fit - Loc) Made In Country) MadeInCountry(D)) Mfg Date) MfgDate (D)) NoOfPacks(D)) Note : (*) Invalid/Blank - System will pickup the Next N Part Description (D)) Part Number) Part Number (D)) Part Number (Formatted)) Part Number Formated (D)) PCI11(D)) PCI12(D)) PCI13(D)) PCI14(D)) PCI15(D)) PCI16(D)) PCI17(D)) Print) Promised Delivery Date) Promised Ship Pull Signal (D)) Q-Level (Mercedes)) Q-Level (Mercedes) (D)) QTY / Pack) QtyPack(D)) Quantity (D)) Quantity on Label) Reference - I) Reference - II) Reference - III) Reference - IV) Reference - IX) Reference - V) Reference - VI) Reference - VII) Reference - VIII) Reference - X) Reference 1 (D)) Reference 10 (D)) Reference 2 (D)) Reference 3 (D)) Reference 4 (D)) Reference 5 (D)) Reference 6 (D)) Reference 7 (D)) Reference 8 (D)) Reference 9 (D)) Related Order Number) Related Order Number (D)) RSDJ (D)) Sequence Number (D)) Sequence

0112 Hide Control(FC Serial (Mercedes)) 0113 Hide Control(FC Serial (Mercedes) (D)) 0114 Hide Control(FC Serial Number (D)) 0115 Hide Control(FC Serial Number *) 0116 Hide Control(FC Ship Date (D)) 0117 Hide Control(FC Ship Date 1) 0118 Hide Control(FC Ship Date 2) 0119 Hide Control(FC Ship Date 3) 0120 Hide Control(FC Ship Date 3) 0121 Hide Control(FC Ship From AB Number) 0122 Hide Control(FC Ship From AB Number (D)) 0123 Hide Control(FC Ship To Plant) 0124 Hide Control(FC Ship To Plant Code (D)) 0125 Hide Control(FC Shipment Time) 0126 Hide Control(FC Shipment Time (D)) 0127 Hide Control(FC ShipTo_ADD1(D)) 0128 Hide Control(FC ShipTo_ADD2(D)) 0129 Hide Control(FC ShipTo_ADD3(D)) 0130 Hide Control(FC ShipTo_ADD4(D)) 0131 Hide Control(FC ShipTo_City(D)) 0132 Hide Control(FC ShipTo_State(D)) 0133 Hide Control(FC ShipTo_Zip(D)) 0134 Hide Control(FC SoldTo_ADD1(D)) 0135 Hide Control(FC SoldTo_ADD2(D)) 0136 Hide Control(FC SoldTo_ADD3(D)) 0137 Hide Control(FC SoldTo_ADD4(D)) 0138 Hide Control(FC SoldTo_City(D)) 0139 Hide Control(FC SoldTo_State(D)) 0140 Hide Control(FC SoldTo_Zip(D)) 0141 Hide Control(FC Special Handling Code) 0142 Hide Control(FC Special Handling Code (D)) 0143 Hide Control(FC Special Mark (D)) 0144 Hide Control(FC Storage Location) 0145 Hide Control(FC Storage Location (D)) 0146 Hide Control(FC Supplier) 0147 Hide Control(FC Supplier (D)) 0148 Hide Control(FC Supplier Lot) 0149 Hide Control(FC Supplier Lot (D)) 0150 Hide Control(FC To :) 0151 Hide Control(FC WH Loc (D)) 0152 Hide Control(FC WH-LOC / Dock) 0153 Hide Control(FC # Label (s)) 0154 Hide Control(FC No Of Label (D)) 0155 Set Control Focus(FC Quick_Quantity (D)) 0156 Else 0157 Hide Control(FC Quick - Print) 0158 Hide Control(FC No of Label (s)) 0159 Hide Control(FC Quantity on Label) 0160 Hide Control(FC Quick Print) 0161 Hide Control(FC Quick_No Of Label (D)) 0162 Hide Control(FC Quick_Quantity (D)) 0163 End If ----------------------------------------------------------------------EVENT: Post Dialog is Initialized ----------------------------------------------------------------------evt_szShipTo_PAD1 evt_szShipTo_PAD2 evt_szShipTo_PAD3 evt_szShipTo_PAD4

0001 0002 0003 0004 0005 0006 0007 0008 0009 0010 0011 0012 0013

evt_EngChang_CIRV evt_55_SL_SY evt_55_SL_RT evt_55_SL_KY evt_55_SL_DL01 evt_CostCenter_MCU evt_Lot_LOTN OPT: Using Defaults // VA frm_LableType_KY = FI szLabelType // FC ASN Number (D) = FI mnASNNumber FC Part Number (D) = FI mnPartNumber FC Pull Signal (D) = FI szPullSignal FC Customer Part Number (D) = FI szCustomerPartNumber // FC Quantity (D) = FI mnQuantity FC Serial Number (D) = FI szSerialNumber VA frm_cPalletCartonFlag_EV01 = FI cPalletCartonFlag // ! F5540R03.Fetch Single ! FI mnASNNumber = TK Shipment Number ! FI szSupplier <- TK EDI Supplier Code ! FI jdPromisedShipJu <- TK Date - Promised Shipment ! FI mnPartNumber = TK 2nd Item Number ! FI szPartDescription <- TK Description ! FI szPullSignal = TK Pull Signal ! FI szCustomerPartNumber = TK Vendor Part Number ! VA frm_F5540R03SoldTo_AN8 <- TK Address Number ! FI mnWHLoc <- TK Dock ID ! FI szAssemblyLineFeed_2 <- TK Assembly Line Feed ! FI szEngChange <- TK Item Number - Customer/Supplier ! FI szCompanyAddress <- TK Question Text ! FI szSpecialMark <- TK Address ! FI mnBlNo <- TK Document (Voucher, Invoice, etc.) ! FI jdMfgDate <- TK Date - Updated ! FI szSoldTo_ADD1 <- TK Address Line 1 ! FI szSoldTo_ADD2 <- TK Address Line 2 ! FI szSoldTo_ADD3 <- TK Address Line 3 ! FI szSoldTo_ADD4 <- TK Address Line 4 ! FI szSoldTo_City <- TK City ! FI szSoldTo_ADDS <- TK State ! FI szSoldTo_ADDZ <- TK Postal Code ! FI szShipTo_PAD1 <- TK Producer Address Line 1 ! FI szShipTo_PAD2 <- TK Producer Address Line 2 ! FI szShipTo_PAD3 <- TK Producer Address Line 3 ! FI szShipTo_PAD4 <- TK Producer Address Line 4 ! FI szShipTo_City <- TK City ! FI szShipTo_ADDS <- TK Origin State ! FI szShipTo_ADDZ <- TK Postal Code - Origin ! FI szMadeInCountry <- TK Description 03 ! FI szCustomerCartonId <- TK Customer Carton ID ! FI szPCI11 <- TK Description 11 ! FI szPCI12 <- TK Description 12 ! FI szPCI13 <- TK Description 13 ! FI szPCI14 <- TK Description 14 ! FI szPCI15 <- TK Description 15 ! FI szPCI16 <- TK Description 16 ! FI szPCI17 <- TK Description 17 ! FI jdDate1 <- TK Date - End of Period 01

! FI jdDate2 <- TK Date - End of Period 02 ! FI jdDate3 <- TK Description 10 ! FI szEDIPlantID <- TK EDI Plant ID ! FI szDropZone <- TK Reserve Line Feed ! FI szAssemblyLineLocation <- TK Assembly Line Location ! FI szReference1 <- TK Reference ! FI szQLevelMercedes <- TK Plan Qualifier ! FI szRSDJ <- TK Description - Line 3 ! FI szDemandReference1 <- TK Demand Reference 1 ! FI szDemandReference2 <- TK Demand Reference 2 ! FI szDemandReference3 <- TK Demand Reference 3 ! FI szDemandReference4 <- TK Demand Reference 4 ! FI szDemandReference5 <- TK Demand Reference 5 ! FI szDemandReference6 <- TK Demand Reference 6 ! FI szDemandReference7 <- TK Demand Reference 7 ! FI szDemandReference8 <- TK Demand Reference 8 ! FI szDemandReference9 <- TK Demand Reference 9 ! FI szDemandReference10 <- TK Demand Reference 10 ! FI mnScheduledShipmentTime <- TK Scheduled Shipment Time ! FI szSpecialHandlingCode <- TK Special Handling Code - User Def Codes ! VA frm_F5540R03_DL06 <- TK Description 06 ! VA frm_F5540R03_DL07 <- TK Description 07 ! VA frm_F5540R03_DL08 <- TK Description 08 ! FI szEngChangeCustomer <- TK Item Revision Level - Customer/Supplier ! VA frm_F5540R03_PEFJ <- TK Date - Price Effective Date ! VA frm_F5540R03_DL09 <- TK Description 09 ! VA frm_F5540R03_DL10 <- TK Description 10 ! VA frm_F5540R03_DL11 <- TK Description 11 ! FI szSupplierLot <- TK Description - Status ! VA frm_F5540R03_LDSC <- TK Description - Lot ! FI szPartNumberFormated <- TK Serial Number - Lot ! FI mnShipFromABnumber <- TK Address Number ! FI szRelatedOrderNumber <- TK Related PO/SO/WO Number ! VA frm_F5540R03_FIFO <- TK Description 21 ! VA frm_F5540R03_HIMEJI <- TK Description 22 ! VA frm_F5540R03_HITACHI <- TK Description 23 ! VA frm_F5540R03_DENSO <- TK Description 24 ! VA frm_F5540R03_FUSO <- TK Description 25 ! VA frm_ITEMVOLT_SRP8 <- TK Item Voltage ! VA frm_ITEMAMP_PRP0 <- TK Item Amperage 0014 ! F5540R03.Fetch Single ! FI mnASNNumber = TK Shipment Number ! FI szSupplier <- TK EDI Supplier Code ! FI jdPromisedShipJu <- TK Date - Promised Shipment ! FI mnPartNumber = TK 2nd Item Number ! FI szPartDescription <- TK Description ! FI szPullSignal = TK Pull Signal ! FI szCustomerPartNumber = TK Vendor Part Number ! VA frm_F5540R03SoldTo_AN8 <- TK Address Number ! FI mnWHLoc <- TK Dock ID ! FI szAssemblyLineFeed_2 <- TK Assembly Line Feed ! FI szEngChange <- TK Item Number - Customer/Supplier ! FI szCompanyAddress <- TK Question Text ! FI szSpecialMark <- TK Address ! FI mnBlNo <- TK Document (Voucher, Invoice, etc.) ! FI jdMfgDate <- TK Date - Updated ! FI szSoldTo_ADD1 <- TK Address Line 1 ! FI szSoldTo_ADD2 <- TK Address Line 2 ! FI szSoldTo_ADD3 <- TK Address Line 3 ! FI szSoldTo_ADD4 <- TK Address Line 4

! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !

FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI VA VA VA FI VA VA VA VA FI VA FI FI FI VA VA VA VA VA VA VA

szSoldTo_City <- TK City szSoldTo_ADDS <- TK State szSoldTo_ADDZ <- TK Postal Code szShipTo_PAD1 <- TK Producer Address Line 1 szShipTo_PAD2 <- TK Producer Address Line 2 szShipTo_PAD3 <- TK Producer Address Line 3 szShipTo_PAD4 <- TK Producer Address Line 4 szShipTo_City <- TK City szShipTo_ADDS <- TK Origin State szShipTo_ADDZ <- TK Postal Code - Origin szMadeInCountry <- TK Description 03 szCustomerCartonId <- TK Customer Carton ID szPCI11 <- TK Description 11 szPCI12 <- TK Description 12 szPCI13 <- TK Description 13 szPCI14 <- TK Description 14 szPCI15 <- TK Description 15 szPCI16 <- TK Description 16 szPCI17 <- TK Description 17 jdDate1 <- TK Date - End of Period 01 jdDate2 <- TK Date - End of Period 02 jdDate3 <- TK Description 10 szEDIPlantID <- TK EDI Plant ID szDropZone <- TK Reserve Line Feed szAssemblyLineLocation <- TK Assembly Line Location szReference1 <- TK Reference szQLevelMercedes <- TK Plan Qualifier szRSDJ <- TK Description - Line 3 szDemandReference1 <- TK Demand Reference 1 szDemandReference2 <- TK Demand Reference 2 szDemandReference3 <- TK Demand Reference 3 szDemandReference4 <- TK Demand Reference 4 szDemandReference5 <- TK Demand Reference 5 szDemandReference6 <- TK Demand Reference 6 szDemandReference7 <- TK Demand Reference 7 szDemandReference8 <- TK Demand Reference 8 szDemandReference9 <- TK Demand Reference 9 szDemandReference10 <- TK Demand Reference 10 mnScheduledShipmentTime <- TK Scheduled Shipment Time szSpecialHandlingCode <- TK Special Handling Code - User Def Codes frm_F5540R03_DL06 <- TK Description 06 frm_F5540R03_DL07 <- TK Description 07 frm_F5540R03_DL08 <- TK Description 08 szEngChangeCustomer <- TK Item Revision Level - Customer/Supplier frm_F5540R03_PEFJ <- TK Date - Price Effective Date frm_F5540R03_DL09 <- TK Description 09 frm_F5540R03_DL10 <- TK Description 10 frm_F5540R03_DL11 <- TK Description 11 szSupplierLot <- TK Description - Status frm_F5540R03_LDSC <- TK Description - Lot szPartNumberFormated <- TK Serial Number - Lot mnShipFromABnumber <- TK Address Number szRelatedOrderNumber <- TK Related PO/SO/WO Number frm_F5540R03_FIFO <- TK Description 21 frm_F5540R03_HIMEJI <- TK Description 22 frm_F5540R03_HITACHI <- TK Description 23 frm_F5540R03_DENSO <- TK Description 24 frm_F5540R03_FUSO <- TK Description 25 frm_ITEMVOLT_SRP8 <- TK Item Voltage frm_ITEMAMP_PRP0 <- TK Item Amperage

0015 // 01/12/2010 0016 ! F5540R03.Fetch Single ! FI mnASNNumber = TK Shipment Number ! FI szSupplier <- TK EDI Supplier Code ! FI jdPromisedShipJu <- TK Date - Promised Shipment ! FI mnPartNumber = TK 2nd Item Number ! FI szPartDescription <- TK Description ! FI szPullSignal = TK Pull Signal ! FI szCustomerPartNumber = TK Vendor Part Number ! VA frm_F5540R03SoldTo_AN8 <- TK Address Number ! FI mnWHLoc <- TK Dock ID ! FI szAssemblyLineFeed_2 <- TK Assembly Line Feed ! FI szEngChange <- TK Item Number - Customer/Supplier ! VA evt_CostCenter_MCU <- TK Business Unit ! VA frm_F5540R03_ITM <- TK Item Number - Short ! FI szCompanyAddress <- TK Question Text ! FI szSpecialMark <- TK Address ! FI mnBlNo <- TK Document (Voucher, Invoice, etc.) ! FI jdMfgDate <- TK Date - Updated ! FI szSoldTo_ADD1 <- TK Address Line 1 ! FI szSoldTo_ADD2 <- TK Address Line 2 ! FI szSoldTo_ADD3 <- TK Address Line 3 ! FI szSoldTo_ADD4 <- TK Address Line 4 ! FI szSoldTo_City <- TK City ! FI szSoldTo_ADDS <- TK State ! FI szSoldTo_ADDZ <- TK Postal Code ! VA evt_szShipTo_PAD1 <- TK Producer Address Line 1 ! VA evt_szShipTo_PAD2 <- TK Producer Address Line 2 ! VA evt_szShipTo_PAD3 <- TK Producer Address Line 3 ! VA evt_szShipTo_PAD4 <- TK Producer Address Line 4 ! FI szShipTo_City <- TK City ! FI szShipTo_ADDS <- TK Origin State ! FI szShipTo_ADDZ <- TK Postal Code - Origin ! FI szMadeInCountry <- TK Description 03 ! FI szCustomerCartonId <- TK Customer Carton ID ! FI szPCI11 <- TK Description 11 ! FI szPCI12 <- TK Description 12 ! FI szPCI13 <- TK Description 13 ! FI szPCI14 <- TK Description 14 ! FI szPCI15 <- TK Description 15 ! FI szPCI16 <- TK Description 16 ! FI szPCI17 <- TK Description 17 ! FI jdDate1 <- TK Date - End of Period 01 ! FI jdDate2 <- TK Date - End of Period 02 ! FI jdDate3 <- TK Description 10 ! FI szEDIPlantID <- TK EDI Plant ID ! FI szDropZone <- TK Reserve Line Feed ! FI szAssemblyLineLocation <- TK Assembly Line Location ! FI szReference1 <- TK Reference ! FI szQLevelMercedes <- TK Plan Qualifier ! FI szRSDJ <- TK Description - Line 3 ! FI szDemandReference1 <- TK Demand Reference 1 ! FI szDemandReference2 <- TK Demand Reference 2 ! FI szDemandReference3 <- TK Demand Reference 3 ! FI szDemandReference4 <- TK Demand Reference 4 ! FI szDemandReference5 <- TK Demand Reference 5 ! FI szDemandReference6 <- TK Demand Reference 6 ! FI szDemandReference7 <- TK Demand Reference 7 ! FI szDemandReference8 <- TK Demand Reference 8 ! FI szDemandReference9 <- TK Demand Reference 9

! FI szDemandReference10 <- TK Demand Reference 10 ! FI mnScheduledShipmentTime <- TK Scheduled Shipment Time ! FI szSpecialHandlingCode <- TK Special Handling Code - User Def Codes ! VA frm_F5540R03_DL06 <- TK Description 06 ! VA frm_F5540R03_DL07 <- TK Description 07 ! VA frm_F5540R03_DL08 <- TK Description 08 ! VA frm_F5540R03_CIRV <- TK Item Revision Level - Customer/Supplier ! VA frm_F5540R03_PEFJ <- TK Date - Price Effective Date ! VA frm_F5540R03_DL09 <- TK Description 09 ! VA frm_F5540R03_DL10 <- TK Description 10 ! VA frm_F5540R03_DL11 <- TK Description 11 ! FI szSupplierLot <- TK Description - Status ! VA frm_F5540R03_LDSC <- TK Description - Lot ! FI szPartNumberFormated <- TK Serial Number - Lot ! VA evt_EngChang_CIRV <- TK Future Use For Segment 1 ! FI mnShipFromABnumber <- TK Address Number ! FI szRelatedOrderNumber <- TK Related PO/SO/WO Number ! VA frm_F5540R03_FIFO <- TK Description 21 ! VA frm_F5540R03_HIMEJI <- TK Description 22 ! VA frm_F5540R03_HITACHI <- TK Description 23 ! VA frm_F5540R03_DENSO <- TK Description 24 ! VA frm_F5540R03_FUSO <- TK Description 25 ! VA frm_ITEMVOLT_SRP8 <- TK Item Voltage ! VA frm_ITEMAMP_PRP0 <- TK Item Amperage ! VA frm_szSALESCATDESC2_DL18 <- TK Description 18 ! VA frm_szMATCLASS_PRP3 <- TK Material Class ! VA frm_F5540R03_OTADD1 <- TK OTM Address Line 1 ! VA frm_F5540R03_OTADD2 <- TK OTM Address Line 2 ! VA frm_F5540R03_OTADD3 <- TK OTM Address Line 3 ! VA frm_F5540R03_OTADD4 <- TK OTM Address Line 4 ! VA frm_F5540R03_OTCITY <- TK City ! VA frm_F5540R03_AARS <- TK Argentinean State ! VA frm_F5540R03_OTZIP <- TK OTM Postal Code 0017 // 0018 F5540R03.Fetch Single FI mnASNNumber = TK Shipment Number FI szSupplier <- TK EDI Supplier Code FI jdPromisedShipJu <- TK Date - Promised Shipment FI mnPartNumber = TK 2nd Item Number FI szPartDescription <- TK Description FI szPullSignal = TK Pull Signal FI szCustomerPartNumber = TK Vendor Part Number VA frm_F5540R03SoldTo_AN8 <- TK Address Number FI mnWHLoc <- TK Dock ID FI szAssemblyLineFeed_2 <- TK Assembly Line Feed FI szEngChange <- TK Item Number - Customer/Supplier VA evt_CostCenter_MCU <- TK Business Unit VA frm_F5540R03_ITM <- TK Item Number - Short FI szCompanyAddress <- TK Question Text FI szSpecialMark <- TK Address FI mnBlNo <- TK Document (Voucher, Invoice, etc.) FI jdMfgDate <- TK Date - Updated FI szSoldTo_ADD1 <- TK Address Line 1 FI szSoldTo_ADD2 <- TK Address Line 2 FI szSoldTo_ADD3 <- TK Address Line 3 FI szSoldTo_ADD4 <- TK Address Line 4 FI szSoldTo_City <- TK City FI szSoldTo_ADDS <- TK State FI szSoldTo_ADDZ <- TK Postal Code VA evt_szShipTo_PAD1 <- TK Producer Address Line 1

VA VA VA FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI FI VA VA VA VA VA VA VA VA FI VA FI VA FI FI VA VA VA VA VA VA VA VA VA VA

evt_szShipTo_PAD2 <- TK Producer Address Line 2 evt_szShipTo_PAD3 <- TK Producer Address Line 3 evt_szShipTo_PAD4 <- TK Producer Address Line 4 szShipTo_City <- TK City szShipTo_ADDS <- TK Origin State szShipTo_ADDZ <- TK Postal Code - Origin szMadeInCountry <- TK Description 03 szCustomerCartonId <- TK Customer Carton ID szPCI11 <- TK Description 11 szPCI12 <- TK Description 12 szPCI13 <- TK Description 13 szPCI14 <- TK Description 14 szPCI15 <- TK Description 15 szPCI16 <- TK Description 16 szPCI17 <- TK Description 17 jdDate1 <- TK Date - End of Period 01 jdDate2 <- TK Date - End of Period 02 jdDate3 <- TK Description 10 szEDIPlantID <- TK EDI Plant ID szDropZone <- TK Reserve Line Feed szAssemblyLineLocation <- TK Assembly Line Location szReference1 <- TK Reference szQLevelMercedes <- TK Plan Qualifier szRSDJ <- TK Description - Line 3 szDemandReference1 <- TK Demand Reference 1 szDemandReference2 <- TK Demand Reference 2 szDemandReference3 <- TK Demand Reference 3 szDemandReference4 <- TK Demand Reference 4 szDemandReference5 <- TK Demand Reference 5 szDemandReference6 <- TK Demand Reference 6 szDemandReference7 <- TK Demand Reference 7 szDemandReference8 <- TK Demand Reference 8 szDemandReference9 <- TK Demand Reference 9 szDemandReference10 <- TK Demand Reference 10 mnScheduledShipmentTime <- TK Scheduled Shipment Time szSpecialHandlingCode <- TK Special Handling Code - User Def Codes frm_F5540R03_DL06 <- TK Description 06 frm_F5540R03_DL07 <- TK Description 07 frm_F5540R03_DL08 <- TK Description 08 frm_F5540R03_CIRV <- TK Item Revision Level - Customer/Supplier frm_F5540R03_PEFJ <- TK Date - Price Effective Date frm_F5540R03_DL09 <- TK Description 09 frm_F5540R03_DL10 <- TK Description 10 frm_F5540R03_DL11 <- TK Description 11 szSupplierLot <- TK Description - Status frm_F5540R03_LDSC <- TK Description - Lot szPartNumberFormated <- TK Serial Number - Lot evt_EngChang_CIRV <- TK Future Use For Segment 1 mnShipFromABnumber <- TK Address Number szRelatedOrderNumber <- TK Related PO/SO/WO Number frm_F5540R03_FIFO <- TK Description 21 frm_F5540R03_HIMEJI <- TK Description 22 frm_F5540R03_HITACHI <- TK Description 23 frm_F5540R03_DENSO <- TK Description 24 frm_F5540R03_FUSO <- TK Description 25 frm_ITEMVOLT_SRP8 <- TK Item Voltage frm_ITEMAMP_PRP0 <- TK Item Amperage frm_szSALESCATDESC2_DL18 <- TK Description 18 frm_szMATCLASS_PRP3 <- TK Material Class frm_F5540R03_OTADD1 <- TK OTM Address Line 1

VA VA VA VA VA VA 0019 0020 0021 0022 0023 0024 0025 0026 0027 0028 0029 0030 0031 0032 0033 0034 0035 0036 0037 0038 0039 0040 0041 0042 0043 0044 0045 0046 0047 0048 0049 0050 0051 0052 0053 0054 0055 0056 0057 0058 0059 0060 0061 0062 0063 0064 0065 0066 0067 0068 0069 0070 0071 0072 // // FC FC FC FC FC FC FC FC // FC FC FC FC FC FC FC // FC FC FC FC FC FC FC // FC FC // FC FC FC FC FC FC FC // FC FC FC // FC FC FC // FC FC If

frm_F5540R03_OTADD2 <- TK OTM Address Line 2 frm_F5540R03_OTADD3 <- TK OTM Address Line 3 frm_F5540R03_OTADD4 <- TK OTM Address Line 4 frm_F5540R03_OTCITY <- TK City frm_F5540R03_AARS <- TK Argentinean State frm_F5540R03_OTZIP <- TK OTM Postal Code

Supplier (D) = FI szSupplier Part Description (D) = FI szPartDescription Company Address (D) = FI szCompanyAddress Engineering Change (D) = VA evt_EngChang_CIRV Ship Date (D) = FI jdPromisedShipJu WH Loc (D) = FI mnWHLoc Special Mark (D) = FI szSpecialMark BLNo (D) = FI mnBlNo SoldTo_ADD1(D) = FI szSoldTo_ADD1 SoldTo_ADD2(D) = FI szSoldTo_ADD2 SoldTo_ADD3(D) = FI szSoldTo_ADD3 SoldTo_ADD4(D) = FI szSoldTo_ADD4 SoldTo_City(D) = FI szSoldTo_City SoldTo_State(D) = FI szSoldTo_ADDS SoldTo_Zip(D) = FI szSoldTo_ADDZ ShipTo_ADD1(D) = VA evt_szShipTo_PAD1 ShipTo_ADD2(D) = VA evt_szShipTo_PAD2 ShipTo_ADD3(D) = VA evt_szShipTo_PAD3 ShipTo_ADD4(D) = VA evt_szShipTo_PAD4 ShipTo_City(D) = FI szShipTo_City ShipTo_State(D) = FI szShipTo_ADDS ShipTo_Zip(D) = FI szShipTo_ADDZ MadeInCountry(D) = FI szMadeInCountry Customer Carton ID(D) = FI szCustomerCartonId PCI11(D) PCI12(D) PCI13(D) PCI14(D) PCI15(D) PCI16(D) PCI17(D) = = = = = = = FI FI FI FI FI FI FI szPCI11 szPCI12 szPCI13 szPCI14 szPCI15 szPCI16 szPCI17

QtyPack(D) = FI mnQuantityPacks NoOfPacks(D) = FI mnNumberofPacks GrossWeight(D) = FI mnGrossWeight Date1(D) = FI jdDate1 Date2(D) = FI jdDate1 Date3(D) = FI jdDate3

Ship To Plant Code (D) = FI szEDIPlantID Drop Zone (D) = FI szDropZone FI jdMfgDate is equal to <Null Date> FC MfgDate (D) = SL DateToday Else FC MfgDate (D) = FI jdMfgDate End If //

0073 0074 0075 0076 0077 0078 0079 0080 0081 0082 0083 0084 0085 0086 0087 0088 0089 0090 0091 0092 0093 0094 0095 0096 0097 0098 0099 0100 0101 0102 0103 0104 0105 0106 0107 0108 0109

0110 0111 0112 0113 0114 0115 0116 0117 0118 0119 0120 0121 0122 0123 0124 0125

FC Storage Location (D) = FI szAssemblyLineLocation FC Customer PO (D) = FI szReference1 // FC Q-Level (Mercedes) (D) = FI szQLevelMercedes FC Serial (Mercedes) (D) = FI szIncreSeriaMercedes // FC RSDJ (D) = FI szRSDJ // FC Reference 1 (D) = FI szDemandReference1 FC Reference 2 (D) = FI szDemandReference2 FC Reference 3 (D) = FI szDemandReference3 FC Reference 4 (D) = FI szDemandReference4 FC Reference 5 (D) = FI szDemandReference5 FC Reference 6 (D) = FI szDemandReference6 FC Reference 7 (D) = FI szDemandReference7 FC Reference 8 (D) = FI szDemandReference8 FC Reference 9 (D) = FI szDemandReference9 FC Reference 10 (D) = FI szDemandReference10 // FC Shipment Time (D) = FI mnScheduledShipmentTime FC Special Handling Code (D) = FI szSpecialHandlingCode // FC Assembly Line Feed (D) = FI szAssemblyLineFeed_2 // FC Job Number (D) = FI szJobChassisNumber FC Sequence Number (D) = FI szSequenceNumber FC Control Number (D) = FI szControlNumber // FC Customer Revision Level (D) = VA frm_F5540R03_CIRV // // T004712 --------------- Start VA evt_55_SL_SY = 55 VA evt_55_SL_RT = "SL" F4211.Select FI mnASNNumber = TK Shipment Number F4211.Fetch Next VA evt_Lot_LOTN <- TK Lot/Serial Number VA evt_55_SL_KY = ltrim(rtrim([VA evt_CostCenter_MCU]," ")," ") Get UDC VA evt_55_SL_SY -> BF szSystemCode VA evt_55_SL_RT -> BF szRecordTypeCode VA evt_55_SL_KY -> BF szUserDefinedCode VA evt_55_SL_DL01 <- BF szDescription001 "1" -> BF cSuppressErrorMessage If VA evt_55_SL_DL01 is equal to "SHPN" FC Supplier Lot (D) = [FI mnASNNumber] Else If VA evt_55_SL_DL01 is equal to "RLOT" FC Supplier Lot (D) = [VA evt_Lot_LOTN] Else FC Supplier Lot (D) = FI szSupplierLot End If End If // T004712 --------------- End // FC Part Number Formated (D) = FI szPartNumberFormated FC Eng Change Customer (D) = FI szEngChange // FC Delivery Batch Number (D) = FI szDeliveryBatchNumber //

0126 Get Audit Information VA frm_SY_USER <- BF szUserName VA frm_SY_UPMJ <- BF jdDate VA frm_SY_TDAY <- BF mnTime VA frm_SY_JOBN <- BF szWorkstation_UserId 0127 VA frm_SY_PID = "P5540R03M" 0128 // 0129 FC Ship From AB Number (D) = FI mnShipFromABnumber 0130 FC Related Order Number (D) = FI szRelatedOrderNumber 0131 // 0132 FC Quick_Quantity (D) = FC Quantity (D) ----------------------------------------------------------------------EVENT: Variables ----------------------------------------------------------------------frm_cPalletCartonFlag_EV01 frm_F5540R03SoldTo_AN8 frm_SY_UPMJ frm_SY_TDAY frm_SY_JOBS frm_SY_JOBN frm_SY_USER frm_SY_PID frm_LableType_KY frm_F5540R03_PEFJ frm_F5540R03_DL09 frm_F5540R03_DL10 frm_F5540R03_DL11 frm_F5540R03_DL06 frm_F5540R03_DL07 frm_F5540R03_DL08 frm_F5540R03_LDSC frm_F5540R03_FIFO frm_F5540R03_HIMEJI frm_F5540R03_HITACHI frm_F5540R03_DENSO frm_F5540R03_FUSO frm_ITEMVOLT_SRP8 frm_ITEMAMP_PRP0 frm_szSALESCATDESC2_DL18 frm_szMATCLASS_PRP3 frm_F5540R03_CIRV frm_F5540R03_OTADD1 frm_F5540R03_OTADD2 frm_F5540R03_OTADD3 frm_F5540R03_OTADD4 frm_F5540R03_OTCITY frm_F5540R03_AARS frm_F5540R03_OTZIP frm_F5540R03_ITM ======================================================================= CONTROL: HYPITEM Print EVENT: Post Button Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 Press Button(FC Print) ======================================================================= CONTROL: RADBTN KG

EVENT: Selection Changed ----------------------------------------------------------------------OPT: Using Defaults 0001 If FC KG is equal to "A" 0002 FC LB = "A" 0003 End If ======================================================================= CONTROL: RADBTN LB EVENT: Selection Changed ----------------------------------------------------------------------OPT: Using Defaults 0001 If FC LB is equal to "B" 0002 FC KG = "B" 0003 End If ======================================================================= CONTROL: EDIT No Of Label (D) EVENT: Control Exited/Changed-Inline ----------------------------------------------------------------------OPT: Using Defaults 0001 If FC No Of Label (D) is equal to <Null> Or FC No Of Label (D) is equal to <Blank> Or FC No Of Label (D) is equal to <Zero> 0002 Set Control Error(FC No Of Label (D), "H00033") 0003 Set Control Focus(FC No Of Label (D)) 0004 Else 0005 Clear Control Error(FC No Of Label (D)) 0006 Clear Control Error(FC Quick_No Of Label (D)) 0007 End If ======================================================================= CONTROL: BUTTON Print EVENT: Post Button Clicked ----------------------------------------------------------------------evt_mnPrintLabelCount_MATH01 evt_szFileName_EFRM evt_szFilePath_EFRM evt_szString3_CONSTR3 evt_SerialNumber_SERI evt_NextNumber001_N001 evt_GrossWeightKG_AA evt_GrossWeightLB_AA evt_ConversionFactor_CONV evt_Day_NUMY evt_Year_NUMY evt_Month_MNTH evt_Month_DL01 evt_TextDate_DL10 evt_F5546001_AC13 evt_UserReservedCode_URCD evt_HardCodedYN_HRDC evt_F5540R04_CRID evt_F5546001_ITM evt_F5540R04_SCCN evt_F5540R04_UPCN evt_F5540R04_PAK evt_F5546001_LITM evt_SupplierLot_RLOT evt_SS_SL_KY evt_CostCenter_MCU

evt_Lot_LOTN OPT: Using Defaults 0001 If FC No Of Label (D) is equal to <Null> Or FC No Of Label (D) is equal to <Blank> Or FC No Of Label (D) is equal to <Zero> 0002 Set Control Error(FC No Of Label (D), "H00033") 0003 Set Control Focus(FC No Of Label (D)) 0004 Else 0005 Clear Control Error(FC No Of Label (D)) 0006 Clear Control Error(FC Quick_No Of Label (D)) 0007 VA evt_mnPrintLabelCount_MATH01 = 0 0008 While VA evt_mnPrintLabelCount_MATH01 is not equal to FC No Of Label (D) 0009 Get Server File Path Information VA evt_szFilePath_EFRM <- BF szFilePath "D3N" -> BF szProductCode "TY" -> BF szUserDefinedCodes FI szLabelType -> BF szUserDefinedCode "Pas" -> BF szString1 VA evt_szFileName_EFRM <- BF szString2 VA evt_szString3_CONSTR3 <- BF szString3 0010 VA evt_szFileName_EFRM = concat([VA evt_mnPrintLabelCount_MATH01],[VA evt_szFileName_EFRM]) 0011 VA evt_szFilePath_EFRM = concat(concat([VA evt_szFilePath_EFRM],'\'), [VA evt_szFileName_EFRM]) 0012 If VA frm_cPalletCartonFlag_EV01 is equal to "C" 0013 VA evt_SerialNumber_SERI = rtrim(ltrim([FC Serial Number (D)]," ") ," ") 0014 Else 0015 If FC Serial Number (D) is equal to <Blank> Or FC Serial Number (D ) is equal to <Null> Or FC Serial Number (D) is equal to <Zero> Or FC Serial Num ber (D) is equal to <Blank> 0016 X0010 - Get Next Number "55" -> BF szSystemCode "3" -> BF mnNextNumberingIndexNo VA evt_NextNumber001_N001 <- BF mnNextNumber001 0017 Convert Math_Numeric To String VA evt_NextNumber001_N001 -> BF mnMathNumeric01 VA evt_SerialNumber_SERI <- BF szString 0018 Else 0019 VA evt_SerialNumber_SERI = rtrim(ltrim([FC Serial Number (D)]," ")," ") 0020 End If 0021 End If 0022 If FC GrossWeight(D) is not equal to <Null> Or FC GrossWeight(D) is n ot equal to <Zero> Or FC GrossWeight(D) is not equal to <Blank> 0023 // 0024 If FC KG is equal to "A" 0025 Get Standard UOM Conversion Factor "KG" -> BF szUnitOfMeasure "LB" -> BF szRelatedUnitOfMeasure VA evt_ConversionFactor_CONV <- BF mnConversionFactor 0026 VA evt_GrossWeightKG_AA = FC GrossWeight(D) 0027 VA evt_GrossWeightLB_AA = [FC GrossWeight(D)]*[VA evt_Conversio nFactor_CONV] 0028 End If 0029 // 0030 If FC LB is equal to "B" 0031 Get Standard UOM Conversion Factor "LB" -> BF szUnitOfMeasure "KG" -> BF szRelatedUnitOfMeasure VA evt_ConversionFactor_CONV <- BF mnConversionFactor

0032 VA evt_GrossWeightLB_AA = FC GrossWeight(D) 0033 VA evt_GrossWeightKG_AA = [FC GrossWeight(D)]*[VA evt_Conversio nFactor_CONV] 0034 End If 0035 // 0036 End If 0037 // =================================================== 0038 // 0039 If FC Ship Date (D) is equal to <Null Date> 0040 Else 0041 VA evt_Day_NUMY = date_day([FC Ship Date (D)]) 0042 VA evt_Month_MNTH = date_month([FC Ship Date (D)]) 0043 VA evt_Year_NUMY = date_year([FC Ship Date (D)]) 0044 Date Format Month Description VA evt_Month_MNTH -> BF mnCalendarMonth VA evt_Month_DL01 <- BF szDescription 0045 VA evt_Month_DL01 = substr(rtrim(ltrim([VA evt_Month_DL01]," ")," "),0,3) 0046 VA evt_TextDate_DL10 = concat(concat([VA evt_Day_NUMY],[VA evt_Mon th_DL01]),[VA evt_Year_NUMY]) 0047 End If 0048 // 0049 // MFG Dates Mod 08/12/09 To Stop comment below BSFN 0050 // 0051 MFGDateForManualLabel FC MfgDate (D) -> BF jdDateUpdated VA frm_F5540R03_PEFJ <- BF jdDatePriceEffectiveDate VA frm_F5540R03_DL08 <- BF szDescription001 VA frm_F5540R03_DL07 <- BF szDescription01002 VA frm_F5540R03_DL09 <- BF szDATEMFG3 VA frm_F5540R03_DL10 <- BF szDATEMFG4 VA frm_F5540R03_DL11 <- BF szDATEMFG5 FC Ship Date (D) -> BF jdShipDate 0052 // 0053 // =================================================== 0054 Container OutPut File VA evt_szFilePath_EFRM -> BF szFilePath FC ASN Number (D) -> BF mnASNNumber FC Pull Signal (D) -> BF szDONumber FC Quantity (D) -> BF mnQuantity FC Supplier (D) -> BF szSupplierCode FC Part Number (D) -> BF szIdentifier2ndItem FC Customer Part Number (D) -> BF szVendorPartNumber FC Assembly Line Feed (D) -> BF szAssemblyLineFeed FC Part Description (D) -> BF szDescription FC Ship Date (D) -> BF jdActualShipDate FI szPrinterName -> BF szUserDefinedCode "CustomerLabels\" -> BF szString1 FI szLabelFormat -> BF szString2 FI szPrinterDescription -> BF szString3 ".lwl" -> BF szString4 FI mnNoOfLabelSet -> BF mnAmount1 FC Company Address (D) -> BF szLongAddress1 FC WH Loc (D) -> BF szWhLoc FC Eng Change Customer (D) -> BF szEngineeringChange VA evt_SerialNumber_SERI -> BF szSerialNumb FC Special Mark (D) -> BF szSpecialMark FC BLNo (D) -> BF mnBLNumber FC SoldTo_ADD1(D) -> BF szSoldToAdd1 FC SoldTo_ADD2(D) -> BF szSoldToAdd2

FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC SL VA FC FC FC VA FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC VA FC FC FC VA VA VA FC VA VA VA VA

SoldTo_ADD3(D) -> BF szSoldToAdd3 SoldTo_ADD4(D) -> BF szSoldToAdd4 SoldTo_Zip(D) -> BF szSoldToZip SoldTo_City(D) -> BF szSoldToCity SoldTo_State(D) -> BF szSoldToState ShipTo_ADD1(D) -> BF szShipToAdd1 ShipTo_ADD2(D) -> BF szShipToAdd2 ShipTo_ADD3(D) -> BF szShipToAdd3 ShipTo_ADD4(D) -> BF szShipToAdd4 ShipTo_City(D) -> BF szShipToCity ShipTo_State(D) -> BF szShipToState ShipTo_Zip(D) -> BF szShipToZip MadeInCountry(D) -> BF szMadeInCountry Customer Carton ID(D) -> BF szContainerType PCI11(D) -> BF szPCI11 PCI12(D) -> BF szPCI12 PCI13(D) -> BF szPCI13 PCI14(D) -> BF szPCI4 PCI15(D) -> BF szPCI15 PCI16(D) -> BF szPCI16 PCI17(D) -> BF szPCI17 Ship Date (D) -> BF jdShipDateMMDDYYYY DateToday -> BF jdDateMMDDYYYY evt_TextDate_DL10 -> BF szShipDateDDMMMYYYY NoOfPacks(D) -> BF mnNumberofPacks QtyPack(D) -> BF mnQuantityPack Quantity (D) -> BF mnQuantityTotal evt_GrossWeightKG_AA -> BF mnActualWeight Ship To Plant Code (D) -> BF szShipToPlantCode Drop Zone (D) -> BF szDropZone MfgDate (D) -> BF jdMfgDate Storage Location (D) -> BF szAssemblyLineLocation Customer PO (D) -> BF szReference1 Q-Level (Mercedes) (D) -> BF szQLevelMercedes Serial (Mercedes) (D) -> BF szSequence RSDJ (D) -> BF szRSDJ Reference 1 (D) -> BF szDemandReference1 Reference 2 (D) -> BF szDemandReference2 Reference 3 (D) -> BF szDemandReference3 Reference 4 (D) -> BF szDemandReference4 Reference 5 (D) -> BF szDemandReference5 Reference 6 (D) -> BF szDemandReference6 Reference 7 (D) -> BF szDemandReference7 Reference 8 (D) -> BF szDemandReference8 Reference 9 (D) -> BF szDemandReference9 Reference 10 (D) -> BF szDemandReference10 Shipment Time (D) -> BF mnScheduledShipmentTime Special Handling Code (D) -> BF szSpecialHandlingCode evt_GrossWeightLB_AA -> BF mnGrossWeightLB Job Number (D) -> BF szJobChassisNumber Sequence Number (D) -> BF szSequenceNumber Control Number (D) -> BF szControlNumber frm_F5540R03_DL06 -> BF szMadeInCountry2 frm_F5540R03_DL07 -> BF szYMMDDShipDate frm_F5540R03_DL08 -> BF szMMDDYYYShipDate Customer Revision Level (D) -> BF szCustEngChange frm_F5540R03_PEFJ -> BF jdMfgDate2 frm_F5540R03_DL09 -> BF szMfgDate3 frm_F5540R03_DL10 -> BF szMfgDate4 frm_F5540R03_DL11 -> BF szMfgDate5

0055 0056 0057 0058 0059 0060 0061

0062 0063 ! ! ! 0064 ! ! ! ! ! ! ! 0065 0066 ! ! 0067 ! ! 0068 ! ! ! 0069 0070

FC Supplier Lot (D) -> BF szSupplierLotNumber VA frm_F5540R03_LDSC -> BF szHondaPartNumber FC Part Number Formated (D) -> BF szHondaPartNumber1 FC Engineering Change (D) -> BF szCustomerserviceCIRV FC Delivery Batch Number (D) -> BF szDeliveryBatchNumber FC Ship From AB Number (D) -> BF mnShipFromABnumber FC Related Order Number (D) -> BF szRelatedOrderNumber VA frm_F5540R03_FIFO -> BF szDTFIFO VA frm_F5540R03_HIMEJI -> BF szDTHIMEJI VA frm_F5540R03_HITACHI -> BF szDTHITACHI VA frm_F5540R03_DENSO -> BF szDTDENSO VA frm_F5540R03_FUSO -> BF szDTFUSO VA frm_ITEMVOLT_SRP8 -> BF szITEMVOLT VA frm_ITEMAMP_PRP0 -> BF szITEMAMP VA frm_szSALESCATDESC2_DL18 -> BF szSALESCATDESC2 VA frm_szMATCLASS_PRP3 -> BF szMATCLASS VA frm_F5540R03_OTADD1 -> BF szOVRSTADD1 VA frm_F5540R03_OTADD2 -> BF szOVRSTADD2 VA frm_F5540R03_OTADD3 -> BF szOVRSTADD3 VA frm_F5540R03_OTADD4 -> BF szOVRSTADD4 VA frm_F5540R03_OTCITY -> BF szOVRTOCTY1 VA frm_F5540R03_AARS -> BF szOVRTOADDS VA frm_F5540R03_OTZIP -> BF szOVRTOADDZ VA frm_F5540R03_ITM -> BF mnITM // =================================================== // F5546001 - Container Serial Scanning // =================================================== F03012.Fetch Single VA frm_F5540R03SoldTo_AN8 = TK Address Number VA evt_F5546001_AC13 <- TK Write Container Detail If VA evt_F5546001_AC13 is equal to "Y" VA evt_UserReservedCode_URCD = "M" Get UDC "D3N" -> BF szSystemCode "TY" -> BF szRecordTypeCode VA frm_LableType_KY -> BF szUserDefinedCode VA evt_HardCodedYN_HRDC <- BF cHardCodedYn If VA evt_HardCodedYN_HRDC is equal to "Y" F5540R04.Select FC ASN Number (D) = TK Shipment Number FC Serial Number (D) = TK Container Serial Number F5540R04.Fetch Next VA evt_NextNumber001_N001 <- TK Shipment Number VA evt_F5540R04_CRID <- TK Carton ID VA evt_F5546001_ITM <- TK Item Number - Short VA evt_F5540R04_SCCN <- TK SCC Number VA evt_F5540R04_PAK <- TK SSCC Number - Pack Level VA evt_F5540R04_UPCN <- TK UPC Number // T004691 01/19/2011 ----- Start F5540R03.Select FC ASN Number (D) = TK Shipment Number F5540R03.Fetch Next VA evt_F5546001_ITM <- TK Item Number - Short F4101.Fetch Single VA evt_F5546001_ITM = TK Item Number - Short VA evt_F5546001_LITM <- TK 2nd Item Number F4101.Fetch Single VA evt_F5546001_ITM <- TK Item Number - Short FC Part Number (D) = TK 2nd Item Number // T004988 -------------- Start

0071

F5546001.Insert VA evt_SerialNumber_SERI -> TK Container Serial Number VA evt_F5540R04_CRID -> TK Carton ID VA evt_F5546001_ITM -> TK Item Number - Short FC Quantity (D) -> TK Quantity -Total VA evt_F5540R04_SCCN -> TK SCC Number VA evt_F5540R04_UPCN -> TK UPC Number VA evt_F5540R04_PAK -> TK SSCC Number - Pack Level VA evt_UserReservedCode_URCD -> TK User Reserved Code VA frm_SY_USER -> TK User ID VA frm_SY_PID -> TK Program ID VA frm_SY_UPMJ -> TK Date - Updated VA frm_SY_TDAY -> TK Time of Day VA frm_LableType_KY -> TK User Defined Code FC Customer Part Number (D) -> TK Item Number - Customer/Sup FC FC FC FC FC FC FC Part Number (D) -> TK 2nd Item Number Supplier Lot (D) -> TK Supplier Lot Number Supplier (D) -> TK EDI Supplier Code Job Number (D) -> TK Production Sequencing Job Number Sequence Number (D) -> TK Job Sequence Number Ship To Plant Code (D) -> TK EDI Plant ID Engineering Change (D) -> TK Item Revision Level - Custom

plier

er/Supplier FC Reference 6 (D) -> TK Demand Reference 6 0072 // T004988 -------------- End 0073 // T004691 01/19/2011 ----- End 0074 End If 0075 End If 0076 // 0077 VA evt_mnPrintLabelCount_MATH01 = [VA evt_mnPrintLabelCount_MATH01]+1 0078 End While 0079 End If ======================================================================= CONTROL: EDIT Quick_Quantity (D) EVENT: Control Exited/Changed-Inline ----------------------------------------------------------------------OPT: Using Defaults 0001 FC Quantity (D) = FC Quick_Quantity (D) ======================================================================= CONTROL: EDIT Quick_No Of Label (D) EVENT: Control Exited/Changed-Asynch ----------------------------------------------------------------------OPT: Using Defaults 0001 If FC Quick_No Of Label (D) is equal to <Null> Or FC Quick_No Of Label (D) is equal to <Blank> Or FC Quick_No Of Label (D) is equal to <Zero> 0002 Set Control Error(FC Quick_No Of Label (D), "H00033") 0003 Set Control Focus(FC Quick_No Of Label (D)) 0004 Else 0005 Clear Control Error(FC Quick_No Of Label (D)) 0006 Clear Control Error(FC No Of Label (D)) 0007 FC No Of Label (D) = FC Quick_No Of Label (D) 0008 End If ----------------------------------------------------------------------EVENT: Control Exited/Changed-Inline ----------------------------------------------------------------------OPT: Using Defaults

0001 If FC Quick_No Of Label (D) is equal to <Null> Or FC Quick_No Of Label (D) is equal to <Blank> Or FC Quick_No Of Label (D) is equal to <Zero> 0002 Set Control Error(FC Quick_No Of Label (D), "H00033") 0003 Set Control Focus(FC Quick_No Of Label (D)) 0004 Else 0005 Clear Control Error(FC Quick_No Of Label (D)) 0006 Clear Control Error(FC No Of Label (D)) 0007 FC No Of Label (D) = FC Quick_No Of Label (D) 0008 End If ======================================================================= CONTROL: BUTTON Quick Print EVENT: Button Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 FC Quantity (D) = FC Quick_Quantity (D) 0002 FC No Of Label (D) = FC Quick_No Of Label (D) ----------------------------------------------------------------------EVENT: Post Button Clicked ----------------------------------------------------------------------evt_mnPrintLabelCount_MATH01 evt_szFileName_EFRM evt_szFilePath_EFRM evt_szString3_CONSTR3 evt_SerialNumber_SERI evt_NextNumber001_N001 evt_GrossWeightKG_AA evt_GrossWeightLB_AA evt_ConversionFactor_CONV evt_Day_NUMY evt_Year_NUMY evt_Month_MNTH evt_Month_DL01 evt_TextDate_DL10 evt_F5546001_AC13 evt_UserReservedCode_URCD evt_HardCodedYN_HRDC evt_F5540R04_CRID evt_F5546001_ITM evt_F5540R04_SCCN evt_F5540R04_UPCN evt_F5540R04_PAK evt_F5546001_LITM OPT: Using Defaults 0001 Press Button(FC Print) 0002 Press Button(HC &Cancel) ======================================================================= FORM: Carton - Detail [FIND BROWSE] (W5540R03G) ======================================================================= CONTROL: FORM EVENT: Post Dialog is Initialized ----------------------------------------------------------------------OPT: Using Defaults 0001 FC Outside Carton ID (D) = FI mnOutsideCartonID 0002 FC Shipment Number (D) = FI mnShipmentNumber 0003 If FI cServiceShipment is equal to "Y" 0004 FC Item Number (Short) = FI mnIdentifierShortItem 0005 End If

----------------------------------------------------------------------EVENT: Write Grid Line-Before ----------------------------------------------------------------------OPT: Using Defaults 0001 ! GC Description = " (Edit) " 0002 GC Description = "..." 0003 VA frm_Count_Math01 = [VA frm_Count_Math01]+1 0004 If GC Pallet ID is not equal to VA frm_OutsideCartonID_CROS 0005 Set Grid Color(FC Grid, VA frm_Count_Math01, GC Pallet ID, <Aqua>) 0006 Set Grid Color(FC Grid, VA frm_Count_Math01, GC Carton ID, <Aqua>) 0007 Set Grid Color(FC Grid, VA frm_Count_Math01, GC Serial Number, <Aqua>) 0008 Set Grid Color(FC Grid, VA frm_Count_Math01, GC Quantity, <Aqua>) 0009 Else 0010 Set Grid Color(FC Grid, VA frm_Count_Math01, GC Pallet ID, <Default>) 0011 Set Grid Color(FC Grid, VA frm_Count_Math01, GC Carton ID, <Default>) 0012 Set Grid Color(FC Grid, VA frm_Count_Math01, GC Serial Number, <Default> ) 0013 Set Grid Color(FC Grid, VA frm_Count_Math01, GC Quantity, <Default>) 0014 End If 0015 VA frm_OutsideCartonID_CROS = GC Pallet ID ----------------------------------------------------------------------EVENT: Variables ----------------------------------------------------------------------frm_OutsideCartonID_CROS frm_Count_Math01 ======================================================================= CONTROL: GRIDCOL Description EVENT: Grid Column Clicked ----------------------------------------------------------------------evt_PartNumber_LITM evt_PullSignal_PSIG evt_CustomerPart_VNPART evt_QLevelMercedes_CITM OPT: Using Defaults 0001 F5540R03.Select GC Shipment Number = TK Shipment Number GC Pallet ID = TK Outside Carton ID 0002 F5540R03.Fetch Next VA evt_PartNumber_LITM <- TK 2nd Item Number VA evt_PullSignal_PSIG <- TK Pull Signal VA evt_CustomerPart_VNPART <- TK Vendor Part Number VA evt_QLevelMercedes_CITM <- TK Plan Qualifier 0003 Call( App:P5540R03 , Form:W5540R03F , Ver: MEAA0001 ) GC Shipment Number -> FI mnASNNumber VA evt_PartNumber_LITM -> FI mnPartNumber VA evt_PullSignal_PSIG -> FI szPullSignal VA evt_CustomerPart_VNPART -> FI szCustomerPartNumber GC Quantity -> FI mnQuantity FI szPrinterName -> FI szPrinterName FI szLabelType -> FI szLabelType FI szLabelFormat -> FI szLabelFormat FI szPrinterDesc -> FI szPrinterDescription GC Serial Number -> FI szSerialNumber "C" -> FI cPalletCartonFlag GC Sequence -> FI szIncreSeriaMercedes GC Job (Chassis) Number -> FI szJobChassisNumber GC Sequence Number -> FI szSequenceNumber

GC Shipment ID -> FI szControlNumber GC Delivery Batch Number -> FI szDeliveryBatchNumber ======================================================================= FORM: Caution [MESSAGE] (W5540R03H) ======================================================================= CONTROL: FORM EVENT: Dialog is Initialized ----------------------------------------------------------------------evt_OutsideCartonID_CROS evt_mnCounter_MATH01 OPT: Using Defaults 0001 ! ***MISSING_NAME*** = [FI mnShipmentNumber] 0002 F5540R04.Select FI mnShipmentNumber = TK Shipment Number 0003 F5540R04.Fetch Next VA evt_OutsideCartonID_CROS <- TK Outside Carton ID 0004 While SV File_IO_Status is equal to CO SUCCESS 0005 VA evt_mnCounter_MATH01 = [VA evt_mnCounter_MATH01]+1 0006 F5540R04.Fetch Next VA evt_OutsideCartonID_CROS <- TK Outside Carton ID 0007 End While 0008 ! ***MISSING_NAME*** = [VA evt_mnCounter_MATH01] ======================================================================= CONTROL: BUTTON OK EVENT: Post Button Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 FI cConfirmationFlag = "Y" ======================================================================= CONTROL: BUTTON Cancel EVENT: Post Button Clicked ----------------------------------------------------------------------OPT: Using Defaults 0001 FI cConfirmationFlag = "N" Monday November 07, 2011 12:32