TdvSLCS
object TppReport
  AutoStop = False
  DataPipeline = Main
  NoDataBehaviors = [ndBlankReport]
  PassSetting = psTwoPass
  PrinterSetup.BinName = 'Default'
  PrinterSetup.DocumentName = 'SQL Financial Accounting: 0PCH - Sales Invoice'
  PrinterSetup.Duplex = dpNone
  PrinterSetup.PaperName = 'Letter 8.5"x11" 22x28cm'
  PrinterSetup.PrinterName = 'Default'
  PrinterSetup.SaveDeviceSettings = False
  PrinterSetup.mmMarginBottom = 6350
  PrinterSetup.mmMarginLeft = 6350
  PrinterSetup.mmMarginRight = 12700
  PrinterSetup.mmMarginTop = 6350
  PrinterSetup.mmPaperHeight = 279401
  PrinterSetup.mmPaperWidth = 215900
  PrinterSetup.PaperSize = 1
  SaveAsTemplate = True
  Template.DatabaseSettings.Name = '11-Cash-Sales-SST-Format-FullPage'
  Template.DatabaseSettings.NameField = 'Name'
  Template.DatabaseSettings.TemplateField = 'Template'
  Template.SaveTo = stDatabase
  Template.Format = ftASCII
  ArchiveFileName = '($MyDocuments)\ReportArchive.raf'
  DeviceType = 'Screen'
  DefaultFileDeviceType = 'PDF'
  EmailSettings.ReportFormat = 'PDF'
  LanguageID = 'Default'
  OpenFile = False
  OutlineSettings.CreateNode = True
  OutlineSettings.CreatePageNodes = True
  OutlineSettings.Enabled = False
  OutlineSettings.Visible = False
  ThumbnailSettings.Enabled = True
  ThumbnailSettings.Visible = True
  ThumbnailSettings.DeadSpace = 30
  ThumbnailSettings.PageHighlight.Width = 3
  PDFSettings.EmbedFontOptions = []
  PDFSettings.EncryptSettings.AllowCopy = True
  PDFSettings.EncryptSettings.AllowInteract = True
  PDFSettings.EncryptSettings.AllowModify = True
  PDFSettings.EncryptSettings.AllowPrint = True
  PDFSettings.EncryptSettings.AllowExtract = True
  PDFSettings.EncryptSettings.AllowAssemble = True
  PDFSettings.EncryptSettings.AllowQualityPrint = True
  PDFSettings.EncryptSettings.Enabled = False
  PDFSettings.EncryptSettings.KeyLength = kl40Bit
  PDFSettings.EncryptSettings.EncryptionType = etRC4
  PDFSettings.FontEncoding = feUnicode
  PDFSettings.ImageCompressionLevel = 25
  PDFSettings.PDFAFormat = pafNone
  PreviewFormSettings.PageBorder.mmPadding = 0
  PreviewFormSettings.WindowState = wsMaximized
  PreviewFormSettings.ZoomSetting = zsPageWidth
  RTFSettings.DefaultFont.Charset = DEFAULT_CHARSET
  RTFSettings.DefaultFont.Color = clWindowText
  RTFSettings.DefaultFont.Height = -13
  RTFSettings.DefaultFont.Name = 'Arial'
  RTFSettings.DefaultFont.Style = []
  TextFileName = '($MyDocuments)\Report.pdf'
  TextSearchSettings.DefaultString = '<FindText>'
  TextSearchSettings.Enabled = True
  XLSSettings.AppName = 'ReportBuilder'
  XLSSettings.Author = 'ReportBuilder'
  XLSSettings.ExportComponents = [ecText, ecLine, ecImage, ecRichText, ecBarCode, ecOther]
  XLSSettings.Subject = 'Report'
  XLSSettings.Title = 'Report'
  XLSSettings.WorksheetName = 'Report'
  Version = '19.02'
  mmColumnWidth = 0
  DataPipelineName = 'Main'
  object ppHeaderBand2: TppHeaderBand
    Background.Brush.Style = bsClear
    Border.mmPadding = 0
    PrintHeight = phDynamic
    mmBottomOffset = 0
    mmHeight = 103188
    mmPrintPosition = 0
    object ppShape3: TppShape
      DesignLayer = ppDesignLayer1
      UserName = 'Shape3'
      mmHeight = 9790
      mmLeft = 794
      mmTop = 85202
      mmWidth = 195792
      BandType = 0
      LayerName = Foreground
    end
    object ppShape1: TppShape
      DesignLayer = ppDesignLayer1
      UserName = 'Shape1'
      mmHeight = 35719
      mmLeft = 265
      mmTop = 43133
      mmWidth = 195527
      BandType = 0
      LayerName = Foreground
    end
    object DBImage1: TppDBImage
      DesignLayer = ppDesignLayer1
      UserName = 'DBImage1'
      AlignHorizontal = ahCenter
      AlignVertical = avCenter
      MaintainAspectRatio = False
      Stretch = True
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'Logo'
      DataPipeline = Profile
      GraphicType = 'Bitmap'
      ParentDataPipeline = False
      DataPipelineName = 'Profile'
      mmHeight = 25400
      mmLeft = 794
      mmTop = 3175
      mmWidth = 25400
      BandType = 0
      LayerName = Foreground
    end
    object DBText1: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText1'
      AutoSize = True
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'DocNo'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 14
      Font.Style = [fsBold]
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 5927
      mmLeft = 148689
      mmTop = 35725
      mmWidth = 30198
      BandType = 0
      LayerName = Foreground
    end
    object Label1: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label1'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'NO'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 14
      Font.Style = [fsBold]
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 5927
      mmLeft = 135996
      mmTop = 35725
      mmWidth = 7620
      BandType = 0
      LayerName = Foreground
    end
    object Label2: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label2'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'INVOICE'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 16
      Font.Style = [fsBold, fsUnderline]
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taCentered
      Transparent = True
      mmHeight = 6614
      mmLeft = 86784
      mmTop = 35719
      mmWidth = 24606
      BandType = 0
      LayerName = Foreground
    end
    object DBText2: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText2'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'Address2'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 10319
      mmTop = 53981
      mmWidth = 101600
      BandType = 0
      LayerName = Foreground
    end
    object DBText3: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText3'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'Address3'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 10319
      mmTop = 58743
      mmWidth = 101600
      BandType = 0
      LayerName = Foreground
    end
    object DBText5: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText5'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'Address4'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 10319
      mmTop = 63506
      mmWidth = 101600
      BandType = 0
      LayerName = Foreground
    end
    object DBText6: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText6'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'Attention'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 22490
      mmTop = 68268
      mmWidth = 89959
      BandType = 0
      LayerName = Foreground
    end
    object Label5: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label5'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Terms'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 4234
      mmLeft = 112448
      mmTop = 64029
      mmWidth = 9789
      BandType = 0
      LayerName = Foreground
    end
    object Label6: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label6'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Invoice Date '
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 4233
      mmLeft = 112448
      mmTop = 45514
      mmWidth = 20108
      BandType = 0
      LayerName = Foreground
    end
    object DBText9: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText9'
      AutoSize = True
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'Terms'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 135996
      mmTop = 63506
      mmWidth = 11571
      BandType = 0
      LayerName = Foreground
    end
    object DBText10: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText10'
      AutoSize = True
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'DocDate'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 135996
      mmTop = 45514
      mmWidth = 18627
      BandType = 0
      LayerName = Foreground
    end
    object Label28: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label28'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = ':'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 16
      Font.Style = [fsBold]
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taRightJustified
      Transparent = True
      mmHeight = 6773
      mmLeft = 144985
      mmTop = 35725
      mmWidth = 2117
      BandType = 0
      LayerName = Foreground
    end
    object DBText12: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText12'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'Address1'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 10319
      mmTop = 49218
      mmWidth = 101600
      BandType = 0
      LayerName = Foreground
    end
    object Label12: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label12'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Tel   :'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 4233
      mmLeft = 10319
      mmTop = 73031
      mmWidth = 9454
      BandType = 0
      LayerName = Foreground
    end
    object Label17: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label17'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Fax :'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 4233
      mmLeft = 64823
      mmTop = 73031
      mmWidth = 7761
      BandType = 0
      LayerName = Foreground
    end
    object DBText17: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText7'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'Phone1'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 22490
      mmTop = 73031
      mmWidth = 38100
      BandType = 0
      LayerName = Foreground
    end
    object DBText18: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText18'
      AutoSize = True
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'Fax1'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 74613
      mmTop = 73031
      mmWidth = 847
      BandType = 0
      LayerName = Foreground
    end
    object ppLabel1: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label7'
      AutoSize = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'ITEM'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 9
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taCentered
      Transparent = True
      mmHeight = 3810
      mmLeft = 794
      mmTop = 87848
      mmWidth = 12171
      BandType = 0
      LayerName = Foreground
    end
    object Label31: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label31'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'DESCRIPTION'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 9
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 3704
      mmLeft = 44186
      mmTop = 87848
      mmWidth = 23548
      BandType = 0
      LayerName = Foreground
    end
    object Label33: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label33'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'QUANTITY'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 9
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 3704
      mmLeft = 110328
      mmTop = 87842
      mmWidth = 17198
      BandType = 0
      LayerName = Foreground
    end
    object Label41: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label41'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'AMOUNT'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 9
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taRightJustified
      Transparent = True
      mmHeight = 3704
      mmLeft = 177271
      mmTop = 87848
      mmWidth = 15610
      BandType = 0
      LayerName = Foreground
    end
    object ppLabel2: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label8'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Attn :'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 4233
      mmLeft = 10319
      mmTop = 68263
      mmWidth = 8466
      BandType = 0
      LayerName = Foreground
    end
    object ppLabel3: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label3'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Your P/O No'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 4233
      mmLeft = 112448
      mmTop = 54775
      mmWidth = 20108
      BandType = 0
      LayerName = Foreground
    end
    object ppLabel4: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label9'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Due Date '
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 4233
      mmLeft = 112448
      mmTop = 72237
      mmWidth = 20108
      BandType = 0
      LayerName = Foreground
    end
    object ppLabel5: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label10'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'M/S'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = [fsBold]
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taCentered
      Transparent = True
      mmHeight = 4233
      mmLeft = 1191
      mmTop = 44720
      mmWidth = 7408
      BandType = 0
      LayerName = Foreground
    end
    object DBText4: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText4'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'CompanyName'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = [fsBold]
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 10319
      mmTop = 44456
      mmWidth = 101600
      BandType = 0
      LayerName = Foreground
    end
    object ppDBText9: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText8'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'DocNoEx'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 135996
      mmTop = 54775
      mmWidth = 47361
      BandType = 0
      LayerName = Foreground
    end
    object ppLine1: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line1'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Position = lpLeft
      Weight = 0.750000000000000000
      mmHeight = 36513
      mmLeft = 110596
      mmTop = 42339
      mmWidth = 7408
      BandType = 0
      LayerName = Foreground
    end
    object ppLine3: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line4'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Weight = 0.750000000000000000
      mmHeight = 1588
      mmLeft = 110597
      mmTop = 61389
      mmWidth = 84931
      BandType = 0
      LayerName = Foreground
    end
    object ppLine5: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line5'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Weight = 0.750000000000000000
      mmHeight = 1058
      mmLeft = 110861
      mmTop = 70121
      mmWidth = 84931
      BandType = 0
      LayerName = Foreground
    end
    object ppLine2: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line3'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Weight = 0.750000000000000000
      mmHeight = 1588
      mmLeft = 110861
      mmTop = 52658
      mmWidth = 84931
      BandType = 0
      LayerName = Foreground
    end
    object ppLine6: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line6'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Position = lpLeft
      Weight = 0.750000000000000000
      mmHeight = 35719
      mmLeft = 134409
      mmTop = 43133
      mmWidth = 5292
      BandType = 0
      LayerName = Foreground
    end
    object ppLine4: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line7'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Position = lpLeft
      Weight = 0.750000000000000000
      mmHeight = 9790
      mmLeft = 11377
      mmTop = 85202
      mmWidth = 9790
      BandType = 0
      LayerName = Foreground
    end
    object ppLine7: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line8'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Position = lpLeft
      Weight = 0.750000000000000000
      mmHeight = 9790
      mmLeft = 103981
      mmTop = 85202
      mmWidth = 3969
      BandType = 0
      LayerName = Foreground
    end
    object ppLine10: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line13'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Position = lpLeft
      Weight = 0.750000000000000000
      mmHeight = 9790
      mmLeft = 128852
      mmTop = 85202
      mmWidth = 5821
      BandType = 0
      LayerName = Foreground
    end
    object ppLine11: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line15'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Position = lpLeft
      Weight = 0.750000000000000000
      mmHeight = 9790
      mmLeft = 154517
      mmTop = 85202
      mmWidth = 4233
      BandType = 0
      LayerName = Foreground
    end
    object ppLine12: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line16'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Position = lpLeft
      Weight = 0.750000000000000000
      mmHeight = 9790
      mmLeft = 174625
      mmTop = 85202
      mmWidth = 3704
      BandType = 0
      LayerName = Foreground
    end
    object ppVariable1: TppVariable
      DesignLayer = ppDesignLayer1
      UserName = 'Variable2'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      BlankWhenZero = False
      CalcOrder = 0
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      Transparent = True
      mmHeight = 4233
      mmLeft = 135996
      mmTop = 71973
      mmWidth = 14552
      BandType = 0
      LayerName = Foreground
    end
    object ppDBRichText2: TppDBRichText
      DesignLayer = ppDesignLayer1
      UserName = 'DBRichText2'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Name = 'Tahoma'
      Font.Size = 8
      Font.Style = []
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      ExportRTFAsBitmap = False
      DataField = 'Note'
      DataPipeline = Main
      RemoveEmptyLines = False
      Stretch = True
      DataPipelineName = 'Main'
      mmHeight = 6879
      mmLeft = 11906
      mmTop = 96309
      mmWidth = 184944
      BandType = 0
      LayerName = Foreground
      mmBottomOffset = 0
      mmOverFlowOffset = 0
      mmStopPosition = 0
      mmMinHeight = 0
      mmLeftMargin = 794
    end
    object ppDBText13: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText17'
      Border.mmPadding = 0
      DataPipeline = Document_Detail
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 9
      Font.Style = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Document_Detail'
      mmHeight = 4498
      mmLeft = 180446
      mmTop = 12171
      mmWidth = 17198
      BandType = 0
      LayerName = Foreground
    end
    object DBRichText1: TppDBRichText
      DesignLayer = ppDesignLayer1
      UserName = 'DBRichText1'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 8
      Font.Style = []
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      ExportRTFAsBitmap = False
      DataField = 'Note'
      DataPipeline = Profile
      ParentDataPipeline = False
      RemoveEmptyLines = False
      DataPipelineName = 'Profile'
      mmHeight = 30956
      mmLeft = 28575
      mmTop = 3175
      mmWidth = 144727
      BandType = 0
      LayerName = Foreground
      mmBottomOffset = 0
      mmOverFlowOffset = 0
      mmStopPosition = 0
      mmMinHeight = 0
      mmLeftMargin = 794
    end
    object ppLabel17: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label25'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'UNIT PRICE'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 9
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 3704
      mmLeft = 133880
      mmTop = 87842
      mmWidth = 16933
      BandType = 0
      LayerName = Foreground
    end
    object ppLabel13: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label4'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'TAX AMT'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 9
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 3704
      mmLeft = 157694
      mmTop = 87842
      mmWidth = 13758
      BandType = 0
      LayerName = Foreground
    end
  end
  object ppDetailBand2: TppDetailBand
    Background1.Brush.Style = bsClear
    Background2.Brush.Style = bsClear
    Border.mmPadding = 0
    PrintHeight = phDynamic
    mmBottomOffset = 0
    mmHeight = 9790
    mmPrintPosition = 0
    object ppSubReport1: TppSubReport
      DesignLayer = ppDesignLayer1
      UserName = 'SubRptNorm'
      ExpandAll = False
      NewPrintJob = False
      OutlineSettings.CreateNode = True
      TraverseAllData = False
      DataPipelineName = 'Document_Detail'
      mmHeight = 5027
      mmLeft = 0
      mmTop = 0
      mmWidth = 196850
      BandType = 4
      LayerName = Foreground
      mmBottomOffset = 0
      mmOverFlowOffset = 0
      mmStopPosition = 0
      mmMinHeight = 0
      object ppChildReport1: TppChildReport
        AutoStop = False
        DataPipeline = Document_Detail
        PrinterSetup.BinName = 'Default'
        PrinterSetup.DocumentName = 'SQL Financial Accounting: 0PCH - Sales Invoice'
        PrinterSetup.Duplex = dpNone
        PrinterSetup.PaperName = 'Letter 8.5"x11" 22x28cm'
        PrinterSetup.PrinterName = 'Default'
        PrinterSetup.SaveDeviceSettings = False
        PrinterSetup.mmMarginBottom = 6350
        PrinterSetup.mmMarginLeft = 6350
        PrinterSetup.mmMarginRight = 12700
        PrinterSetup.mmMarginTop = 6350
        PrinterSetup.mmPaperHeight = 279401
        PrinterSetup.mmPaperWidth = 215900
        PrinterSetup.PaperSize = 1
        Template.DatabaseSettings.NameField = 'Name'
        Template.DatabaseSettings.TemplateField = 'Template'
        Template.SaveTo = stDatabase
        Template.Format = ftASCII
        Version = '19.02'
        mmColumnWidth = 0
        DataPipelineName = 'Document_Detail'
        object ppDetailBand3: TppDetailBand
          Background1.Brush.Style = bsClear
          Background2.Brush.Style = bsClear
          Border.mmPadding = 0
          PrintHeight = phDynamic
          mmBottomOffset = 0
          mmHeight = 5821
          mmPrintPosition = 0
          object ppDBRichText1: TppDBRichText
            DesignLayer = ppDesignLayer2
            UserName = 'DBRichText1'
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clWindowText
            Font.Name = 'Tahoma'
            Font.Size = 8
            Font.Style = []
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            ExportRTFAsBitmap = False
            DataField = 'Description3'
            DataPipeline = Document_Detail
            RemoveEmptyLines = False
            ShiftRelativeTo = DBMemo1
            Stretch = True
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 1588
            mmLeft = 17198
            mmTop = 4233
            mmWidth = 175414
            BandType = 4
            LayerName = Foreground1
            mmBottomOffset = 0
            mmOverFlowOffset = 0
            mmStopPosition = 0
            mmMinHeight = 0
            mmLeftMargin = 794
          end
          object DBMemo1: TppDBMemo
            DesignLayer = ppDesignLayer2
            UserName = 'DBMemo1'
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            CharWrap = False
            DataField = 'Description'
            DataPipeline = Document_Detail
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            ParentDataPipeline = False
            RemoveEmptyLines = False
            Stretch = True
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 4233
            mmLeft = 17198
            mmTop = 794
            mmWidth = 85461
            BandType = 4
            LayerName = Foreground1
            mmBottomOffset = 0
            mmOverFlowOffset = 0
            mmStopPosition = 0
            mmMinHeight = 0
            mmLeading = 0
          end
          object ppDBText2: TppDBText
            DesignLayer = ppDesignLayer2
            UserName = 'DBText7'
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'Qty'
            DataPipeline = Document_Detail
            DisplayFormat = '#,0.00;-#,0.00'
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            ParentDataPipeline = False
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 3969
            mmLeft = 105268
            mmTop = 794
            mmWidth = 16140
            BandType = 4
            LayerName = Foreground1
          end
          object ppDBText4: TppDBText
            DesignLayer = ppDesignLayer2
            UserName = 'DBText9'
            BlankWhenZero = True
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'AmountWithTax'
            DataPipeline = Document_Detail
            DisplayFormat = '#,0.00;-#,0.00'
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            ParentDataPipeline = False
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 3704
            mmLeft = 177536
            mmTop = 794
            mmWidth = 17198
            BandType = 4
            LayerName = Foreground1
          end
          object DBCalc1: TppDBCalc
            DesignLayer = ppDesignLayer2
            UserName = 'DBCalc1'
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'Number'
            DataPipeline = Document_Detail
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            TextAlignment = taCentered
            Transparent = True
            DBCalcType = dcCount
            DataPipelineName = 'Document_Detail'
            mmHeight = 3951
            mmLeft = 0
            mmTop = 1323
            mmWidth = 12171
            BandType = 4
            LayerName = Foreground1
          end
          object ppDBText1: TppDBText
            DesignLayer = ppDesignLayer2
            UserName = 'DBText2'
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'UOM'
            DataPipeline = Document_Detail
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 3969
            mmLeft = 122466
            mmTop = 794
            mmWidth = 11899
            BandType = 4
            LayerName = Foreground1
          end
          object ppDBText3: TppDBText
            DesignLayer = ppDesignLayer2
            UserName = 'DBText3'
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'UnitPrice'
            DataPipeline = Document_Detail
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 3969
            mmLeft = 133846
            mmTop = 794
            mmWidth = 17198
            BandType = 4
            LayerName = Foreground1
          end
          object ppDBText6: TppDBText
            DesignLayer = ppDesignLayer2
            UserName = 'DBText1'
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'LocalTaxAmt'
            DataPipeline = Document_Detail
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 3969
            mmLeft = 155577
            mmTop = 794
            mmWidth = 17198
            BandType = 4
            LayerName = Foreground1
          end
        end
        object raCodeModule2: TraCodeModule
        end
        object ppDesignLayers2: TppDesignLayers
          object ppDesignLayer2: TppDesignLayer
            UserName = 'Foreground1'
            LayerType = ltBanded
            Index = 0
          end
        end
      end
    end
    object ppSubReport2: TppSubReport
      DesignLayer = ppDesignLayer1
      UserName = 'SubRptMerge'
      ExpandAll = False
      NewPrintJob = False
      OutlineSettings.CreateNode = True
      ShiftRelativeTo = ppSubReport1
      TraverseAllData = False
      Visible = False
      DataPipelineName = 'plSQL_2'
      mmHeight = 5027
      mmLeft = 0
      mmTop = 4763
      mmWidth = 196850
      BandType = 4
      LayerName = Foreground
      mmBottomOffset = 0
      mmOverFlowOffset = 0
      mmStopPosition = 0
      mmMinHeight = 0
      object ppChildReport2: TppChildReport
        AutoStop = False
        DataPipeline = plSQL_2
        PrinterSetup.BinName = 'Default'
        PrinterSetup.DocumentName = 'SQL Financial Accounting: 0PCH - Sales Invoice'
        PrinterSetup.Duplex = dpNone
        PrinterSetup.PaperName = 'Letter 8.5"x11" 22x28cm'
        PrinterSetup.PrinterName = 'Default'
        PrinterSetup.SaveDeviceSettings = False
        PrinterSetup.mmMarginBottom = 6350
        PrinterSetup.mmMarginLeft = 6350
        PrinterSetup.mmMarginRight = 12700
        PrinterSetup.mmMarginTop = 6350
        PrinterSetup.mmPaperHeight = 279401
        PrinterSetup.mmPaperWidth = 215900
        PrinterSetup.PaperSize = 1
        Template.DatabaseSettings.NameField = 'Name'
        Template.DatabaseSettings.TemplateField = 'Template'
        Template.SaveTo = stDatabase
        Template.Format = ftASCII
        Version = '19.02'
        mmColumnWidth = 0
        DataPipelineName = 'plSQL_2'
        object ppDetailBand1: TppDetailBand
          Background1.Brush.Style = bsClear
          Background2.Brush.Style = bsClear
          Border.mmPadding = 0
          PrintHeight = phDynamic
          mmBottomOffset = 0
          mmHeight = 5821
          mmPrintPosition = 0
          object ppDBRichText3: TppDBRichText
            DesignLayer = ppDesignLayer3
            UserName = 'DBRichText3'
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clWindowText
            Font.Name = 'Tahoma'
            Font.Size = 8
            Font.Style = []
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            ExportRTFAsBitmap = False
            DataField = 'Description3'
            DataPipeline = plSQL_3
            ParentDataPipeline = False
            RemoveEmptyLines = False
            ShiftRelativeTo = ppDBMemo1
            Stretch = True
            Transparent = True
            DataPipelineName = 'plSQL_3'
            mmHeight = 1588
            mmLeft = 17198
            mmTop = 4233
            mmWidth = 175414
            BandType = 4
            LayerName = Foreground2
            mmBottomOffset = 0
            mmOverFlowOffset = 0
            mmStopPosition = 0
            mmMinHeight = 0
            mmLeftMargin = 794
          end
          object ppDBMemo1: TppDBMemo
            DesignLayer = ppDesignLayer3
            UserName = 'DBMemo2'
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            CharWrap = False
            DataField = 'Description'
            DataPipeline = plSQL_3
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            ParentDataPipeline = False
            RemoveEmptyLines = False
            Stretch = True
            Transparent = True
            DataPipelineName = 'plSQL_3'
            mmHeight = 4233
            mmLeft = 17198
            mmTop = 794
            mmWidth = 85461
            BandType = 4
            LayerName = Foreground2
            mmBottomOffset = 0
            mmOverFlowOffset = 0
            mmStopPosition = 0
            mmMinHeight = 0
            mmLeading = 0
          end
          object ppDBText10: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBTxtQty'
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'Qty'
            DataPipeline = plSQL_2
            DisplayFormat = '#,0.00;-#,0.00'
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            ParentDataPipeline = False
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'plSQL_2'
            mmHeight = 3969
            mmLeft = 105304
            mmTop = 794
            mmWidth = 16140
            BandType = 4
            LayerName = Foreground2
          end
          object ppDBText12: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBTxtLocalAmtWithTax'
            BlankWhenZero = True
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'LocalAmountWithTax'
            DataPipeline = plSQL_2
            DisplayFormat = '#,0.00;-#,0.00'
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            ParentDataPipeline = False
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'plSQL_2'
            mmHeight = 3704
            mmLeft = 177536
            mmTop = 794
            mmWidth = 17198
            BandType = 4
            LayerName = Foreground2
          end
          object ppDBCalc1: TppDBCalc
            DesignLayer = ppDesignLayer3
            UserName = 'DBCalc1'
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'Number'
            DataPipeline = plSQL_2
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            TextAlignment = taCentered
            Transparent = True
            DBCalcType = dcCount
            DataPipelineName = 'plSQL_2'
            mmHeight = 3969
            mmLeft = 0
            mmTop = 794
            mmWidth = 12171
            BandType = 4
            LayerName = Foreground2
          end
          object ppDBText15: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBText3'
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'UOM'
            DataPipeline = plSQL_2
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            ParentDataPipeline = False
            Transparent = True
            DataPipelineName = 'plSQL_2'
            mmHeight = 3969
            mmLeft = 122502
            mmTop = 794
            mmWidth = 11899
            BandType = 4
            LayerName = Foreground2
          end
          object ppDBText16: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBTxtUPrice'
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'UnitPrice'
            DataPipeline = plSQL_2
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'plSQL_2'
            mmHeight = 3969
            mmLeft = 133879
            mmTop = 794
            mmWidth = 17198
            BandType = 4
            LayerName = Foreground2
          end
          object ppDBText17: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBTxtLocalTaxAmt'
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'LocalTaxAmt'
            DataPipeline = plSQL_2
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'plSQL_2'
            mmHeight = 3969
            mmLeft = 155575
            mmTop = 794
            mmWidth = 17198
            BandType = 4
            LayerName = Foreground2
          end
        end
        object raCodeModule3: TraCodeModule
          object raProgramInfo1: TraProgramInfo
            raClassName = 'TraEventHandler'
            raProgram.ProgramName = 'DetailBeforePrint'
            raProgram.ProgramType = ttProcedure
            raProgram.Source = 
              'procedure DetailBeforePrint;'#13#10'begin'#13#10'  DBTxtQty.DisplayFormat   ' +
              '          := Option.GetFieldValue('#39'StockQuantityDisplayFormat'#39');' +
              #13#10'  DBTxtUPrice.DisplayFormat          := Option.GetFieldValue('#39 +
              'StockPriceDisplayFormat'#39');'#13#10'  DBTxtLocalAmtWithTax.DisplayFormat' +
              ' := Option.GetFieldValue('#39'AccountingValueDisplayFormat'#39');'#13#10'  DBT' +
              'xtLocalTaxAmt.DisplayFormat := Option.GetFieldValue('#39'AccountingV' +
              'alueDisplayFormat'#39');'#13#10'end;'#13#10
            raProgram.ComponentName = 'Detail'
            raProgram.EventName = 'BeforePrint'
            raProgram.EventID = 24
            raProgram.CaretPos = (
              89
              4)
          end
        end
        object ppDesignLayers3: TppDesignLayers
          object ppDesignLayer3: TppDesignLayer
            UserName = 'Foreground2'
            LayerType = ltBanded
            Index = 0
          end
        end
      end
    end
  end
  object ppFooterBand3: TppFooterBand
    Background.Brush.Style = bsClear
    Border.mmPadding = 0
    mmBottomOffset = 0
    mmHeight = 0
    mmPrintPosition = 0
  end
  object ppGroup1: TppGroup
    BreakName = 'DocKey'
    DataPipeline = Main
    GroupFileSettings.NewFile = False
    GroupFileSettings.EmailFile = False
    OutlineSettings.CreateNode = True
    NewPage = True
    ResetPageNo = True
    StartOnOddPage = False
    UserName = 'Group1'
    mmNewColumnThreshold = 0
    mmNewPageThreshold = 0
    DataPipelineName = 'Main'
    NewFile = False
    object ppGroupHeaderBand1: TppGroupHeaderBand
      Background.Brush.Style = bsClear
      Border.mmPadding = 0
      mmBottomOffset = 0
      mmHeight = 0
      mmPrintPosition = 0
    end
    object ppGroupFooterBand1: TppGroupFooterBand
      Background.Brush.Style = bsClear
      Border.mmPadding = 0
      PrintHeight = phDynamic
      HideWhenOneDetail = False
      mmBottomOffset = 0
      mmHeight = 50536
      mmPrintPosition = 203200
      object ppVariable3: TppVariable
        DesignLayer = ppDesignLayer1
        UserName = 'Variable3'
        AutoSize = False
        Border.mmPadding = 0
        BlankWhenZero = False
        CalcOrder = 1
        DataType = dtDouble
        DisplayFormat = '#,0.00;-#,0.00'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        TextAlignment = taRightJustified
        Transparent = True
        mmHeight = 3704
        mmLeft = 173562
        mmTop = 3165
        mmWidth = 21960
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppVariable6: TppVariable
        DesignLayer = ppDesignLayer1
        UserName = 'Variable6'
        Anchors = [atLeft, atRight]
        AutoSize = False
        Border.mmPadding = 0
        BlankWhenZero = False
        CalcOrder = 2
        DataType = dtDouble
        DisplayFormat = '#,0.00;-#,0.00'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        TextAlignment = taRightJustified
        Transparent = True
        mmHeight = 3704
        mmLeft = 173561
        mmTop = 8192
        mmWidth = 21960
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppVariable2: TppVariable
        DesignLayer = ppDesignLayer1
        UserName = 'Variable1'
        Anchors = [atLeft, atRight]
        AutoSize = False
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        BlankWhenZero = False
        CalcOrder = 0
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 8
        Font.Style = []
        Transparent = True
        WordWrap = True
        mmHeight = 9260
        mmLeft = 1323
        mmTop = 530
        mmWidth = 124354
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppLabel14: TppLabel
        DesignLayer = ppDesignLayer1
        UserName = 'Label22'
        Border.mmPadding = 0
        Caption = 'Total Excl.Tax'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
        FormFieldSettings.FormFieldType = fftNone
        Transparent = True
        mmHeight = 3704
        mmLeft = 137848
        mmTop = 3175
        mmWidth = 20373
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppLabel15: TppLabel
        DesignLayer = ppDesignLayer1
        UserName = 'Label23'
        Border.mmPadding = 0
        Caption = 'Tax Amt '
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
        FormFieldSettings.FormFieldType = fftNone
        Transparent = True
        mmHeight = 3704
        mmLeft = 137848
        mmTop = 8202
        mmWidth = 13494
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppLabel16: TppLabel
        DesignLayer = ppDesignLayer1
        UserName = 'Label24'
        Border.mmPadding = 0
        Caption = 'Total Payable Incl.Tax'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
        FormFieldSettings.FormFieldType = fftNone
        Transparent = True
        mmHeight = 3704
        mmLeft = 128588
        mmTop = 14023
        mmWidth = 31750
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppLine9: TppLine
        DesignLayer = ppDesignLayer1
        UserName = 'Line10'
        Border.mmPadding = 0
        Weight = 0.750000000000000000
        mmHeight = 2117
        mmLeft = 1323
        mmTop = 529
        mmWidth = 196850
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppDBText5: TppDBText
        DesignLayer = ppDesignLayer1
        UserName = 'DBText11'
        Border.mmPadding = 0
        DataField = 'DocAmt'
        DataPipeline = Main
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        TextAlignment = taRightJustified
        Transparent = True
        DataPipelineName = 'Main'
        mmHeight = 4498
        mmLeft = 173832
        mmTop = 13748
        mmWidth = 21696
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppDBText7: TppDBText
        DesignLayer = ppDesignLayer1
        UserName = 'DBText14'
        Border.mmPadding = 0
        DataField = 'Symbol'
        DataPipeline = Document_Currency
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        ParentDataPipeline = False
        TextAlignment = taCentered
        Transparent = True
        DataPipelineName = 'Document_Currency'
        mmHeight = 4498
        mmLeft = 161132
        mmTop = 3165
        mmWidth = 12171
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppDBText11: TppDBText
        DesignLayer = ppDesignLayer1
        UserName = 'DBText15'
        Border.mmPadding = 0
        DataField = 'Symbol'
        DataPipeline = Document_Currency
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        ParentDataPipeline = False
        TextAlignment = taCentered
        Transparent = True
        DataPipelineName = 'Document_Currency'
        mmHeight = 4498
        mmLeft = 161132
        mmTop = 8192
        mmWidth = 12171
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppDBText14: TppDBText
        DesignLayer = ppDesignLayer1
        UserName = 'DBText19'
        Border.mmPadding = 0
        DataField = 'Symbol'
        DataPipeline = Document_Currency
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        ParentDataPipeline = False
        TextAlignment = taCentered
        Transparent = True
        DataPipelineName = 'Document_Currency'
        mmHeight = 4498
        mmLeft = 161132
        mmTop = 14013
        mmWidth = 12965
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppLine15: TppLine
        DesignLayer = ppDesignLayer1
        UserName = 'Line11'
        Border.mmPadding = 0
        Weight = 0.750000000000000000
        mmHeight = 1323
        mmLeft = 173299
        mmTop = 12167
        mmWidth = 22757
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppSubReport3: TppSubReport
        DesignLayer = ppDesignLayer1
        UserName = 'SubReport1'
        ExpandAll = False
        NewPrintJob = False
        OutlineSettings.CreateNode = True
        ParentPrinterSetup = False
        ParentWidth = False
        TraverseAllData = False
        DataPipelineName = 'plSQL_5'
        mmHeight = 5027
        mmLeft = 0
        mmTop = 13746
        mmWidth = 124619
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
        mmBottomOffset = 0
        mmOverFlowOffset = 0
        mmStopPosition = 0
        mmMinHeight = 0
        object ppChildReport3: TppChildReport
          AutoStop = False
          DataPipeline = plSQL_5
          PrinterSetup.BinName = 'Report[Partial cut]'
          PrinterSetup.DocumentName = 'SQL Financial Accounting: Sales Cash Sales 6 - Receipt'
          PrinterSetup.Duplex = dpNone
          PrinterSetup.PaperName = 'Custom'
          PrinterSetup.PrinterName = 'Default'
          PrinterSetup.SaveDeviceSettings = False
          PrinterSetup.mmMarginBottom = 0
          PrinterSetup.mmMarginLeft = 0
          PrinterSetup.mmMarginRight = 0
          PrinterSetup.mmMarginTop = 0
          PrinterSetup.mmPaperHeight = 297127
          PrinterSetup.mmPaperWidth = 63500
          PrinterSetup.PaperSize = 140
          Template.DatabaseSettings.NameField = 'Name'
          Template.DatabaseSettings.TemplateField = 'Template'
          Template.SaveTo = stDatabase
          Template.Format = ftASCII
          Version = '19.02'
          mmColumnWidth = 0
          DataPipelineName = 'plSQL_5'
          object ppTitleBand3: TppTitleBand
            Background.Brush.Style = bsClear
            Border.mmPadding = 0
            mmBottomOffset = 0
            mmHeight = 9790
            mmPrintPosition = 0
            object ppShape4: TppShape
              DesignLayer = ppDesignLayer4
              UserName = 'Shape1'
              Pen.Style = psDot
              mmHeight = 9254
              mmLeft = 2646
              mmTop = 528
              mmWidth = 58206
              BandType = 1
              LayerName = Foreground3
            end
            object ppMemo3: TppMemo
              DesignLayer = ppDesignLayer4
              UserName = 'Memo3'
              Border.mmPadding = 0
              Caption = 'Memo3'
              CharWrap = False
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Name = 'Microsoft Sans Serif'
              Font.Size = 8
              Font.Style = []
              Lines.Strings = (
                'Amount'
                '(RM)')
              RemoveEmptyLines = False
              TextAlignment = taRightJustified
              Transparent = True
              mmHeight = 8202
              mmLeft = 30689
              mmTop = 1058
              mmWidth = 12965
              BandType = 1
              LayerName = Foreground3
              mmBottomOffset = 0
              mmOverFlowOffset = 0
              mmStopPosition = 0
              mmMinHeight = 0
              mmLeading = 0
            end
            object ppMemo4: TppMemo
              DesignLayer = ppDesignLayer4
              UserName = 'Memo4'
              Border.mmPadding = 0
              Caption = 'Memo4'
              CharWrap = False
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Name = 'Microsoft Sans Serif'
              Font.Size = 8
              Font.Style = []
              Lines.Strings = (
                'Tax'
                '(RM)')
              RemoveEmptyLines = False
              TextAlignment = taRightJustified
              Transparent = True
              mmHeight = 8202
              mmLeft = 51082
              mmTop = 1058
              mmWidth = 8731
              BandType = 1
              LayerName = Foreground3
              mmBottomOffset = 0
              mmOverFlowOffset = 0
              mmStopPosition = 0
              mmMinHeight = 0
              mmLeading = 0
            end
            object ppMemo1: TppMemo
              DesignLayer = ppDesignLayer4
              UserName = 'Memo1'
              Border.mmPadding = 0
              Caption = 'Memo1'
              CharWrap = False
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Name = 'Microsoft Sans Serif'
              Font.Size = 8
              Font.Style = []
              Lines.Strings = (
                'Tax'
                'Summary)')
              RemoveEmptyLines = False
              Transparent = True
              mmHeight = 8202
              mmLeft = 4237
              mmTop = 1058
              mmWidth = 12965
              BandType = 1
              LayerName = Foreground3
              mmBottomOffset = 0
              mmOverFlowOffset = 0
              mmStopPosition = 0
              mmMinHeight = 0
              mmLeading = 0
            end
          end
          object ppDetailBand4: TppDetailBand
            Background1.Brush.Style = bsClear
            Background2.Brush.Style = bsClear
            Border.mmPadding = 0
            mmBottomOffset = 0
            mmHeight = 5080
            mmPrintPosition = 0
            object ppShape5: TppShape
              DesignLayer = ppDesignLayer4
              UserName = 'Shape2'
              Pen.Style = psDot
              mmHeight = 5020
              mmLeft = 2649
              mmTop = 61
              mmWidth = 58202
              BandType = 4
              LayerName = Foreground3
            end
            object ppDBText20: TppDBText
              DesignLayer = ppDesignLayer4
              UserName = 'DBText20'
              Border.mmPadding = 0
              DataField = 'LocalAmount'
              DataPipeline = plSQL_5
              DisplayFormat = '#,0.00;-#,0.00'
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Name = 'Microsoft Sans Serif'
              Font.Size = 8
              Font.Style = []
              TextAlignment = taRightJustified
              Transparent = True
              DataPipelineName = 'plSQL_5'
              mmHeight = 4498
              mmLeft = 26456
              mmTop = 0
              mmWidth = 17198
              BandType = 4
              LayerName = Foreground3
            end
            object ppDBText21: TppDBText
              DesignLayer = ppDesignLayer4
              UserName = 'DBText201'
              Border.mmPadding = 0
              DataField = 'LocalTaxAmt'
              DataPipeline = plSQL_5
              DisplayFormat = '#,0.00;-#,0.00'
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Name = 'Microsoft Sans Serif'
              Font.Size = 8
              Font.Style = []
              TextAlignment = taRightJustified
              Transparent = True
              DataPipelineName = 'plSQL_5'
              mmHeight = 4498
              mmLeft = 47378
              mmTop = 0
              mmWidth = 12435
              BandType = 4
              LayerName = Foreground3
            end
            object ppLabel8: TppLabel
              DesignLayer = ppDesignLayer4
              UserName = 'lbRate'
              Border.mmPadding = 0
              Caption = 'lbRate'
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Name = 'Microsoft Sans Serif'
              Font.Size = 8
              Font.Style = []
              FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
              FormFieldSettings.FormFieldType = fftNone
              Transparent = True
              mmHeight = 3439
              mmLeft = 4237
              mmTop = 265
              mmWidth = 8202
              BandType = 4
              LayerName = Foreground3
            end
          end
          object ppSummaryBand4: TppSummaryBand
            Background.Brush.Style = bsClear
            Border.mmPadding = 0
            mmBottomOffset = 0
            mmHeight = 5292
            mmPrintPosition = 0
            object ppShape6: TppShape
              DesignLayer = ppDesignLayer4
              UserName = 'Shape3'
              Pen.Style = psDot
              mmHeight = 5027
              mmLeft = 2646
              mmTop = 0
              mmWidth = 58202
              BandType = 7
              LayerName = Foreground3
            end
            object ppDBCalc2: TppDBCalc
              DesignLayer = ppDesignLayer4
              UserName = 'DBCalc1'
              Border.mmPadding = 0
              DataField = 'LocalAmount'
              DataPipeline = plSQL_5
              DisplayFormat = '#,0.00;-#,0.00'
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Name = 'Microsoft Sans Serif'
              Font.Size = 8
              Font.Style = []
              TextAlignment = taRightJustified
              Transparent = True
              DataPipelineName = 'plSQL_5'
              mmHeight = 4498
              mmLeft = 24869
              mmTop = 794
              mmWidth = 18785
              BandType = 7
              LayerName = Foreground3
            end
            object ppDBCalc3: TppDBCalc
              DesignLayer = ppDesignLayer4
              UserName = 'DBCalc2'
              Border.mmPadding = 0
              DataField = 'LocalTaxAmt'
              DataPipeline = plSQL_5
              DisplayFormat = '#,0.00;-#,0.00'
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Name = 'Microsoft Sans Serif'
              Font.Size = 8
              Font.Style = []
              TextAlignment = taRightJustified
              Transparent = True
              DataPipelineName = 'plSQL_5'
              mmHeight = 4498
              mmLeft = 47378
              mmTop = 794
              mmWidth = 12435
              BandType = 7
              LayerName = Foreground3
            end
            object ppLabel10: TppLabel
              DesignLayer = ppDesignLayer4
              UserName = 'Label14'
              Border.mmPadding = 0
              Caption = 'Total'
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Name = 'Microsoft Sans Serif'
              Font.Size = 8
              Font.Style = []
              FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
              FormFieldSettings.FormFieldType = fftNone
              Transparent = True
              mmHeight = 3439
              mmLeft = 4237
              mmTop = 794
              mmWidth = 6350
              BandType = 7
              LayerName = Foreground3
            end
          end
          object raCodeModule4: TraCodeModule
            object raProgramInfo2: TraProgramInfo
              raClassName = 'TraEventHandler'
              raProgram.ProgramName = 'lbRateOnGetText'
              raProgram.ProgramType = ttProcedure
              raProgram.Source = 
                'procedure lbRateOnGetText(var Text: String);'#13#10'begin'#13#10#13#10'  '#13#10'  Tex' +
                't :=  plSQL_5.getfieldvalue('#39'Tax'#39') + '#39' @ '#39' +  plSQL_5.getfieldva' +
                'lue('#39'TaxRate'#39') ;'#13#10#13#10'end;'#13#10
              raProgram.ComponentName = 'lbRate'
              raProgram.EventName = 'OnGetText'
              raProgram.EventID = 53
            end
          end
          object ppDesignLayers4: TppDesignLayers
            object ppDesignLayer4: TppDesignLayer
              UserName = 'Foreground3'
              LayerType = ltBanded
              Index = 0
            end
          end
        end
      end
      object ppRegion1: TppRegion
        DesignLayer = ppDesignLayer1
        UserName = 'Region1'
        Brush.Style = bsClear
        Caption = 'Region1'
        ParentWidth = True
        Pen.Style = psClear
        ShiftRelativeTo = ppSubReport3
        Transparent = True
        mmHeight = 29897
        mmLeft = 0
        mmTop = 20625
        mmWidth = 196850
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
        mmBottomOffset = 0
        mmOverFlowOffset = 0
        mmStopPosition = 0
        mmMinHeight = 0
        object ppShape2: TppShape
          DesignLayer = ppDesignLayer1
          UserName = 'Shape2'
          mmHeight = 21960
          mmLeft = 1323
          mmTop = 22212
          mmWidth = 194202
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object Label16: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'Label16'
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Caption = 'Authorised Signature'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 9
          Font.Style = []
          FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
          FormFieldSettings.FormFieldType = fftNone
          Transparent = True
          mmHeight = 3704
          mmLeft = 90752
          mmTop = 38881
          mmWidth = 33867
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object Line12: TppLine
          DesignLayer = ppDesignLayer1
          UserName = 'Line12'
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Pen.Style = psDot
          Weight = 0.750000000000000000
          mmHeight = 2910
          mmLeft = 90752
          mmTop = 36235
          mmWidth = 73819
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLabel7: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'Label13'
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Caption = 'For'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 9
          Font.Style = []
          FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
          FormFieldSettings.FormFieldType = fftNone
          TextAlignment = taCentered
          Transparent = True
          mmHeight = 3440
          mmLeft = 90752
          mmTop = 23271
          mmWidth = 4498
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppDBText8: TppDBText
          DesignLayer = ppDesignLayer1
          UserName = 'DBText13'
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          DataField = 'CompanyName'
          DataPipeline = Profile
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 9
          Font.Style = [fsBold]
          ParentDataPipeline = False
          Transparent = True
          DataPipelineName = 'Profile'
          mmHeight = 3969
          mmLeft = 97896
          mmTop = 23271
          mmWidth = 61383
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLabel6: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'Label11'
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Caption = 'Issued By'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 9
          Font.Style = []
          FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
          FormFieldSettings.FormFieldType = fftNone
          TextAlignment = taCentered
          Transparent = True
          mmHeight = 3704
          mmLeft = 6879
          mmTop = 31208
          mmWidth = 17463
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLine13: TppLine
          DesignLayer = ppDesignLayer1
          UserName = 'Line17'
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Position = lpLeft
          Weight = 0.750000000000000000
          mmHeight = 21960
          mmLeft = 30163
          mmTop = 22212
          mmWidth = 3175
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLabel9: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'Label15'
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Caption = 'E. & O.E.'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 9
          Font.Style = []
          FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
          FormFieldSettings.FormFieldType = fftNone
          Transparent = True
          mmHeight = 3969
          mmLeft = 179388
          mmTop = 45230
          mmWidth = 13229
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLine8: TppLine
          DesignLayer = ppDesignLayer1
          UserName = 'Line9'
          Border.mmPadding = 0
          Position = lpLeft
          Weight = 0.750000000000000000
          mmHeight = 21960
          mmLeft = 86784
          mmTop = 22212
          mmWidth = 2381
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
      end
    end
  end
  object raCodeModule1: TraCodeModule
    object raProgramInfo5: TraProgramInfo
      raClassName = 'TraVarProgram'
      raProgram.ChildType = 17
      raProgram.ProgramName = 'Variables'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure Variables;'#13#10'var'#13#10'   SQL_2, SQL_3, SQL_4, SQL_5: String' +
        ';'#13#10#13#10'begin'#13#10#13#10'end;'#13#10
      raProgram.CaretPos = (
        25
        2)
    end
    object raProgramInfo6: TraProgramInfo
      raClassName = 'TraProgram'
      raProgram.ChildType = 19
      raProgram.ProgramName = 'GlobalOnCreate'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure GlobalOnCreate;'#13#10'begin'#13#10'SQL_2 := '#39'SELECT DocKey, ItemC' +
        'ode, UOM, UnitPrice, FromDocNo, Disc, MIN(Seq) Seq, Description,' +
        #39' +'#13#10#9#9'        '#39'SUM(Qty) Qty, SUM(Amount) Amount, SUM(AmountWith' +
        'Tax) AmountWithTax, '#39' +'#13#10#9#9'        '#39'SUM(LocalAmount) LocalAmount' +
        ', SUM(LocalAmountWithTax) LocalAmountWithTax,  '#39'+      '#13#10'       ' +
        '     '#39'Tax, Sum(TaxAmt) TaxAmt, Sum(LocalTaxAmt) LocalTaxAmt '#39' +'#13 +
        #10'            '#39'FROM Document_Detail '#39' +'#13#10'            '#39'GROUP BY Do' +
        'cKey, ItemCode, Description, UOM, UnitPrice, Disc, Tax '#39';'#13#10'   SQ' +
        'L_3 := '#39'SELECT DocKey, ItemCode, Description, Description2, Desc' +
        'ription3, Seq '#39'+ '#13#10#9#9#39'FROM Document_Detail '#39' +'#13#10#9#9#39'ORDER BY Seq ' +
        'DESC'#39';'#13#10'   SQL_4 := '#39'SELECT DocKey, ItemCode, UOM, UnitPrice, Di' +
        'sc, MIN(Seq) Seq, Description, '#39' +'#13#10#9#9'        '#39'SUM(Qty) Qty, SUM' +
        '(Amount) Amount, SUM(AmountWithTax) AmountWithTax '#39' +'#13#10'         ' +
        '   '#39'FROM Document_Detail '#39' +'#13#10'             '#39'WHERE ItemCode='#39#39'RTN' +
        '5Cents'#39#39' '#39' +'#13#10'             '#39'GROUP BY DocKey '#39';'#13#10'   SQL_5 := '#39'SEL' +
        'ECT DocKey,  Tax, TaxRate, Sum(LocalAmount) LocalAmount, Sum(Qty' +
        ') Qty, Sum(LocalTaxAmt) localTaxAmt, Description '#39'+ '#13#10#9#9'        ' +
        #39'FROM Document_Detail '#39' +'#13#10#9#9'        '#39'Where Tax <> '#39#39#39#39#39' +'#13#10#9#9'  ' +
        '      '#39'GROUP BY Dockey, Tax, Taxrate'#39';'#13#10'end;'#13#10
      raProgram.CaretPos = (
        41
        20)
    end
    object raProgramInfo7: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'Variable1OnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure Variable1OnCalc(var Value: Variant);'#13#10'begin'#13#10'Value := ' +
        'Document_Currency.GetFieldValue('#39'Description'#39');'#13#10'Value := Value ' +
        '+ '#39' : '#39' + CurrencyToEngWord(Main.GetFieldValue('#39'DocAmt'#39')) + '#39' ON' +
        'LY'#39';'#13#10'end;'#13#10
      raProgram.ComponentName = 'Variable1'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
      raProgram.CaretPos = (
        1
        2)
    end
    object raProgramInfo8: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'ReportBeforePrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure ReportBeforePrint;'#13#10'begin   '#13#10'    LocalSQL_SELECT(plSQ' +
        'L_2, SQL_2, '#39'DocKey;Seq'#39');'#13#10'    LocalSQL_SELECT(plSQL_3, SQL_3, ' +
        #39'DocKey;ItemCode;Description'#39');'#13#10'    LocalSQL_SELECT(plSQL_4, SQ' +
        'L_4, '#39'DocKey'#39');'#13#10'    LocalSQL_SELECT(plSQL_5, SQL_5, '#39'Dockey;Tax' +
        ';TaxRate'#39');   '#13#10'  '#13#10'    SetDataPipelineFieldLink(Main, plSQL_2, ' +
        #39'DocKey'#39', '#39'DocKey'#39');'#13#10'    SetDataPipelineFieldLink(plSQL_2, plSQ' +
        'L_3, '#39'DocKey;ItemCode;Description'#39', '#39'DocKey;ItemCode;Description' +
        #39');'#13#10'    SetDataPipelineFieldLink(Main, plSQL_4, '#39'DocKey'#39', '#39'DocK' +
        'ey'#39');'#13#10'    SetDataPipelineFieldLink(Main, plSQL_5, '#39'DocKey'#39', '#39'Do' +
        'cKey'#39'); '#13#10'end;'#13#10
      raProgram.ComponentName = 'Report'
      raProgram.EventName = 'BeforePrint'
      raProgram.EventID = 1
      raProgram.CaretPos = (
        56
        6)
    end
    object raProgramInfo9: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'SubRptNormOnPrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure SubRptNormOnPrint;'#13#10'begin'#13#10'  SubRptNorm.Visible:= Opti' +
        'on.GetFieldValue('#39'MergeSameItemCode'#39')= False;'#13#10'end;'#13#10
      raProgram.ComponentName = 'SubRptNorm'
      raProgram.EventName = 'OnPrint'
      raProgram.EventID = 32
    end
    object raProgramInfo10: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'SubRptMergeOnPrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure SubRptMergeOnPrint;'#13#10'begin'#13#10'  SubRptMerge.Visible:= Op' +
        'tion.GetFieldValue('#39'MergeSameItemCode'#39')= True;'#13#10'end;'#13#10
      raProgram.ComponentName = 'SubRptMerge'
      raProgram.EventName = 'OnPrint'
      raProgram.EventID = 32
    end
    object raProgramInfo11: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'Variable2OnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure Variable2OnCalc(var Value: Variant);'#13#10'var s:string;'#13#10'b' +
        'egin'#13#10#9's:='#39'Select duedate From ar_iv where docno='#39'+'#13#10#9'Quotedstr(' +
        'Main.Getfieldvalue('#39'DocNo'#39'));'#13#10#13#10'if DBSQL_Getfieldvalue(s)<>Null' +
        ' then'#13#10#9'value:=DBSQL_Getfieldvalue(s)'#13#10'else'#13#10#13#10'  Value :='#39#39'; '#13#10'e' +
        'nd;'#13#10
      raProgram.ComponentName = 'Variable2'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
      raProgram.CaretPos = (
        1
        3)
    end
    object raProgramInfo12: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'Variable3OnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure Variable3OnCalc(var Value: Variant);'#13#10'begin'#13#10#13#10'  Value' +
        ' := GetAggregateValue (agSUM, Document_detail, '#39'DocKey'#39', '#39'Amount' +
        #39'); '#13#10#13#10'end;'#13#10
      raProgram.ComponentName = 'Variable3'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
      raProgram.CaretPos = (
        1
        2)
    end
    object raProgramInfo13: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'Variable6OnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure Variable6OnCalc(var Value: Variant);'#13#10'begin'#13#10'  Variabl' +
        'e6.DisplayFormat := Option.GetFieldValue('#39'AccountingValueDisplay' +
        'Format'#39');'#13#10'  Value :=  GetAggregateValue (agSUM ,Document_detail' +
        ' ,'#39'DocKey'#39' ,'#39'TaxAmt'#39');'#13#10#13#10'end;'#13#10
      raProgram.ComponentName = 'Variable6'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
      raProgram.CaretPos = (
        1
        2)
    end
  end
  object ppDesignLayers1: TppDesignLayers
    object ppDesignLayer1: TppDesignLayer
      UserName = 'Foreground'
      LayerType = ltBanded
      Index = 0
    end
  end
  object ppParameterList1: TppParameterList
  end
end
