Code:
Procedure End_of_Process
Integer iRepairType, iHour, iMinute, iStaffCode, iWatchGender, iJobAssignment, iTicketNo
Integer iWatchBandType, iWatchColour, iWatchCrystal, iWatchCase, iQty, iWatchMovementType
Integer iWatchCrown, iWatchWaterProof, iWatchBandCondition, iWatchServiceType, iAssignedStaffNo, iPriority
DateTime dtCurrentDateTime
String sTime, sStaffNo, sName, sAssignedStaffName, sPrevTicketNo, sShip, sTermID sPathTag
String sEmail, sAddress1, sAddress2, sCity, sRegion, sPostCodeZip, sCountryCode
String sFax, sItemDesc, sBrand, sModel sWatchSN, sRcvStaffName, sBarCodeNotes, sWatchColourOtherDesc
String sRequestedRepair, sNotes, sJobNotes, sBezelType, sDialType, sStatusCode, sStatusDesc
Number nCustNo, nItemVal, nEstCost, nDepUS, nDepCI
Boolean bNewCustomer, bUnderWarranty, bReturnRepair, bWatchIsWorking, bOneHourJob
Integer iPh1CountryCode iPh1AreaCode iPhoneNo iPh2CountryCode iPh2AreaCode iContactNo
Date dPromisedDate
String sJewelrySerial sJewelryGroup sJewelryMetalType sJewelryPriStone sJewelrySecStone
String sJewelryOthStone sJewelryCondOtherDesc sJewelryReqRprResizeFrom
String sJewelryReqRprResizeTo sJewelryReqRprOtherDesc
Boolean bJewelryCondMissingStone bJewelryCondChips bJewelryCondDents
Boolean bJewelryCondCracks bJewelryCondKinks bJewelryCondOther
Boolean bJewelryReqRprSoldering bJewelryReqRprStoneReplacement bJewelryReqRprProngs
Boolean bJewelryReqRprKnotted bJewelryReqRprOther
String sOtherLine sOtherGroup sOtherItemOtherDesc sOtherItemCondition sOtherRequestedRepair
becomes