TdvSLSO
object TppReport
  AutoStop = False
  DataPipeline = Main
  NoDataBehaviors = [ndBlankReport]
  PassSetting = psTwoPass
  PrinterSetup.BinName = 'Default'
  PrinterSetup.DocumentName = 'SQL Financial Accounting: Sales Order 1'
  PrinterSetup.Duplex = dpNone
  PrinterSetup.PaperName = 'Letter'
  PrinterSetup.PrinterName = 'Default'
  PrinterSetup.SaveDeviceSettings = False
  PrinterSetup.mmMarginBottom = 6350
  PrinterSetup.mmMarginLeft = 12700
  PrinterSetup.mmMarginRight = 6350
  PrinterSetup.mmMarginTop = 6350
  PrinterSetup.mmPaperHeight = 279401
  PrinterSetup.mmPaperWidth = 215900
  PrinterSetup.PaperSize = 1
  SaveAsTemplate = True
  Template.DatabaseSettings.Name = '003-Sales-Order-2-Deposit-SST'
  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 = [efUseSubset]
  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.SinglePageOnly = True
  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 = 99484
    mmPrintPosition = 0
    object Shape1: TppShape
      DesignLayer = ppDesignLayer1
      UserName = 'Shape1'
      Brush.Style = bsClear
      mmHeight = 10319
      mmLeft = 149754
      mmTop = 83079
      mmWidth = 42598
      BandType = 0
      LayerName = Foreground
    end
    object Shape2: TppShape
      DesignLayer = ppDesignLayer1
      UserName = 'Shape2'
      mmHeight = 9790
      mmLeft = 150019
      mmTop = 83344
      mmWidth = 42069
      BandType = 0
      LayerName = Foreground
    end
    object Label1: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label1'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Sales Order'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 16
      Font.Style = [fsBold]
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 6773
      mmLeft = 794
      mmTop = 33338
      mmWidth = 32639
      BandType = 0
      LayerName = Foreground
    end
    object Line1: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line1'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Weight = 0.750000000000000000
      mmHeight = 529
      mmLeft = 794
      mmTop = 41804
      mmWidth = 187061
      BandType = 0
      LayerName = Foreground
    end
    object Label3: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label3'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Billing Address'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 7
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 2963
      mmLeft = 794
      mmTop = 43127
      mmWidth = 15706
      BandType = 0
      LayerName = Foreground
    end
    object Label5: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label5'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Delivery Address'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 7
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 2963
      mmLeft = 102394
      mmTop = 43127
      mmWidth = 18076
      BandType = 0
      LayerName = Foreground
    end
    object DBText2: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBTxtBrchName'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'BranchName'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = [fsBold]
      ParentDataPipeline = False
      Visible = False
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 102394
      mmTop = 46567
      mmWidth = 89694
      BandType = 0
      LayerName = Foreground
    end
    object DBText3: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText3'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'DAddress1'
      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 = 102394
      mmTop = 51065
      mmWidth = 89694
      BandType = 0
      LayerName = Foreground
    end
    object DBText4: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText4'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'DAddress2'
      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 = 102394
      mmTop = 55563
      mmWidth = 89694
      BandType = 0
      LayerName = Foreground
    end
    object DBText5: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText5'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'DAddress3'
      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 = 102394
      mmTop = 60061
      mmWidth = 89694
      BandType = 0
      LayerName = Foreground
    end
    object DBText6: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText6'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'DAddress4'
      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 = 102394
      mmTop = 64558
      mmWidth = 89694
      BandType = 0
      LayerName = Foreground
    end
    object Label6: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'lbDOTel'
      HyperlinkEnabled = False
      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 = 102394
      mmTop = 73290
      mmWidth = 4699
      BandType = 0
      LayerName = Foreground
    end
    object Label7: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'lbDOFax'
      HyperlinkEnabled = False
      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 = 102394
      mmTop = 77788
      mmWidth = 5419
      BandType = 0
      LayerName = Foreground
    end
    object Line2: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line2'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Weight = 0.750000000000000000
      mmHeight = 1058
      mmLeft = 0
      mmTop = 82815
      mmWidth = 192352
      BandType = 0
      LayerName = Foreground
    end
    object DBText9: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText9'
      HyperlinkEnabled = False
      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
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 794
      mmTop = 46567
      mmWidth = 95250
      BandType = 0
      LayerName = Foreground
    end
    object DBText10: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText10'
      HyperlinkEnabled = False
      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 = 794
      mmTop = 51065
      mmWidth = 95250
      BandType = 0
      LayerName = Foreground
    end
    object DBText11: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText11'
      HyperlinkEnabled = False
      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 = 794
      mmTop = 55563
      mmWidth = 95250
      BandType = 0
      LayerName = Foreground
    end
    object DBText12: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText12'
      HyperlinkEnabled = False
      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 = 794
      mmTop = 60061
      mmWidth = 95250
      BandType = 0
      LayerName = Foreground
    end
    object DBText13: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText13'
      HyperlinkEnabled = False
      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 = 794
      mmTop = 64558
      mmWidth = 95250
      BandType = 0
      LayerName = Foreground
    end
    object Label17: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label17'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Sales Executive'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 6
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 2540
      mmLeft = 23283
      mmTop = 84402
      mmWidth = 14309
      BandType = 0
      LayerName = Foreground
    end
    object Label19: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label19'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Customer Account'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 6
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 2540
      mmLeft = 794
      mmTop = 84402
      mmWidth = 17018
      BandType = 0
      LayerName = Foreground
    end
    object Label21: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label21'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Currency'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 6
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 2540
      mmLeft = 47361
      mmTop = 84402
      mmWidth = 8297
      BandType = 0
      LayerName = Foreground
    end
    object Label23: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label23'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Name'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 6
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 2540
      mmLeft = 113242
      mmTop = 84402
      mmWidth = 5376
      BandType = 0
      LayerName = Foreground
    end
    object Label25: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label25'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Sales Oder No.'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 6
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 2540
      mmLeft = 150548
      mmTop = 84402
      mmWidth = 13843
      BandType = 0
      LayerName = Foreground
    end
    object Label27: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label27'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Date'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 6
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taRightJustified
      Transparent = True
      mmHeight = 2540
      mmLeft = 187061
      mmTop = 84402
      mmWidth = 4360
      BandType = 0
      LayerName = Foreground
    end
    object Line4: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line4'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Weight = 0.750000000000000000
      mmHeight = 529
      mmLeft = 0
      mmTop = 93398
      mmWidth = 192352
      BandType = 0
      LayerName = Foreground
    end
    object Label29: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label29'
      HyperlinkEnabled = False
      AutoSize = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'No'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 6
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taCentered
      Transparent = True
      mmHeight = 2540
      mmLeft = 794
      mmTop = 95779
      mmWidth = 12172
      BandType = 0
      LayerName = Foreground
    end
    object Label31: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label31'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Description'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 6
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 2540
      mmLeft = 39952
      mmTop = 95779
      mmWidth = 10372
      BandType = 0
      LayerName = Foreground
    end
    object Label33: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label33'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Qty'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 6
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 2540
      mmLeft = 131763
      mmTop = 95779
      mmWidth = 3260
      BandType = 0
      LayerName = Foreground
    end
    object Label35: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label35'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Item Code'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 6
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 2540
      mmLeft = 13758
      mmTop = 95779
      mmWidth = 9779
      BandType = 0
      LayerName = Foreground
    end
    object Label37: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label37'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Discount'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 6
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 2540
      mmLeft = 165100
      mmTop = 95779
      mmWidth = 8043
      BandType = 0
      LayerName = Foreground
    end
    object Label39: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label39'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Price/Unit'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 6
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taRightJustified
      Transparent = True
      mmHeight = 2540
      mmLeft = 148961
      mmTop = 95779
      mmWidth = 9059
      BandType = 0
      LayerName = Foreground
    end
    object Label41: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label41'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Total Price'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 6
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 2540
      mmLeft = 182298
      mmTop = 95779
      mmWidth = 9821
      BandType = 0
      LayerName = Foreground
    end
    object DBText23: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText23'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'Code'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 9
      Font.Style = [fsBold]
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 3810
      mmLeft = 794
      mmTop = 88106
      mmWidth = 19050
      BandType = 0
      LayerName = Foreground
    end
    object DBText24: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText24'
      HyperlinkEnabled = False
      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 = 9
      Font.Style = [fsBold]
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 3810
      mmLeft = 150548
      mmTop = 88371
      mmWidth = 21717
      BandType = 0
      LayerName = Foreground
    end
    object DBText27: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText27'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'Symbol'
      DataPipeline = Document_Currency
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 9
      Font.Style = [fsBold]
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Document_Currency'
      mmHeight = 3810
      mmLeft = 47096
      mmTop = 88106
      mmWidth = 12700
      BandType = 0
      LayerName = Foreground
    end
    object DBText28: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText28'
      HyperlinkEnabled = False
      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 = 9
      Font.Style = [fsBold]
      ParentDataPipeline = False
      TextAlignment = taRightJustified
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 3810
      mmLeft = 166762
      mmTop = 88371
      mmWidth = 24850
      BandType = 0
      LayerName = Foreground
    end
    object DBText34: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText34'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'Code'
      DataPipeline = User
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 9
      Font.Style = [fsBold]
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'User'
      mmHeight = 3810
      mmLeft = 113242
      mmTop = 88371
      mmWidth = 16933
      BandType = 0
      LayerName = Foreground
    end
    object DBText35: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText35'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'Agent'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 9
      Font.Style = [fsBold]
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 3810
      mmLeft = 23283
      mmTop = 88106
      mmWidth = 17992
      BandType = 0
      LayerName = Foreground
    end
    object Label67: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label67'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Page No '
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 6
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 2540
      mmLeft = 136261
      mmTop = 84138
      mmWidth = 8467
      BandType = 0
      LayerName = Foreground
    end
    object Label2: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'lbIVTel'
      HyperlinkEnabled = False
      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 = 794
      mmTop = 73290
      mmWidth = 4699
      BandType = 0
      LayerName = Foreground
    end
    object Label4: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'lbIVFax'
      HyperlinkEnabled = False
      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 = 794
      mmTop = 77788
      mmWidth = 5419
      BandType = 0
      LayerName = Foreground
    end
    object Label8: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'lbIVAttn'
      HyperlinkEnabled = False
      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 = 794
      mmTop = 68792
      mmWidth = 6435
      BandType = 0
      LayerName = Foreground
    end
    object DBText16: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText16'
      HyperlinkEnabled = False
      AutoSize = True
      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 = []
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 14817
      mmTop = 69056
      mmWidth = 35475
      BandType = 0
      LayerName = Foreground
    end
    object ppLabel1: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'lbDOAttn'
      HyperlinkEnabled = False
      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 = 102394
      mmTop = 68792
      mmWidth = 6435
      BandType = 0
      LayerName = Foreground
    end
    object ppDBText4: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText1'
      HyperlinkEnabled = False
      AutoSize = True
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'DAttention'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 113242
      mmTop = 68792
      mmWidth = 27686
      BandType = 0
      LayerName = Foreground
    end
    object ppDBText5: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText7'
      HyperlinkEnabled = False
      AutoSize = True
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'DPhone1'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 113242
      mmTop = 73290
      mmWidth = 23156
      BandType = 0
      LayerName = Foreground
    end
    object ppDBText6: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText8'
      HyperlinkEnabled = False
      AutoSize = True
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'DFax1'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 113242
      mmTop = 77788
      mmWidth = 18965
      BandType = 0
      LayerName = Foreground
    end
    object DBImage3: TppDBImage
      DesignLayer = ppDesignLayer1
      UserName = 'DBImage3'
      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 ppDBRichText2: TppDBRichText
      DesignLayer = ppDesignLayer1
      UserName = 'DBRichText2'
      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 = 25664
      mmLeft = 28047
      mmTop = 3175
      mmWidth = 144780
      BandType = 0
      LayerName = Foreground
      mmBottomOffset = 0
      mmOverFlowOffset = 0
      mmStopPosition = 0
      mmMinHeight = 0
      mmLeftMargin = 794
    end
    object ppSystemVariable1: TppSystemVariable
      DesignLayer = ppDesignLayer1
      UserName = 'SystemVariable1'
      HyperlinkEnabled = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      VarType = vtPageSet
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 9
      Font.Style = [fsBold]
      Transparent = True
      mmHeight = 3810
      mmLeft = 136261
      mmTop = 88106
      mmWidth = 9102
      BandType = 0
      LayerName = Foreground
    end
    object ppDBText8: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText15'
      HyperlinkEnabled = False
      AutoSize = True
      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 = []
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 14817
      mmTop = 73290
      mmWidth = 12615
      BandType = 0
      LayerName = Foreground
    end
    object ppDBText9: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText17'
      HyperlinkEnabled = False
      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 = []
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 14817
      mmTop = 77788
      mmWidth = 8424
      BandType = 0
      LayerName = Foreground
    end
    object ppRegion2: TppRegion
      DesignLayer = ppDesignLayer1
      UserName = 'RegFromDocNo'
      Brush.Style = bsClear
      Caption = 'RegFromDocNo'
      Pen.Style = psClear
      Transparent = True
      mmHeight = 9789
      mmLeft = 60853
      mmTop = 83345
      mmWidth = 52123
      BandType = 0
      LayerName = Foreground
      mmBottomOffset = 0
      mmOverFlowOffset = 0
      mmStopPosition = 0
      mmMinHeight = 0
      object ppLabel17: TppLabel
        DesignLayer = ppDesignLayer1
        UserName = 'lbDODate'
        HyperlinkEnabled = False
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        Caption = 'From Doc Date'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 6
        Font.Style = []
        FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
        FormFieldSettings.FormFieldType = fftNone
        Transparent = True
        Visible = False
        mmHeight = 2540
        mmLeft = 61646
        mmTop = 84403
        mmWidth = 14055
        BandType = 0
        LayerName = Foreground
      end
      object Label15: TppLabel
        DesignLayer = ppDesignLayer1
        UserName = 'lbDoNo'
        HyperlinkEnabled = False
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        Caption = 'From Doc No'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 6
        Font.Style = []
        FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
        FormFieldSettings.FormFieldType = fftNone
        Transparent = True
        Visible = False
        mmHeight = 2540
        mmLeft = 89163
        mmTop = 84403
        mmWidth = 12234
        BandType = 0
        LayerName = Foreground
      end
      object ppDBText11: TppDBText
        DesignLayer = ppDesignLayer1
        UserName = 'DBTxtSQL_1'
        HyperlinkEnabled = False
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        DataPipeline = plSQL_1
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Arial'
        Font.Size = 10
        Font.Style = []
        ParentDataPipeline = False
        Transparent = True
        Visible = False
        DataPipelineName = 'plSQL_1'
        mmHeight = 3969
        mmLeft = 76199
        mmTop = 93135
        mmWidth = 17198
        BandType = 0
        LayerName = Foreground
      end
      object ppVariable2: TppVariable
        DesignLayer = ppDesignLayer1
        UserName = 'VarFromDocNo'
        HyperlinkEnabled = False
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        BlankWhenZero = False
        CalcOrder = 1
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = [fsBold]
        Transparent = True
        mmHeight = 3704
        mmLeft = 89165
        mmTop = 88106
        mmWidth = 24077
        BandType = 0
        LayerName = Foreground
      end
      object ppVariable3: TppVariable
        DesignLayer = ppDesignLayer1
        UserName = 'VarFromDocDate'
        HyperlinkEnabled = False
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        BlankWhenZero = False
        CalcOrder = 0
        DataType = dtDate
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = [fsBold]
        Transparent = True
        mmHeight = 3704
        mmLeft = 61648
        mmTop = 88106
        mmWidth = 27252
        BandType = 0
        LayerName = Foreground
      end
    end
  end
  object ppDetailBand2: TppDetailBand
    Background1.Brush.Style = bsClear
    Background2.Brush.Style = bsClear
    Border.mmPadding = 0
    PrintHeight = phDynamic
    mmBottomOffset = 0
    mmHeight = 13494
    mmPrintPosition = 0
    object ppSubReport1: TppSubReport
      DesignLayer = ppDesignLayer1
      UserName = 'SubRptNorm'
      ExpandAll = False
      NewPrintJob = False
      OutlineSettings.CreateNode = True
      TraverseAllData = False
      Visible = 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: Sales Order 1'
        PrinterSetup.Duplex = dpNone
        PrinterSetup.PaperName = 'Letter'
        PrinterSetup.PrinterName = 'Default'
        PrinterSetup.SaveDeviceSettings = False
        PrinterSetup.mmMarginBottom = 6350
        PrinterSetup.mmMarginLeft = 12700
        PrinterSetup.mmMarginRight = 6350
        PrinterSetup.mmMarginTop = 6350
        PrinterSetup.mmPaperHeight = 279401
        PrinterSetup.mmPaperWidth = 215900
        PrinterSetup.PaperSize = 1
        Template.DatabaseSettings.NameField = 'ReportName'
        Template.DatabaseSettings.TemplateField = 'Template'
        Template.Offset = 9
        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 = 7408
          mmPrintPosition = 0
          object ppDBRichText1: TppDBRichText
            DesignLayer = ppDesignLayer2
            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 = 'Description3'
            DataPipeline = Document_Detail
            RemoveEmptyLines = False
            ShiftRelativeTo = DBMemo1
            Stretch = True
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 1588
            mmLeft = 39952
            mmTop = 5292
            mmWidth = 78846
            BandType = 4
            LayerName = Foreground1
            mmBottomOffset = 0
            mmOverFlowOffset = 0
            mmStopPosition = 0
            mmMinHeight = 0
            mmLeftMargin = 794
          end
          object ppDBText1: TppDBText
            DesignLayer = ppDesignLayer2
            UserName = 'DBText6'
            HyperlinkEnabled = False
            BlankWhenZero = True
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'UnitPrice'
            DataPipeline = Document_Detail
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            ParentDataPipeline = False
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 3810
            mmLeft = 143140
            mmTop = 794
            mmWidth = 15081
            BandType = 4
            LayerName = Foreground1
          end
          object DBMemo1: TppDBMemo
            DesignLayer = ppDesignLayer2
            UserName = 'DBMemo1'
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            CharWrap = False
            DataField = 'Description'
            DataPipeline = Document_Detail
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            ParentDataPipeline = False
            RemoveEmptyLines = False
            Stretch = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 4233
            mmLeft = 39952
            mmTop = 794
            mmWidth = 78846
            BandType = 4
            LayerName = Foreground1
            mmBottomOffset = 0
            mmOverFlowOffset = 0
            mmStopPosition = 0
            mmMinHeight = 0
            mmLeading = 0
          end
          object DBText7: TppDBText
            DesignLayer = ppDesignLayer2
            UserName = 'DBText7'
            HyperlinkEnabled = False
            BlankWhenZero = True
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'Qty'
            DataPipeline = Document_Detail
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            ParentDataPipeline = False
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 3810
            mmLeft = 118798
            mmTop = 794
            mmWidth = 13758
            BandType = 4
            LayerName = Foreground1
          end
          object DBText8: TppDBText
            DesignLayer = ppDesignLayer2
            UserName = 'DBText8'
            HyperlinkEnabled = False
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'UOM'
            DataPipeline = Document_Detail
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 3810
            mmLeft = 133879
            mmTop = 794
            mmWidth = 8996
            BandType = 4
            LayerName = Foreground1
          end
          object ppDBText2: TppDBText
            DesignLayer = ppDesignLayer2
            UserName = 'DBText9'
            HyperlinkEnabled = False
            BlankWhenZero = True
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'AmountWithTax'
            DataPipeline = Document_Detail
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            ParentDataPipeline = False
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 3810
            mmLeft = 173567
            mmTop = 794
            mmWidth = 18521
            BandType = 4
            LayerName = Foreground1
          end
          object DBCalc1: TppDBCalc
            DesignLayer = ppDesignLayer2
            UserName = 'DBCalc1'
            HyperlinkEnabled = False
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'Number'
            DataPipeline = Document_Detail
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            TextAlignment = taCentered
            Transparent = True
            DBCalcType = dcCount
            DataPipelineName = 'Document_Detail'
            mmHeight = 3810
            mmLeft = 794
            mmTop = 794
            mmWidth = 12171
            BandType = 4
            LayerName = Foreground1
          end
          object ppDBText3: TppDBText
            DesignLayer = ppDesignLayer2
            UserName = 'DBText3'
            HyperlinkEnabled = False
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'DISC'
            DataPipeline = Document_Detail
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            TextAlignment = taRightJustified
            DataPipelineName = 'Document_Detail'
            mmHeight = 3810
            mmLeft = 158486
            mmTop = 794
            mmWidth = 15081
            BandType = 4
            LayerName = Foreground1
          end
          object ppDBText7: TppDBText
            DesignLayer = ppDesignLayer2
            UserName = 'DBText5'
            HyperlinkEnabled = False
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'ItemCode'
            DataPipeline = Document_Detail
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 3810
            mmLeft = 12965
            mmTop = 794
            mmWidth = 25400
            BandType = 4
            LayerName = Foreground1
          end
        end
        object ppGroup2: TppGroup
          BreakName = 'FromDocNo'
          DataPipeline = Document_Detail
          GroupFileSettings.NewFile = False
          GroupFileSettings.EmailFile = False
          OutlineSettings.CreateNode = True
          StartOnOddPage = False
          UserName = 'Group2'
          mmNewColumnThreshold = 0
          mmNewPageThreshold = 0
          DataPipelineName = 'Document_Detail'
          NewFile = False
          object ppGroupHeaderBand2: TppGroupHeaderBand
            Background.Brush.Style = bsClear
            Border.mmPadding = 0
            PrintHeight = phDynamic
            mmBottomOffset = 0
            mmHeight = 5027
            mmPrintPosition = 0
            object ppVariable4: TppVariable
              DesignLayer = ppDesignLayer2
              UserName = 'Variable4'
              HyperlinkEnabled = False
              Border.Weight = 1.000000000000000000
              Border.mmPadding = 0
              BlankWhenZero = False
              CalcOrder = 0
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Name = 'Tahoma'
              Font.Size = 9
              Font.Style = [fsUnderline]
              Transparent = True
              Visible = False
              mmHeight = 3810
              mmLeft = 5556
              mmTop = 794
              mmWidth = 12912
              BandType = 3
              GroupNo = 0
              LayerName = Foreground1
            end
          end
          object ppGroupFooterBand2: TppGroupFooterBand
            Background.Brush.Style = bsClear
            Border.mmPadding = 0
            HideWhenOneDetail = False
            mmBottomOffset = 0
            mmHeight = 0
            mmPrintPosition = 0
          end
        end
        object raCodeModule2: TraCodeModule
          object raProgramInfo4: TraProgramInfo
            raClassName = 'TraEventHandler'
            raProgram.ProgramName = 'Variable4OnCalc'
            raProgram.ProgramType = ttProcedure
            raProgram.Source = 
              'procedure Variable4OnCalc(var Value: Variant);'#13#10' Var'#13#10'  D, DD, F' +
              'DN, FDD: String;'#13#10'begin'#13#10'   FDN:= Document_Detail.GetfieldValue(' +
              #39'FromDocNo'#39');'#13#10'   FDD:= Document_Detail.GetFieldValue('#39'FromDocDa' +
              'te'#39');'#13#10'   If Trim(FDN) <> '#39#39' then'#13#10'      D := '#39'From Doc No. : '#39' ' +
              '+ FDN + '#39';   '#39' else'#13#10'      D := '#39#39';'#13#10'   If Trim(FDD) <> '#39#39' Then'#13 +
              #10'      DD := '#39'From Doc Date : '#39' + FDD else'#13#10'      DD := '#39#39';'#13#10'   ' +
              'Value:= D + DD;'#13#10'end;'#13#10
            raProgram.ComponentName = 'Variable4'
            raProgram.EventName = 'OnCalc'
            raProgram.EventID = 33
          end
          object raProgramInfo5: TraProgramInfo
            raClassName = 'TraEventHandler'
            raProgram.ProgramName = 'Variable4OnPrint'
            raProgram.ProgramType = ttProcedure
            raProgram.Source = 
              'procedure Variable4OnPrint;'#13#10'begin'#13#10'   if (Variable4.Value = '#39#39')' +
              ' or (plSQL_1.GetFieldValue('#39'COUNT(*)'#39') = 1) then'#13#10'      Variable' +
              '4.Visible:= False else'#13#10'      Variable4.Visible:= True;'#13#10'end;'#13#10
            raProgram.ComponentName = 'Variable4'
            raProgram.EventName = 'OnPrint'
            raProgram.EventID = 32
          end
        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
      DataPipelineName = 'plSQL_2'
      mmHeight = 5027
      mmLeft = 0
      mmTop = 5027
      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: Sales Order 1'
        PrinterSetup.Duplex = dpNone
        PrinterSetup.PaperName = 'Letter'
        PrinterSetup.PrinterName = 'Default'
        PrinterSetup.SaveDeviceSettings = False
        PrinterSetup.mmMarginBottom = 6350
        PrinterSetup.mmMarginLeft = 12700
        PrinterSetup.mmMarginRight = 6350
        PrinterSetup.mmMarginTop = 6350
        PrinterSetup.mmPaperHeight = 279401
        PrinterSetup.mmPaperWidth = 215900
        PrinterSetup.PaperSize = 1
        Template.DatabaseSettings.NameField = 'ReportName'
        Template.DatabaseSettings.TemplateField = 'Template'
        Template.Offset = 9
        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 = 7408
          mmPrintPosition = 0
          object ppDBRichText3: TppDBRichText
            DesignLayer = ppDesignLayer3
            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 = 'Description3'
            DataPipeline = plSQL_3
            ParentDataPipeline = False
            RemoveEmptyLines = False
            ShiftRelativeTo = ppDBMemo1
            Stretch = True
            Transparent = True
            DataPipelineName = 'plSQL_3'
            mmHeight = 1588
            mmLeft = 39952
            mmTop = 5292
            mmWidth = 78846
            BandType = 4
            LayerName = Foreground2
            mmBottomOffset = 0
            mmOverFlowOffset = 0
            mmStopPosition = 0
            mmMinHeight = 0
            mmLeftMargin = 794
          end
          object ppDBText10: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBTxtUPrice'
            HyperlinkEnabled = False
            BlankWhenZero = True
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'UnitPrice'
            DataPipeline = plSQL_2
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            ParentDataPipeline = False
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'plSQL_2'
            mmHeight = 3810
            mmLeft = 143140
            mmTop = 794
            mmWidth = 15081
            BandType = 4
            LayerName = Foreground2
          end
          object ppDBMemo1: TppDBMemo
            DesignLayer = ppDesignLayer3
            UserName = 'DBMemo1'
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            CharWrap = False
            DataField = 'Description'
            DataPipeline = plSQL_3
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            ParentDataPipeline = False
            RemoveEmptyLines = False
            Stretch = True
            DataPipelineName = 'plSQL_3'
            mmHeight = 4233
            mmLeft = 39952
            mmTop = 794
            mmWidth = 78846
            BandType = 4
            LayerName = Foreground2
            mmBottomOffset = 0
            mmOverFlowOffset = 0
            mmStopPosition = 0
            mmMinHeight = 0
            mmLeading = 0
          end
          object ppDBText12: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBTxtQty'
            HyperlinkEnabled = False
            BlankWhenZero = True
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'Qty'
            DataPipeline = plSQL_2
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            ParentDataPipeline = False
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'plSQL_2'
            mmHeight = 3810
            mmLeft = 118798
            mmTop = 794
            mmWidth = 13758
            BandType = 4
            LayerName = Foreground2
          end
          object ppDBText20: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBText8'
            HyperlinkEnabled = False
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'UOM'
            DataPipeline = plSQL_2
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            ParentDataPipeline = False
            Transparent = True
            DataPipelineName = 'plSQL_2'
            mmHeight = 3810
            mmLeft = 133879
            mmTop = 794
            mmWidth = 8996
            BandType = 4
            LayerName = Foreground2
          end
          object ppDBText21: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBTxtAmt'
            HyperlinkEnabled = False
            BlankWhenZero = True
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'AmountWithTax'
            DataPipeline = plSQL_2
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            ParentDataPipeline = False
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'plSQL_2'
            mmHeight = 3810
            mmLeft = 173567
            mmTop = 794
            mmWidth = 18521
            BandType = 4
            LayerName = Foreground2
          end
          object ppDBCalc1: TppDBCalc
            DesignLayer = ppDesignLayer3
            UserName = 'DBCalc1'
            HyperlinkEnabled = False
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'ItemCode'
            DataPipeline = plSQL_2
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            TextAlignment = taCentered
            Transparent = True
            DBCalcType = dcCount
            DataPipelineName = 'plSQL_2'
            mmHeight = 3810
            mmLeft = 794
            mmTop = 794
            mmWidth = 12171
            BandType = 4
            LayerName = Foreground2
          end
          object ppDBText22: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBText3'
            HyperlinkEnabled = False
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'DISC'
            DataPipeline = plSQL_2
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            ParentDataPipeline = False
            TextAlignment = taRightJustified
            DataPipelineName = 'plSQL_2'
            mmHeight = 3810
            mmLeft = 158486
            mmTop = 794
            mmWidth = 15081
            BandType = 4
            LayerName = Foreground2
          end
          object ppDBText23: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBText5'
            HyperlinkEnabled = False
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'ItemCode'
            DataPipeline = plSQL_2
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            Transparent = True
            DataPipelineName = 'plSQL_2'
            mmHeight = 3810
            mmLeft = 12965
            mmTop = 794
            mmWidth = 25400
            BandType = 4
            LayerName = Foreground2
          end
        end
        object raCodeModule3: TraCodeModule
          object raProgramInfo6: 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'  DBTxtUPri' +
              'ce.DisplayFormat:= Option.GetFieldValue('#39'StockPriceDisplayFormat' +
              #39');'#13#10'  DBTxtAmt.DisplayFormat:= Option.GetFieldValue('#39'Accounting' +
              'ValueDisplayFormat'#39');'#13#10'end;'#13#10
            raProgram.ComponentName = 'Detail'
            raProgram.EventName = 'BeforePrint'
            raProgram.EventID = 24
          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 = 6350
    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 = 78052
      mmPrintPosition = 218440
      object ppRegion1: TppRegion
        DesignLayer = ppDesignLayer1
        UserName = 'Region1'
        Caption = 'Region1'
        ParentWidth = True
        Pen.Style = psClear
        Stretch = True
        mmHeight = 10319
        mmLeft = 0
        mmTop = 0
        mmWidth = 196850
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
        mmBottomOffset = 0
        mmOverFlowOffset = 0
        mmStopPosition = 0
        mmMinHeight = 0
        object ppVariable1: TppVariable
          DesignLayer = ppDesignLayer1
          UserName = 'Variable4'
          HyperlinkEnabled = False
          AutoSize = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          BlankWhenZero = False
          CalcOrder = 3
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 9
          Font.Style = []
          Transparent = True
          WordWrap = True
          mmHeight = 8996
          mmLeft = 2381
          mmTop = 794
          mmWidth = 150284
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
      end
      object ppRegion5: TppRegion
        DesignLayer = ppDesignLayer1
        UserName = 'RegDeposit'
        Caption = 'RegDeposit'
        ParentWidth = True
        Pen.Style = psClear
        ShiftRelativeTo = ppRegion1
        Stretch = True
        Visible = False
        mmHeight = 19063
        mmLeft = 0
        mmTop = 10054
        mmWidth = 196850
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
        mmBottomOffset = 0
        mmOverFlowOffset = 0
        mmStopPosition = 0
        mmMinHeight = 0
        object ppLabel9: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'Label10'
          HyperlinkEnabled = False
          Border.Weight = 1.000000000000000000
          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 = 39952
          mmTop = 12171
          mmWidth = 21431
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLabel10: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'lbLessDeposit'
          HyperlinkEnabled = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Caption = 'Less Deposit'
          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 = 3810
          mmLeft = 39688
          mmTop = 24885
          mmWidth = 17441
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppVariable7: TppVariable
          DesignLayer = ppDesignLayer1
          UserName = 'VarDeposit'
          HyperlinkEnabled = False
          AutoSize = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          BlankWhenZero = False
          CalcOrder = 0
          DataType = dtCurrency
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 9
          Font.Style = []
          TextAlignment = taRightJustified
          Transparent = True
          mmHeight = 3810
          mmLeft = 162190
          mmTop = 24885
          mmWidth = 29898
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLine4: TppLine
          DesignLayer = ppDesignLayer1
          UserName = 'Line3'
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Weight = 0.750000000000000000
          mmHeight = 2117
          mmLeft = 39688
          mmTop = 11377
          mmWidth = 152665
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLabel2: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'Label101'
          HyperlinkEnabled = False
          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 = 39688
          mmTop = 16140
          mmWidth = 12435
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLabel3: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'Label102'
          HyperlinkEnabled = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Caption = 'Total 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 = 39688
          mmTop = 20902
          mmWidth = 20902
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppDBText14: TppDBText
          DesignLayer = ppDesignLayer1
          UserName = 'DBText2'
          Border.mmPadding = 0
          DataField = 'TaxAmt'
          DataPipeline = plSQL_4
          DisplayFormat = '#,0.00;-#,0.00'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 9
          Font.Style = []
          ParentDataPipeline = False
          TextAlignment = taRightJustified
          Transparent = True
          DataPipelineName = 'plSQL_4'
          mmHeight = 4498
          mmLeft = 136261
          mmTop = 16143
          mmWidth = 55827
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppDBText24: TppDBText
          DesignLayer = ppDesignLayer1
          UserName = 'DBText18'
          Border.mmPadding = 0
          DataField = 'DocAmt'
          DataPipeline = Main
          DisplayFormat = '#,0.00;-#,0.00'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 9
          Font.Style = []
          TextAlignment = taRightJustified
          Transparent = True
          DataPipelineName = 'Main'
          mmHeight = 4498
          mmLeft = 137584
          mmTop = 20905
          mmWidth = 54504
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppVariable8: TppVariable
          DesignLayer = ppDesignLayer1
          UserName = 'VarTotalExlTax'
          Border.mmPadding = 0
          BlankWhenZero = False
          CalcOrder = 4
          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 = 170657
          mmTop = 12171
          mmWidth = 21431
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLine5: TppLine
          DesignLayer = ppDesignLayer1
          UserName = 'Line8'
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Weight = 0.750000000000000000
          mmHeight = 1057
          mmLeft = 39688
          mmTop = 20384
          mmWidth = 152665
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
      end
      object ppRegion6: TppRegion
        DesignLayer = ppDesignLayer1
        UserName = 'RegPayableAmt'
        Brush.Style = bsClear
        Caption = 'RegPayableAmt'
        ParentWidth = True
        Pen.Style = psClear
        ShiftRelativeTo = ppRegion5
        Stretch = True
        Transparent = True
        mmHeight = 23548
        mmLeft = 0
        mmTop = 29118
        mmWidth = 196850
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
        mmBottomOffset = 0
        mmOverFlowOffset = 0
        mmStopPosition = 0
        mmMinHeight = 0
        object ppLine3: TppLine
          DesignLayer = ppDesignLayer1
          UserName = 'Line5'
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Weight = 0.750000000000000000
          mmHeight = 1588
          mmLeft = 794
          mmTop = 30970
          mmWidth = 192352
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLabel11: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'Label43'
          HyperlinkEnabled = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Caption = 'Payment Terms'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 6
          Font.Style = []
          FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
          FormFieldSettings.FormFieldType = fftNone
          Transparent = True
          mmHeight = 2540
          mmLeft = 1588
          mmTop = 33616
          mmWidth = 14605
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLabel12: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'Label51'
          HyperlinkEnabled = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Caption = 'Total Payable'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 6
          Font.Style = []
          FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
          FormFieldSettings.FormFieldType = fftNone
          TextAlignment = taRightJustified
          Transparent = True
          mmHeight = 2540
          mmLeft = 179556
          mmTop = 33616
          mmWidth = 12531
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppDBText15: TppDBText
          DesignLayer = ppDesignLayer1
          UserName = 'DBText29'
          HyperlinkEnabled = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          DataField = 'Terms'
          DataPipeline = Main
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 9
          Font.Style = []
          ParentDataPipeline = False
          Transparent = True
          DataPipelineName = 'Main'
          mmHeight = 3810
          mmLeft = 1588
          mmTop = 37850
          mmWidth = 33338
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLabel13: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'lbRef1'
          HyperlinkEnabled = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Caption = 'Ref 1 '
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 6
          Font.Style = []
          FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
          FormFieldSettings.FormFieldType = fftNone
          Transparent = True
          Visible = False
          mmHeight = 2540
          mmLeft = 36513
          mmTop = 33616
          mmWidth = 5588
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppDBText16: TppDBText
          DesignLayer = ppDesignLayer1
          UserName = 'DBText101'
          HyperlinkEnabled = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          DataField = 'DocRef2'
          DataPipeline = Main
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 9
          Font.Style = []
          DataPipelineName = 'Main'
          mmHeight = 3810
          mmLeft = 84667
          mmTop = 37850
          mmWidth = 47096
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLabel14: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'lbRef2'
          HyperlinkEnabled = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Caption = 'Ref 2 '
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 6
          Font.Style = []
          FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
          FormFieldSettings.FormFieldType = fftNone
          Transparent = True
          Visible = False
          mmHeight = 2540
          mmLeft = 84667
          mmTop = 33616
          mmWidth = 5588
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppDBText17: TppDBText
          DesignLayer = ppDesignLayer1
          UserName = 'DBText14'
          HyperlinkEnabled = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          DataField = 'DocRef1'
          DataPipeline = Main
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 9
          Font.Style = []
          DataPipelineName = 'Main'
          mmHeight = 3810
          mmLeft = 36513
          mmTop = 37850
          mmWidth = 47096
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLabel15: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'lbRef3'
          HyperlinkEnabled = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Caption = 'Ref 3 '
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 6
          Font.Style = []
          FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
          FormFieldSettings.FormFieldType = fftNone
          Transparent = True
          Visible = False
          mmHeight = 2540
          mmLeft = 36513
          mmTop = 43406
          mmWidth = 5588
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppDBText18: TppDBText
          DesignLayer = ppDesignLayer1
          UserName = 'DBTxtRef4'
          HyperlinkEnabled = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          DataField = 'DocRef4'
          DataPipeline = Main
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 9
          Font.Style = []
          Transparent = True
          Visible = False
          DataPipelineName = 'Main'
          mmHeight = 3810
          mmLeft = 84667
          mmTop = 47639
          mmWidth = 47096
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLabel16: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'lbRef4'
          HyperlinkEnabled = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Caption = 'Ref 4 '
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 6
          Font.Style = []
          FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
          FormFieldSettings.FormFieldType = fftNone
          Transparent = True
          Visible = False
          mmHeight = 2540
          mmLeft = 84667
          mmTop = 43406
          mmWidth = 5588
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppDBText19: TppDBText
          DesignLayer = ppDesignLayer1
          UserName = 'DBTxtRef3'
          HyperlinkEnabled = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          DataField = 'DocRef3'
          DataPipeline = Main
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 9
          Font.Style = []
          Transparent = True
          Visible = False
          DataPipelineName = 'Main'
          mmHeight = 3810
          mmLeft = 36513
          mmTop = 47639
          mmWidth = 47096
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppVariable6: TppVariable
          DesignLayer = ppDesignLayer1
          UserName = 'VarPayAmt'
          HyperlinkEnabled = False
          AutoSize = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          BlankWhenZero = False
          CalcOrder = 1
          DataType = dtCurrency
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 11
          Font.Style = [fsBold]
          TextAlignment = taRightJustified
          Transparent = True
          mmHeight = 4699
          mmLeft = 135996
          mmTop = 36791
          mmWidth = 56092
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
      end
      object ppRegion4: TppRegion
        DesignLayer = ppDesignLayer1
        UserName = 'RegSign'
        KeepTogether = True
        Brush.Style = bsClear
        Caption = 'RegSign'
        ParentWidth = True
        Pen.Style = psClear
        ShiftRelativeTo = ppRegion6
        Transparent = True
        mmHeight = 25665
        mmLeft = 0
        mmTop = 52388
        mmWidth = 196850
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
        mmBottomOffset = 0
        mmOverFlowOffset = 0
        mmStopPosition = 0
        mmMinHeight = 0
        object ppLine1: TppLine
          DesignLayer = ppDesignLayer1
          UserName = 'Line6'
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Weight = 0.750000000000000000
          mmHeight = 2117
          mmLeft = 794
          mmTop = 54505
          mmWidth = 192352
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLabel8: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'Label61'
          HyperlinkEnabled = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Caption = 'Authorised Signature'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 6
          Font.Style = []
          FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
          FormFieldSettings.FormFieldType = fftNone
          TextAlignment = taRightJustified
          Transparent = True
          mmHeight = 2540
          mmLeft = 172572
          mmTop = 56357
          mmWidth = 19516
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLine2: TppLine
          DesignLayer = ppDesignLayer1
          UserName = 'Line7'
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Position = lpBottom
          Weight = 0.750000000000000000
          mmHeight = 1852
          mmLeft = 794
          mmTop = 74613
          mmWidth = 192352
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppVariable5: TppVariable
          DesignLayer = ppDesignLayer1
          UserName = 'Variable3'
          HyperlinkEnabled = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          BlankWhenZero = False
          CalcOrder = 2
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 6
          Font.Style = []
          TextAlignment = taRightJustified
          Transparent = True
          mmHeight = 2540
          mmLeft = 183494
          mmTop = 59797
          mmWidth = 8594
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
      end
    end
  end
  object raCodeModule1: TraCodeModule
    object raProgramInfo7: TraProgramInfo
      raClassName = 'TraVarProgram'
      raProgram.ChildType = 17
      raProgram.ProgramName = 'Variables'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure Variables;'#13#10'var'#13#10'   SQL_0, SQL_1, SQL_2, SQL_3, SQL_4:' +
        ' String;'#13#10#13#10'begin'#13#10#13#10'end;'#13#10
      raProgram.CaretPos = (
        37
        2)
    end
    object raProgramInfo8: TraProgramInfo
      raClassName = 'TraProgram'
      raProgram.ChildType = 19
      raProgram.ProgramName = 'GlobalOnCreate'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure GlobalOnCreate;'#13#10'begin'#13#10'   SQL_0 := '#39'SELECT DISTINCT D' +
        'ocKey, FromDocNo '#39' +'#13#10'            '#39'FROM Document_Detail'#39';'#13#10'   SQ' +
        'L_1 := '#39'SELECT DocKey, COUNT(*) '#39' +'#13#10'            '#39'FROM plSQL_0 '#39 +
        ' +'#13#10'            '#39'GROUP BY DocKey'#39';'#13#10'   SQL_2 := '#39'SELECT DocKey, ' +
        'ItemCode, UOM, UnitPrice, Disc, MIN(Seq) Seq, Description,'#39' +'#13#10#9 +
        #9#39'SUM(Qty) Qty, SUM(Amount) Amount, SUM(AmountWithTax) AmountWit' +
        'hTax '#39' +'#13#10'            '#39'FROM Document_Detail '#39' +'#13#10'            '#39'GR' +
        'OUP BY DocKey, ItemCode, Description, UOM, UnitPrice, Disc '#39';'#13#10' ' +
        '  SQL_3 := '#39'SELECT DocKey, ItemCode, Description, Description2, ' +
        'Description3, Seq '#39'+ '#13#10#9#9#39'FROM Document_Detail '#39' +'#13#10#9#9#39'ORDER BY ' +
        'Seq DESC'#39';'#13#10#9#9'SQL_4 := '#39'SELECT DocKey, Sum(TaxAmt) TaxAmt, Sum(L' +
        'ocalTaxAmt) LocalTaxAmt '#39'+ '#13#10#9#9'       '#39'FROM Document_Detail '#39' +'#13 +
        #10#9#9'       '#39'WHERE TaxAmt <> 0 '#39' +'#13#10'           '#39'GROUP BY DocKey'#39';'#13 +
        #10'end;'#13#10
      raProgram.CaretPos = (
        1
        15)
    end
    object raProgramInfo9: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'Variable3OnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure Variable3OnCalc(var Value: Variant);'#13#10'begin'#13#10#13#10'  Value' +
        ' := Profile.GetFieldValue('#39'CompanyName'#39') +'#13#10' '#39' ('#39' + Profile.GetF' +
        'ieldValue('#39'RegisterNo'#39') + '#39')'#39';'#13#10#13#10#13#10'end;'#13#10
      raProgram.ComponentName = 'Variable3'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
    end
    object raProgramInfo10: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'lbRef1OnPrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure lbRef1OnPrint;'#13#10'begin'#13#10'  lbRef1.Visible:= Trim(Main.Ge' +
        'tFieldValue('#39'DocRef1'#39')) <> '#39#39' ;'#13#10'end;'#13#10
      raProgram.ComponentName = 'lbRef1'
      raProgram.EventName = 'OnPrint'
      raProgram.EventID = 32
    end
    object raProgramInfo11: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'lbRef2OnPrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure lbRef2OnPrint;'#13#10'begin'#13#10'  lbRef2.Visible:= Trim(Main.Ge' +
        'tFieldValue('#39'DocRef2'#39')) <> '#39#39' ;'#13#10'end;'#13#10
      raProgram.ComponentName = 'lbRef2'
      raProgram.EventName = 'OnPrint'
      raProgram.EventID = 32
    end
    object raProgramInfo12: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'VarPayAmtOnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure VarPayAmtOnCalc(var Value: Variant);'#13#10'begin'#13#10#13#10'  Value' +
        ' := Main.GetFieldValue('#39'DocAmt'#39') - Main.GetfieldValue('#39'D_Amount'#39 +
        ');'#13#10#13#10'end;'#13#10
      raProgram.ComponentName = 'VarPayAmt'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
    end
    object raProgramInfo13: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'ReportBeforePrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure ReportBeforePrint;'#13#10'Var D: String;'#13#10'begin'#13#10'    D:= Opt' +
        'ion.GetFieldValue('#39'AccountingValueDisplayFormat'#39');'#13#10'    LocalSQL' +
        '_SELECT(plSQL_0, SQL_0, '#39'DocKey'#39');'#13#10'    LocalSQL_SELECT(plSQL_1,' +
        ' SQL_1, '#39'DocKey'#39');   '#13#10'    LocalSQL_SELECT(plSQL_2, SQL_2, '#39'DocK' +
        'ey;Seq'#39');'#13#10'    LocalSQL_SELECT(plSQL_3, SQL_3, '#39'DocKey;ItemCode;' +
        'Description'#39');'#13#10'    LocalSQL_SELECT(plSQL_4, SQL_4, '#39'DocKey'#39');'#13#10 +
        '    SetDataPipelineFieldLink(Main, plSQL_0, '#39'DocKey'#39', '#39'DocKey'#39');' +
        #13#10'    SetDataPipelineFieldLink(Main, plSQL_1, '#39'DocKey'#39', '#39'DocKey'#39 +
        ');'#13#10'    SetDataPipelineFieldLink(Main, plSQL_2, '#39'DocKey'#39', '#39'DocKe' +
        'y'#39');'#13#10'    SetDataPipelineFieldLink(plSQL_2, plSQL_3, '#39'DocKey;Ite' +
        'mCode;Description'#39', '#39'DocKey;ItemCode;Description'#39');'#13#10'    SetData' +
        'PipelineFieldLink(Main, plSQL_4, '#39'DocKey'#39', '#39'DocKey'#39');'#13#10#13#10'   VarP' +
        'ayAmt.DisplayFormat:=  D;'#13#10'   VarDeposit.DisplayFormat:= D;'#13#10'end' +
        ';'#13#10
      raProgram.ComponentName = 'Report'
      raProgram.EventName = 'BeforePrint'
      raProgram.EventID = 1
      raProgram.CaretPos = (
        3
        4)
    end
    object raProgramInfo14: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'VarDepositOnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure VarDepositOnCalc(var Value: Variant);'#13#10'begin'#13#10#13#10'  Valu' +
        'e := 0 - Main.GetFieldValue('#39'D_Amount'#39');'#13#10#13#10'end;'#13#10
      raProgram.ComponentName = 'VarDeposit'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
    end
    object raProgramInfo15: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'DetailBeforePrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure DetailBeforePrint;'#13#10'Var R3, R4: string;'#13#10'begin'#13#10'  R3:=' +
        ' Trim(Main.GetFieldValue('#39'DocRef3'#39'));'#13#10'  R4:= Trim(Main.GetField' +
        'Value('#39'DocRef4'#39'));'#13#10#13#10'  if ((R3 <> '#39#39') or'#13#10'     (R4 <> '#39#39')) and'#13 +
        #10'     (Main.GetFieldValue('#39'D_Amount'#39') <> 0) then begin'#13#10'     Gro' +
        'upFooterBand1.PrintPosition:= 7.6542;'#13#10'  end else'#13#10'  if ((R3 <> ' +
        #39#39') or'#13#10'     (R4 <> '#39#39')) and'#13#10'     (Main.GetFieldValue('#39'D_Amount' +
        #39') = 0) then begin'#13#10'     GroupFooterBand1.PrintPosition:= 8.0042' +
        ';'#13#10'  end else'#13#10'  if ((R3 = '#39#39') or'#13#10'     (R4 = '#39#39')) and'#13#10'     (Ma' +
        'in.GetFieldValue('#39'D_Amount'#39') = 0)  then begin'#13#10'     GroupFooterB' +
        'and1.PrintPosition:= 8.4;'#13#10'  end else'#13#10'  if ((R3 = '#39#39') or'#13#10'     ' +
        '(R4 = '#39#39')) and'#13#10'     (Main.GetFieldValue('#39'D_Amount'#39') <> 0)  then' +
        ' begin'#13#10'     GroupFooterBand1.PrintPosition:= 7.8;'#13#10'  end;'#13#10'end;' +
        #13#10
      raProgram.ComponentName = 'Detail'
      raProgram.EventName = 'BeforePrint'
      raProgram.EventID = 24
      raProgram.CaretPos = (
        69
        9)
    end
    object raProgramInfo16: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'Variable4OnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure Variable4OnCalc(var Value: Variant);'#13#10'begin'#13#10'  Value :' +
        '= Document_Currency.GetFieldValue('#39'Description'#39');'#13#10'  Value := Va' +
        'lue + '#39' : '#39' + CurrencyToEngWord(Main.GetFieldValue('#39'DocAmt'#39')) + ' +
        #39' ONLY'#39';'#13#10#13#10'end;'#13#10
      raProgram.ComponentName = 'Variable4'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
    end
    object raProgramInfo17: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'GroupFooterBand1BeforePrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure GroupFooterBand1BeforePrint;'#13#10'Var R3, R4: String;'#13#10'beg' +
        'in'#13#10'   R3:= Trim(Main.GetFieldValue('#39'DocRef3'#39'));'#13#10'   R4:= Trim(M' +
        'ain.GetFieldValue('#39'DocRef4'#39'));'#13#10'   if R3 = '#39#39' then begin'#13#10'      ' +
        'lbRef3.visible:= False;'#13#10'      DBTxtRef3.Visible:= False; end el' +
        'se'#13#10'   if R3 <> '#39#39' then begin'#13#10'      lbRef3.visible:= True;'#13#10'   ' +
        '   DBTxtRef3.Visible:= True; end;'#13#10'   if R4 = '#39#39' then begin'#13#10'   ' +
        '   lbRef4.visible:= False;'#13#10'      DBTxtRef4.Visible:= False; end' +
        ' else'#13#10'   if R4 <> '#39#39' then begin'#13#10'      lbRef4.visible:= True;'#13#10 +
        '      DBTxtRef4.Visible:= True; end;      '#13#10'end;'#13#10
      raProgram.ComponentName = 'GroupFooterBand1'
      raProgram.EventName = 'BeforePrint'
      raProgram.EventID = 24
    end
    object raProgramInfo18: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'RegDepositOnPrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure RegDepositOnPrint;'#13#10'begin'#13#10'    RegDeposit.Visible:= Va' +
        'rDeposit.Value <> 0;'#13#10'end;'#13#10
      raProgram.ComponentName = 'RegDeposit'
      raProgram.EventName = 'OnPrint'
      raProgram.EventID = 32
    end
    object raProgramInfo19: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'lbIVAttnOnPrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure lbIVAttnOnPrint;'#13#10'begin'#13#10'   lbIVAttn.Visible:= Trim(Ma' +
        'in.GetFieldValue('#39'Attention'#39')) <> '#39#39' ;'#13#10'end;'#13#10
      raProgram.ComponentName = 'lbIVAttn'
      raProgram.EventName = 'OnPrint'
      raProgram.EventID = 32
    end
    object raProgramInfo20: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'lbDOAttnOnPrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure lbDOAttnOnPrint;'#13#10'begin'#13#10'   lbDOAttn.Visible:= Trim(Ma' +
        'in.GetFieldValue('#39'DAttention'#39'))<> '#39#39';'#13#10'end;'#13#10
      raProgram.ComponentName = 'lbDOAttn'
      raProgram.EventName = 'OnPrint'
      raProgram.EventID = 32
    end
    object raProgramInfo21: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'lbDOTelOnPrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure lbDOTelOnPrint;'#13#10'begin'#13#10'   lbDOTel.Visible:= Trim(Main' +
        '.GetFieldValue('#39'DPhone1'#39')) <> '#39#39';'#13#10'end;'#13#10
      raProgram.ComponentName = 'lbDOTel'
      raProgram.EventName = 'OnPrint'
      raProgram.EventID = 32
    end
    object raProgramInfo22: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'lbDOFaxOnPrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure lbDOFaxOnPrint;'#13#10'begin'#13#10'    lbDOFax.Visible:= Trim(Mai' +
        'n.GetFieldValue('#39'DFax1'#39')) <> '#39#39';'#13#10'end;'#13#10
      raProgram.ComponentName = 'lbDOFax'
      raProgram.EventName = 'OnPrint'
      raProgram.EventID = 32
      raProgram.CaretPos = (
        3
        3)
    end
    object raProgramInfo23: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'lbIVTelOnPrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure lbIVTelOnPrint;'#13#10'begin'#13#10'    lbIVTel.Visible:= Trim(Mai' +
        'n.GetFieldValue('#39'Phone1'#39')) <> '#39#39' ;'#13#10'end;'#13#10
      raProgram.ComponentName = 'lbIVTel'
      raProgram.EventName = 'OnPrint'
      raProgram.EventID = 32
    end
    object raProgramInfo24: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'lbIVFaxOnPrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure lbIVFaxOnPrint;'#13#10'begin'#13#10'   lbIVFax.Visible:= Trim(Main' +
        '.GetFieldValue('#39'Fax1'#39')) <> '#39#39' ;'#13#10'end;'#13#10
      raProgram.ComponentName = 'lbIVFax'
      raProgram.EventName = 'OnPrint'
      raProgram.EventID = 32
    end
    object raProgramInfo25: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'RegFromDocNoOnPrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure RegFromDocNoOnPrint;'#13#10'begin'#13#10'      RegFromDocNo.Visibl' +
        'e:= plSQL_1.GetFieldValue('#39'COUNT(*)'#39') = 1;'#13#10'end;'#13#10
      raProgram.ComponentName = 'RegFromDocNo'
      raProgram.EventName = 'OnPrint'
      raProgram.EventID = 32
    end
    object raProgramInfo26: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'HeaderBeforePrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure HeaderBeforePrint;'#13#10'begin'#13#10'  lbDONo.Visible:= Trim(Var' +
        'FromDocNo.Value) <> '#39#39';'#13#10'  lbDODate.Visible:= Trim(VarFromDocNo.' +
        'Value) <>'#39#39';'#13#10'  VarFromDocDate.Visible:= Trim(VarFromDocNo.Value' +
        ') <>'#39#39';'#13#10'end;'#13#10
      raProgram.ComponentName = 'Header'
      raProgram.EventName = 'BeforePrint'
      raProgram.EventID = 24
    end
    object raProgramInfo27: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'lbLessDepositOnGetText'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure lbLessDepositOnGetText(var Text: String);'#13#10'Var DC: Str' +
        'ing;'#13#10'begin'#13#10'   DC:= Main.GetFieldValue('#39'D_ChequeNumber'#39'); '#13#10'   ' +
        'If Trim(DC) = '#39#39' then'#13#10'      Text := '#39'Less Deposit'#39' else'#13#10'   If ' +
        'Trim(DC) <> '#39#39' then'#13#10'      Text := '#39'Less Deposit   (Cheque No : ' +
        #39' + DC + '#39')'#39';'#13#10'end;'#13#10
      raProgram.ComponentName = 'lbLessDeposit'
      raProgram.EventName = 'OnGetText'
      raProgram.EventID = 53
      raProgram.CaretPos = (
        3
        4)
    end
    object raProgramInfo28: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'DBTxtBrchNameOnPrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure DBTxtBrchNameOnPrint;'#13#10'begin'#13#10'  DBTxtBrchName.visible:' +
        '= Main.GetFieldValue('#39'BranchName'#39') <> '#39'BILLING'#39';'#13#10'end;'#13#10
      raProgram.ComponentName = 'DBTxtBrchName'
      raProgram.EventName = 'OnPrint'
      raProgram.EventID = 32
      raProgram.CaretPos = (
        3
        3)
    end
    object raProgramInfo29: 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 raProgramInfo30: 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 raProgramInfo31: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'VarFromDocNoOnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure VarFromDocNoOnCalc(var Value: Variant);'#13#10'begin'#13#10'  Valu' +
        'e := '#39#39';'#13#10'  Value := value + Document_Detail.GetFieldValue('#39'From' +
        'DocNo'#39');'#13#10'end;'#13#10
      raProgram.ComponentName = 'VarFromDocNo'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
    end
    object raProgramInfo32: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'VarFromDocDateOnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure VarFromDocDateOnCalc(var Value: Variant);'#13#10'begin'#13#10'  Va' +
        'lue := null;'#13#10'  Value := Document_Detail.GetFieldValue('#39'FromDocD' +
        'ate'#39');'#13#10'end;'#13#10
      raProgram.ComponentName = 'VarFromDocDate'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
    end
    object raProgramInfo33: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'VarTotalExlTaxOnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure VarTotalExlTaxOnCalc(var Value: Variant);'#13#10'begin'#13#10#13#10'  ' +
        'Value :=    Main['#39'DocAmt'#39'] - plsql_4.getfieldvalue('#39'TaxAmt'#39');'#13#10#13 +
        #10'end;'#13#10
      raProgram.ComponentName = 'VarTotalExlTax'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
      raProgram.CaretPos = (
        41
        4)
    end
  end
  object ppDesignLayers1: TppDesignLayers
    object ppDesignLayer1: TppDesignLayer
      UserName = 'Foreground'
      LayerType = ltBanded
      Index = 0
    end
  end
  object ppParameterList1: TppParameterList
  end
end
