TdvSLCS
object TppReport
  AutoStop = False
  DataPipeline = Main
  NoDataBehaviors = [ndBlankReport]
  PassSetting = psTwoPass
  PrinterSetup.BinName = 'Default'
  PrinterSetup.DocumentName = 'SQL Financial Accounting: Sales Invoice 3 (Simple)'
  PrinterSetup.Duplex = dpNone
  PrinterSetup.PaperName = 'Letter'
  PrinterSetup.PrinterName = 'Default'
  PrinterSetup.SaveDeviceSettings = False
  PrinterSetup.mmMarginBottom = 6350
  PrinterSetup.mmMarginLeft = 7620
  PrinterSetup.mmMarginRight = 6350
  PrinterSetup.mmMarginTop = 6350
  PrinterSetup.mmPaperHeight = 279401
  PrinterSetup.mmPaperWidth = 215900
  PrinterSetup.PaperSize = 1
  SaveAsTemplate = True
  Template.DatabaseSettings.Name = '0Sales Cash Sales 3 (GST 1)'
  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.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.01'
  mmColumnWidth = 196850
  DataPipelineName = 'Main'
  object ppHeaderBand2: TppHeaderBand
    Background.Brush.Style = bsClear
    Border.mmPadding = 0
    PrintHeight = phDynamic
    mmBottomOffset = 0
    mmHeight = 92075
    mmPrintPosition = 0
    object Shape1: TppShape
      DesignLayer = ppDesignLayer1
      UserName = 'Shape1'
      Visible = False
      mmHeight = 32805
      mmLeft = 3440
      mmTop = 46047
      mmWidth = 107686
      BandType = 0
      LayerName = Foreground
    end
    object ppLine1: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line1'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Position = lpLeft
      Weight = 0.750000000000000000
      mmHeight = 5821
      mmLeft = 3440
      mmTop = 73031
      mmWidth = 1588
      BandType = 0
      LayerName = Foreground
    end
    object DBImage1: TppDBImage
      DesignLayer = ppDesignLayer1
      UserName = 'DBImage1'
      AlignHorizontal = ahCenter
      AlignVertical = avCenter
      MaintainAspectRatio = False
      Stretch = True
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'Logo'
      DataPipeline = Profile
      GraphicType = 'Bitmap'
      ParentDataPipeline = False
      DataPipelineName = 'Profile'
      mmHeight = 25400
      mmLeft = 794
      mmTop = 8215
      mmWidth = 25400
      BandType = 0
      LayerName = Foreground
    end
    object Line1: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line2'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      ParentWidth = True
      Weight = 0.750000000000000000
      mmHeight = 1323
      mmLeft = 0
      mmTop = 39701
      mmWidth = 201930
      BandType = 0
      LayerName = Foreground
    end
    object DBText1: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText1'
      HyperlinkEnabled = False
      RTLReading = 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 = 12
      Font.Style = [fsBold]
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 5027
      mmLeft = 152929
      mmTop = 40765
      mmWidth = 13759
      BandType = 0
      LayerName = Foreground
    end
    object Label2: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label2'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Tax Invoice'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 12
      Font.Style = [fsBold]
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 5027
      mmLeft = 123820
      mmTop = 40765
      mmWidth = 25136
      BandType = 0
      LayerName = Foreground
    end
    object DBText2: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText2'
      HyperlinkEnabled = False
      RTLReading = 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 = 6085
      mmTop = 55836
      mmWidth = 101600
      BandType = 0
      LayerName = Foreground
    end
    object DBText3: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText3'
      HyperlinkEnabled = False
      RTLReading = 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 = 6085
      mmTop = 60333
      mmWidth = 101600
      BandType = 0
      LayerName = Foreground
    end
    object DBText4: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText4'
      HyperlinkEnabled = False
      RTLReading = 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 = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 6085
      mmTop = 46841
      mmWidth = 101600
      BandType = 0
      LayerName = Foreground
    end
    object DBText5: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText5'
      HyperlinkEnabled = False
      RTLReading = 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 = 6085
      mmTop = 64831
      mmWidth = 101600
      BandType = 0
      LayerName = Foreground
    end
    object Line2: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line3'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Position = lpLeft
      Weight = 0.750000000000000000
      mmHeight = 5821
      mmLeft = 3440
      mmTop = 46047
      mmWidth = 7938
      BandType = 0
      LayerName = Foreground
    end
    object Line3: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line4'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Weight = 0.750000000000000000
      mmHeight = 3969
      mmLeft = 3704
      mmTop = 46047
      mmWidth = 7673
      BandType = 0
      LayerName = Foreground
    end
    object Line4: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line5'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Weight = 0.750000000000000000
      mmHeight = 1323
      mmLeft = 3440
      mmTop = 78587
      mmWidth = 7673
      BandType = 0
      LayerName = Foreground
    end
    object DBText6: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText6'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'Attention'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 15875
      mmTop = 69328
      mmWidth = 91811
      BandType = 0
      LayerName = Foreground
    end
    object ppLine2: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line8'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Weight = 0.750000000000000000
      mmHeight = 1852
      mmLeft = 102129
      mmTop = 46047
      mmWidth = 8996
      BandType = 0
      LayerName = Foreground
    end
    object ppLine3: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line6'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Position = lpLeft
      Weight = 0.750000000000000000
      mmHeight = 5821
      mmLeft = 110861
      mmTop = 46047
      mmWidth = 1852
      BandType = 0
      LayerName = Foreground
    end
    object Line8: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line7'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Weight = 0.750000000000000000
      mmHeight = 1058
      mmLeft = 102129
      mmTop = 78587
      mmWidth = 8996
      BandType = 0
      LayerName = Foreground
    end
    object Line9: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line9'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Position = lpLeft
      Weight = 0.750000000000000000
      mmHeight = 6615
      mmLeft = 110861
      mmTop = 72237
      mmWidth = 4498
      BandType = 0
      LayerName = Foreground
    end
    object Label3: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label3'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Your Ref.'
      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 = 123820
      mmTop = 47635
      mmWidth = 14478
      BandType = 0
      LayerName = Foreground
    end
    object Label4: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label4'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Our D/O No'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 4233
      mmLeft = 123820
      mmTop = 53720
      mmWidth = 18373
      BandType = 0
      LayerName = Foreground
    end
    object Label5: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label5'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Terms'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 4233
      mmLeft = 123820
      mmTop = 59011
      mmWidth = 9694
      BandType = 0
      LayerName = Foreground
    end
    object Label6: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label6'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Date '
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 4233
      mmLeft = 123820
      mmTop = 64036
      mmWidth = 8382
      BandType = 0
      LayerName = Foreground
    end
    object DBText8: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText8'
      HyperlinkEnabled = False
      RTLReading = False
      AutoSize = True
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'FromDocNo'
      DataPipeline = Document_Detail
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Document_Detail'
      mmHeight = 4233
      mmLeft = 152929
      mmTop = 53720
      mmWidth = 20278
      BandType = 0
      LayerName = Foreground
    end
    object DBText9: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText9'
      HyperlinkEnabled = False
      RTLReading = False
      AutoSize = True
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'Terms'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 152929
      mmTop = 59011
      mmWidth = 3810
      BandType = 0
      LayerName = Foreground
    end
    object DBText10: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText10'
      HyperlinkEnabled = False
      RTLReading = 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 = 10
      Font.Style = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 152929
      mmTop = 64036
      mmWidth = 24172
      BandType = 0
      LayerName = Foreground
    end
    object Line11: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line11'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      ParentWidth = True
      Position = lpBottom
      Weight = 0.750000000000000000
      mmHeight = 1852
      mmLeft = 0
      mmTop = 90219
      mmWidth = 201930
      BandType = 0
      LayerName = Foreground
    end
    object DBRichText1: TppDBRichText
      DesignLayer = ppDesignLayer1
      UserName = 'DBRichText1'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 8
      Font.Style = []
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      ExportRTFAsBitmap = False
      DataField = 'Note'
      DataPipeline = Profile
      ParentDataPipeline = False
      RemoveEmptyLines = False
      DataPipelineName = 'Profile'
      mmHeight = 30964
      mmLeft = 26459
      mmTop = 8215
      mmWidth = 144780
      BandType = 0
      LayerName = Foreground
      mmBottomOffset = 0
      mmOverFlowOffset = 0
      mmStopPosition = 0
      mmMinHeight = 0
      mmLeftMargin = 794
    end
    object Label20: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label20'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Page'
      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 = 123820
      mmTop = 69856
      mmWidth = 7620
      BandType = 0
      LayerName = Foreground
    end
    object Label23: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label23'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = ':'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taRightJustified
      Transparent = True
      mmHeight = 4233
      mmLeft = 150114
      mmTop = 69856
      mmWidth = 1228
      BandType = 0
      LayerName = Foreground
    end
    object Label24: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label24'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = ':'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taRightJustified
      Transparent = True
      mmHeight = 4233
      mmLeft = 150114
      mmTop = 47635
      mmWidth = 1228
      BandType = 0
      LayerName = Foreground
    end
    object Label25: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label25'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = ':'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taRightJustified
      Transparent = True
      mmHeight = 4233
      mmLeft = 150114
      mmTop = 64036
      mmWidth = 1228
      BandType = 0
      LayerName = Foreground
    end
    object Label26: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label26'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = ':'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taRightJustified
      Transparent = True
      mmHeight = 4233
      mmLeft = 150114
      mmTop = 59011
      mmWidth = 1228
      BandType = 0
      LayerName = Foreground
    end
    object Label27: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label27'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = ':'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taRightJustified
      Transparent = True
      mmHeight = 4233
      mmLeft = 150114
      mmTop = 53720
      mmWidth = 1228
      BandType = 0
      LayerName = Foreground
    end
    object Label28: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label28'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = ':'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 12
      Font.Style = [fsBold]
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taRightJustified
      Transparent = True
      mmHeight = 5027
      mmLeft = 149754
      mmTop = 40765
      mmWidth = 1588
      BandType = 0
      LayerName = Foreground
    end
    object DBText12: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText12'
      HyperlinkEnabled = False
      RTLReading = 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 = 6085
      mmTop = 51338
      mmWidth = 101600
      BandType = 0
      LayerName = Foreground
    end
    object Label12: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label12'
      HyperlinkEnabled = False
      RTLReading = 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 = 6085
      mmTop = 73826
      mmWidth = 8086
      BandType = 0
      LayerName = Foreground
    end
    object Label17: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label17'
      HyperlinkEnabled = False
      RTLReading = 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 = 60590
      mmTop = 73826
      mmWidth = 8297
      BandType = 0
      LayerName = Foreground
    end
    object DBText17: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText7'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'Phone1'
      DataPipeline = Main
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 15081
      mmTop = 73826
      mmWidth = 41275
      BandType = 0
      LayerName = Foreground
    end
    object DBText18: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText18'
      HyperlinkEnabled = False
      RTLReading = 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 = []
      ParentDataPipeline = False
      Transparent = True
      DataPipelineName = 'Main'
      mmHeight = 4233
      mmLeft = 70379
      mmTop = 73826
      mmWidth = 8424
      BandType = 0
      LayerName = Foreground
    end
    object DBText7: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBText11'
      HyperlinkEnabled = False
      RTLReading = False
      AutoSize = True
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'DocRef1'
      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 = 152929
      mmTop = 47635
      mmWidth = 35475
      BandType = 0
      LayerName = Foreground
    end
    object ppLabel1: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label7'
      HyperlinkEnabled = False
      RTLReading = False
      AutoSize = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'No'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 8
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taCentered
      Transparent = True
      mmHeight = 3810
      mmLeft = 794
      mmTop = 85473
      mmWidth = 12171
      BandType = 0
      LayerName = Foreground
    end
    object Label31: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label31'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Description'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 8
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 3440
      mmLeft = 39952
      mmTop = 85473
      mmWidth = 14023
      BandType = 0
      LayerName = Foreground
    end
    object Label33: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label33'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Qty'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 8
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      mmHeight = 3440
      mmLeft = 74064
      mmTop = 85473
      mmWidth = 4762
      BandType = 0
      LayerName = Foreground
    end
    object Label37: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'lbTaxRate'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'GST Amt @ 7% (SGD)'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 8
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taRightJustified
      Transparent = True
      WordWrap = True
      mmHeight = 6879
      mmLeft = 155575
      mmTop = 83344
      mmWidth = 15611
      BandType = 0
      LayerName = Foreground
    end
    object Label39: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label39'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Price/Unit'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 8
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taRightJustified
      Transparent = True
      mmHeight = 3440
      mmLeft = 88890
      mmTop = 85473
      mmWidth = 12171
      BandType = 0
      LayerName = Foreground
    end
    object Label41: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label41'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Total Incl. GST (SGD)'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 8
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taRightJustified
      Transparent = True
      WordWrap = True
      mmHeight = 6879
      mmLeft = 173038
      mmTop = 83344
      mmWidth = 16933
      BandType = 0
      LayerName = Foreground
    end
    object ppLine4: TppLine
      DesignLayer = ppDesignLayer1
      UserName = 'Line10'
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      ParentWidth = True
      Weight = 0.750000000000000000
      mmHeight = 2117
      mmLeft = 0
      mmTop = 82021
      mmWidth = 201930
      BandType = 0
      LayerName = Foreground
    end
    object ppSystemVariable1: TppSystemVariable
      DesignLayer = ppDesignLayer1
      UserName = 'SystemVariable1'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      VarType = vtPageSet
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      Transparent = True
      mmHeight = 4233
      mmLeft = 152929
      mmTop = 69856
      mmWidth = 9017
      BandType = 0
      LayerName = Foreground
    end
    object ppLabel2: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label8'
      HyperlinkEnabled = False
      RTLReading = 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 = 6085
      mmTop = 69328
      mmWidth = 8731
      BandType = 0
      LayerName = Foreground
    end
    object ppLabel3: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label1'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Total Excl. GST (SGD)'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 8
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taRightJustified
      Transparent = True
      WordWrap = True
      mmHeight = 6879
      mmLeft = 138642
      mmTop = 83344
      mmWidth = 16933
      BandType = 0
      LayerName = Foreground
    end
    object ppLabel4: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label9'
      RTLReading = False
      Border.mmPadding = 0
      Caption = 'Sub Total'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 8
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taRightJustified
      Transparent = True
      mmHeight = 3440
      mmLeft = 123550
      mmTop = 85473
      mmWidth = 11906
      BandType = 0
      LayerName = Foreground
    end
    object ppLabel5: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label10'
      RTLReading = False
      Border.mmPadding = 0
      Caption = 'Discount'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 8
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taRightJustified
      Transparent = True
      mmHeight = 3440
      mmLeft = 106350
      mmTop = 85473
      mmWidth = 10848
      BandType = 0
      LayerName = Foreground
    end
    object ppLabel8: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'lbCurrRate'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = 'Currency Rate'
      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 = 123820
      mmTop = 74889
      mmWidth = 21431
      BandType = 0
      LayerName = Foreground
    end
    object ppDBText9: TppDBText
      DesignLayer = ppDesignLayer1
      UserName = 'DBTxtCurrRate'
      HyperlinkEnabled = False
      RTLReading = False
      AutoSize = True
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      DataField = 'CurrencyRate'
      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 = 152929
      mmTop = 74889
      mmWidth = 20373
      BandType = 0
      LayerName = Foreground
    end
    object ppLabel9: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'lbCurrRate1'
      HyperlinkEnabled = False
      RTLReading = False
      Border.Weight = 1.000000000000000000
      Border.mmPadding = 0
      Caption = ':'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 10
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taRightJustified
      Transparent = True
      mmHeight = 4233
      mmLeft = 150114
      mmTop = 74889
      mmWidth = 1323
      BandType = 0
      LayerName = Foreground
    end
    object ppLabel10: TppLabel
      DesignLayer = ppDesignLayer1
      UserName = 'Label11'
      RTLReading = False
      Border.mmPadding = 0
      Caption = 'Tax'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 8
      Font.Style = []
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      TextAlignment = taCentered
      Transparent = True
      mmHeight = 3439
      mmLeft = 191823
      mmTop = 85461
      mmWidth = 4763
      BandType = 0
      LayerName = Foreground
    end
  end
  object ppDetailBand2: TppDetailBand
    Background1.Brush.Style = bsClear
    Background2.Brush.Style = bsClear
    Border.mmPadding = 0
    PrintHeight = phDynamic
    mmBottomOffset = 0
    mmHeight = 9790
    mmPrintPosition = 0
    object ppSubReport1: TppSubReport
      DesignLayer = ppDesignLayer1
      UserName = 'SubRptNorm'
      ExpandAll = False
      NewPrintJob = False
      OutlineSettings.CreateNode = True
      TraverseAllData = False
      Visible = False
      DataPipelineName = 'Document_Detail'
      mmHeight = 5027
      mmLeft = 0
      mmTop = 0
      mmWidth = 201930
      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 Invoice 3 (Simple)'
        PrinterSetup.Duplex = dpNone
        PrinterSetup.PaperName = 'Letter'
        PrinterSetup.PrinterName = 'Default'
        PrinterSetup.SaveDeviceSettings = False
        PrinterSetup.mmMarginBottom = 6350
        PrinterSetup.mmMarginLeft = 7620
        PrinterSetup.mmMarginRight = 6350
        PrinterSetup.mmMarginTop = 6350
        PrinterSetup.mmPaperHeight = 279401
        PrinterSetup.mmPaperWidth = 215900
        PrinterSetup.PaperSize = 1
        Template.DatabaseSettings.NameField = 'Name'
        Template.DatabaseSettings.TemplateField = 'Template'
        Template.SaveTo = stDatabase
        Template.Format = ftASCII
        Version = '19.01'
        mmColumnWidth = 0
        DataPipelineName = 'Document_Detail'
        object ppDetailBand3: TppDetailBand
          Background1.Brush.Style = bsClear
          Background2.Brush.Style = bsClear
          Border.mmPadding = 0
          PrintHeight = phDynamic
          mmBottomOffset = 0
          mmHeight = 12700
          mmPrintPosition = 0
          object ppDBRichText1: 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 = Document_Detail
            RemoveEmptyLines = False
            ShiftRelativeTo = DBMemo1
            Stretch = True
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 1588
            mmLeft = 13452
            mmTop = 5291
            mmWidth = 48371
            BandType = 4
            LayerName = Foreground2
            mmBottomOffset = 0
            mmOverFlowOffset = 0
            mmStopPosition = 0
            mmMinHeight = 0
            mmLeftMargin = 794
          end
          object ppDBText1: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBText6'
            HyperlinkEnabled = False
            RTLReading = 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 = 86165
            mmTop = 794
            mmWidth = 15081
            BandType = 4
            LayerName = Foreground2
          end
          object DBMemo1: TppDBMemo
            DesignLayer = ppDesignLayer3
            UserName = 'DBMemo1'
            RTLReading = False
            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 = 13452
            mmTop = 794
            mmWidth = 48371
            BandType = 4
            LayerName = Foreground2
            mmBottomOffset = 0
            mmOverFlowOffset = 0
            mmStopPosition = 0
            mmMinHeight = 0
            mmLeading = 0
          end
          object ppDBText2: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBText7'
            HyperlinkEnabled = False
            RTLReading = 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 = 61823
            mmTop = 794
            mmWidth = 13758
            BandType = 4
            LayerName = Foreground2
          end
          object ppDBText3: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBText8'
            HyperlinkEnabled = False
            RTLReading = 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 = 76904
            mmTop = 794
            mmWidth = 8996
            BandType = 4
            LayerName = Foreground2
          end
          object ppDBText4: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBText9'
            HyperlinkEnabled = False
            RTLReading = False
            BlankWhenZero = True
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'LocalAmountWithTax'
            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 = 3704
            mmLeft = 171968
            mmTop = 794
            mmWidth = 17198
            BandType = 4
            LayerName = Foreground2
          end
          object DBCalc1: TppDBCalc
            DesignLayer = ppDesignLayer3
            UserName = 'DBCalc1'
            HyperlinkEnabled = False
            RTLReading = 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 = Foreground2
          end
          object ppDBText5: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBText3'
            HyperlinkEnabled = False
            RTLReading = 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 = 101511
            mmTop = 794
            mmWidth = 15081
            BandType = 4
            LayerName = Foreground2
          end
          object ppSubReport3: TppSubReport
            DesignLayer = ppDesignLayer3
            UserName = 'SubReport1'
            ExpandAll = False
            NewPrintJob = False
            OutlineSettings.CreateNode = True
            ShiftRelativeTo = ppDBRichText1
            TraverseAllData = False
            DataPipelineName = 'Document_SerialNumber'
            mmHeight = 5027
            mmLeft = 0
            mmTop = 7673
            mmWidth = 201930
            BandType = 4
            LayerName = Foreground2
            mmBottomOffset = 0
            mmOverFlowOffset = 0
            mmStopPosition = 0
            mmMinHeight = 0
            object ppChildReport3: TppChildReport
              AutoStop = False
              DataPipeline = Document_SerialNumber
              PrinterSetup.BinName = 'Default'
              PrinterSetup.DocumentName = 'SQL Financial Accounting: Sales Invoice 3 (Simple)'
              PrinterSetup.Duplex = dpNone
              PrinterSetup.PaperName = 'Letter'
              PrinterSetup.PrinterName = 'Default'
              PrinterSetup.SaveDeviceSettings = False
              PrinterSetup.mmMarginBottom = 6350
              PrinterSetup.mmMarginLeft = 7620
              PrinterSetup.mmMarginRight = 6350
              PrinterSetup.mmMarginTop = 6350
              PrinterSetup.mmPaperHeight = 279401
              PrinterSetup.mmPaperWidth = 215900
              PrinterSetup.PaperSize = 1
              Template.DatabaseSettings.NameField = 'Name'
              Template.DatabaseSettings.TemplateField = 'Template'
              Template.SaveTo = stDatabase
              Template.Format = ftASCII
              Version = '19.01'
              mmColumnWidth = 0
              DataPipelineName = 'Document_SerialNumber'
              object ppDetailBand4: TppDetailBand
                Background1.Brush.Style = bsClear
                Background2.Brush.Style = bsClear
                Border.mmPadding = 0
                mmBottomOffset = 0
                mmHeight = 0
                mmPrintPosition = 0
              end
              object ppSummaryBand1: TppSummaryBand
                Background.Brush.Style = bsClear
                Border.mmPadding = 0
                PrintHeight = phDynamic
                mmBottomOffset = 0
                mmHeight = 5027
                mmPrintPosition = 0
                object ppVariable8: TppVariable
                  DesignLayer = ppDesignLayer2
                  UserName = 'vSerialNo'
                  HyperlinkEnabled = False
                  RTLReading = False
                  Border.mmPadding = 0
                  BlankWhenZero = False
                  CalcOrder = 0
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlue
                  Font.Name = 'Tahoma'
                  Font.Size = 8
                  Font.Style = []
                  Transparent = True
                  Visible = False
                  mmHeight = 3440
                  mmLeft = 0
                  mmTop = 529
                  mmWidth = 13229
                  BandType = 7
                  LayerName = Foreground1
                end
                object ppMemo1: TppMemo
                  DesignLayer = ppDesignLayer2
                  UserName = 'Memo1'
                  RTLReading = False
                  Border.mmPadding = 0
                  Caption = 'Memo1'
                  CharWrap = False
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlue
                  Font.Name = 'Tahoma'
                  Font.Size = 8
                  Font.Style = []
                  RemoveEmptyLines = False
                  Stretch = True
                  Transparent = True
                  mmHeight = 5027
                  mmLeft = 39952
                  mmTop = 0
                  mmWidth = 113771
                  BandType = 7
                  LayerName = Foreground1
                  mmBottomOffset = 0
                  mmOverFlowOffset = 0
                  mmStopPosition = 0
                  mmMinHeight = 0
                  mmLeading = 0
                end
              end
              object raCodeModule4: TraCodeModule
                object raProgramInfo5: TraProgramInfo
                  raClassName = 'TraEventHandler'
                  raProgram.ProgramName = 'DetailBeforeGenerate'
                  raProgram.ProgramType = ttProcedure
                  raProgram.Source = 
                    'procedure DetailBeforeGenerate;'#13#10'begin'#13#10' if Detail.Count = 1 the' +
                    'n'#13#10'   vSerialNo.Value := Document_SerialNumber.GetFieldValue('#39'Se' +
                    'rialNumber'#39') else'#13#10'   vSerialNo.Value := vSerialNo.Value + '#39', '#39' ' +
                    '+  Document_SerialNumber.GetFieldValue('#39'SerialNumber'#39');'#13#10'   Memo' +
                    '1.Lines.Text := '#39'Serial No:- '#39' + vSerialNo.Value;'#13#10'end;'#13#10
                  raProgram.ComponentName = 'Detail'
                  raProgram.EventName = 'BeforeGenerate'
                  raProgram.EventID = 26
                end
              end
              object ppDesignLayers2: TppDesignLayers
                object ppDesignLayer2: TppDesignLayer
                  UserName = 'Foreground1'
                  LayerType = ltBanded
                  Index = 0
                end
              end
            end
          end
          object ppDBText6: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBText1'
            RTLReading = False
            Border.mmPadding = 0
            DataField = 'Amount'
            DataPipeline = Document_Detail
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 4498
            mmLeft = 116121
            mmTop = 794
            mmWidth = 18521
            BandType = 4
            LayerName = Foreground2
          end
          object ppDBText7: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBText2'
            RTLReading = False
            Border.mmPadding = 0
            DataField = 'LocalAmount'
            DataPipeline = Document_Detail
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 4498
            mmLeft = 135174
            mmTop = 794
            mmWidth = 18521
            BandType = 4
            LayerName = Foreground2
          end
          object ppDBText8: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBText4'
            RTLReading = False
            Border.mmPadding = 0
            DataField = 'LocalTaxAmt'
            DataPipeline = Document_Detail
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 4498
            mmLeft = 153987
            mmTop = 794
            mmWidth = 17198
            BandType = 4
            LayerName = Foreground2
          end
          object ppDBText11: TppDBText
            DesignLayer = ppDesignLayer3
            UserName = 'DBText11'
            RTLReading = False
            Border.mmPadding = 0
            DataField = 'Tax'
            DataPipeline = Document_Detail
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 8
            Font.Style = []
            TextAlignment = taCentered
            Transparent = True
            DataPipelineName = 'Document_Detail'
            mmHeight = 3704
            mmLeft = 189969
            mmTop = 794
            mmWidth = 7661
            BandType = 4
            LayerName = Foreground2
          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 ppVariable11: TppVariable
              DesignLayer = ppDesignLayer3
              UserName = 'Variable4'
              HyperlinkEnabled = False
              RTLReading = 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 = Foreground2
            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 raProgramInfo6: TraProgramInfo
            raClassName = 'TraEventHandler'
            raProgram.ProgramName = 'DetailBeforePrint'
            raProgram.ProgramType = ttProcedure
            raProgram.Source = 
              'procedure DetailBeforePrint;'#13#10'begin'#13#10'  Detail.Visible := Documen' +
              't_Detail.GetFieldValue('#39'ItemCode'#39') <> '#39'RTN5Cents'#39';'#13#10'end;'#13#10
            raProgram.ComponentName = 'Detail'
            raProgram.EventName = 'BeforePrint'
            raProgram.EventID = 24
            raProgram.CaretPos = (
              3
              3)
          end
          object raProgramInfo7: 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'   Variable4.Visible := (plSQL_1.GetFie' +
              'ldValue('#39'Nos'#39') > 1);'#13#10'   FDN:= Document_Detail.GetfieldValue('#39'Fr' +
              'omDocNo'#39');'#13#10'   FDD:= Document_Detail.GetFieldValue('#39'FromDocDate'#39 +
              ');'#13#10'   If Trim(FDN) <> '#39#39' then'#13#10'      D := '#39'From Doc No. : '#39' + F' +
              'DN + '#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'   Val' +
              'ue:= D + DD;'#9#9' '#13#10'end;'#13#10
            raProgram.ComponentName = 'Variable4'
            raProgram.EventName = 'OnCalc'
            raProgram.EventID = 33
            raProgram.CaretPos = (
              22
              14)
          end
        end
        object ppDesignLayers3: TppDesignLayers
          object ppDesignLayer3: TppDesignLayer
            UserName = 'Foreground2'
            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 = 4763
      mmWidth = 201930
      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 Invoice 3 (Simple)'
        PrinterSetup.Duplex = dpNone
        PrinterSetup.PaperName = 'Letter'
        PrinterSetup.PrinterName = 'Default'
        PrinterSetup.SaveDeviceSettings = False
        PrinterSetup.mmMarginBottom = 6350
        PrinterSetup.mmMarginLeft = 7620
        PrinterSetup.mmMarginRight = 6350
        PrinterSetup.mmMarginTop = 6350
        PrinterSetup.mmPaperHeight = 279401
        PrinterSetup.mmPaperWidth = 215900
        PrinterSetup.PaperSize = 1
        Template.DatabaseSettings.NameField = 'Name'
        Template.DatabaseSettings.TemplateField = 'Template'
        Template.SaveTo = stDatabase
        Template.Format = ftASCII
        Version = '19.01'
        mmColumnWidth = 0
        DataPipelineName = 'plSQL_2'
        object ppDetailBand1: TppDetailBand
          Background1.Brush.Style = bsClear
          Background2.Brush.Style = bsClear
          Border.mmPadding = 0
          PrintHeight = phDynamic
          mmBottomOffset = 0
          mmHeight = 6879
          mmPrintPosition = 0
          object ppDBRichText3: TppDBRichText
            DesignLayer = ppDesignLayer4
            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 = 12965
            mmTop = 5291
            mmWidth = 48419
            BandType = 4
            LayerName = Foreground3
            mmBottomOffset = 0
            mmOverFlowOffset = 0
            mmStopPosition = 0
            mmMinHeight = 0
            mmLeftMargin = 794
          end
          object ppDBText10: TppDBText
            DesignLayer = ppDesignLayer4
            UserName = 'DBTxtUPrice'
            HyperlinkEnabled = False
            RTLReading = 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 = 86254
            mmTop = 794
            mmWidth = 15081
            BandType = 4
            LayerName = Foreground3
          end
          object ppDBMemo1: TppDBMemo
            DesignLayer = ppDesignLayer4
            UserName = 'DBMemo1'
            RTLReading = False
            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 = 12965
            mmTop = 794
            mmWidth = 48419
            BandType = 4
            LayerName = Foreground3
            mmBottomOffset = 0
            mmOverFlowOffset = 0
            mmStopPosition = 0
            mmMinHeight = 0
            mmLeading = 0
          end
          object ppDBText12: TppDBText
            DesignLayer = ppDesignLayer4
            UserName = 'DBTxtQty'
            HyperlinkEnabled = False
            RTLReading = 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 = 61913
            mmTop = 794
            mmWidth = 13758
            BandType = 4
            LayerName = Foreground3
          end
          object ppDBText20: TppDBText
            DesignLayer = ppDesignLayer4
            UserName = 'DBText8'
            HyperlinkEnabled = False
            RTLReading = 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 = 76994
            mmTop = 794
            mmWidth = 8996
            BandType = 4
            LayerName = Foreground3
          end
          object ppDBText21: TppDBText
            DesignLayer = ppDesignLayer4
            UserName = 'DBTxtLocalAmtWithTax'
            HyperlinkEnabled = False
            RTLReading = False
            BlankWhenZero = True
            Border.Weight = 1.000000000000000000
            Border.mmPadding = 0
            DataField = 'LocalAmountWithTax'
            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 = 170657
            mmTop = 794
            mmWidth = 18521
            BandType = 4
            LayerName = Foreground3
          end
          object ppDBCalc1: TppDBCalc
            DesignLayer = ppDesignLayer4
            UserName = 'DBCalc1'
            HyperlinkEnabled = False
            RTLReading = 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 = []
            ParentDataPipeline = False
            TextAlignment = taCentered
            Transparent = True
            DBCalcType = dcCount
            DataPipelineName = 'plSQL_2'
            mmHeight = 3810
            mmLeft = 794
            mmTop = 794
            mmWidth = 12171
            BandType = 4
            LayerName = Foreground3
          end
          object ppDBText22: TppDBText
            DesignLayer = ppDesignLayer4
            UserName = 'DBText3'
            HyperlinkEnabled = False
            RTLReading = 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 = 101600
            mmTop = 794
            mmWidth = 15081
            BandType = 4
            LayerName = Foreground3
          end
          object ppDBText17: TppDBText
            DesignLayer = ppDesignLayer4
            UserName = 'DBTxtAmt'
            RTLReading = False
            Border.mmPadding = 0
            DataField = 'Amount'
            DataPipeline = plSQL_2
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'plSQL_2'
            mmHeight = 4498
            mmLeft = 116152
            mmTop = 794
            mmWidth = 18521
            BandType = 4
            LayerName = Foreground3
          end
          object ppDBText18: TppDBText
            DesignLayer = ppDesignLayer4
            UserName = 'DBTxtLocalAmt'
            RTLReading = False
            Border.mmPadding = 0
            DataField = 'LocalAmount'
            DataPipeline = plSQL_2
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'plSQL_2'
            mmHeight = 4498
            mmLeft = 135202
            mmTop = 794
            mmWidth = 18521
            BandType = 4
            LayerName = Foreground3
          end
          object ppDBText19: TppDBText
            DesignLayer = ppDesignLayer4
            UserName = 'DBTxtLocalTaxAmt'
            RTLReading = False
            Border.mmPadding = 0
            DataField = 'LocalTaxAmt'
            DataPipeline = plSQL_2
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 9
            Font.Style = []
            TextAlignment = taRightJustified
            Transparent = True
            DataPipelineName = 'plSQL_2'
            mmHeight = 4498
            mmLeft = 153988
            mmTop = 794
            mmWidth = 17198
            BandType = 4
            LayerName = Foreground3
          end
          object ppDBText27: TppDBText
            DesignLayer = ppDesignLayer4
            UserName = 'DBText27'
            RTLReading = False
            Border.mmPadding = 0
            DataField = 'Tax'
            DataPipeline = plSQL_2
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Name = 'Tahoma'
            Font.Size = 8
            Font.Style = []
            TextAlignment = taCentered
            Transparent = True
            DataPipelineName = 'plSQL_2'
            mmHeight = 3704
            mmLeft = 189971
            mmTop = 793
            mmWidth = 7661
            BandType = 4
            LayerName = Foreground3
          end
        end
        object raCodeModule3: TraCodeModule
          object raProgramInfo8: TraProgramInfo
            raClassName = 'TraEventHandler'
            raProgram.ProgramName = 'DetailBeforePrint'
            raProgram.ProgramType = ttProcedure
            raProgram.Source = 
              'procedure DetailBeforePrint;'#13#10'begin'#13#10'  DBTxtQty.DisplayFormat   ' +
              '          := Option.GetFieldValue('#39'StockQuantityDisplayFormat'#39');' +
              #13#10'  DBTxtUPrice.DisplayFormat          := Option.GetFieldValue('#39 +
              'StockPriceDisplayFormat'#39');'#13#10'  DBTxtAmt.DisplayFormat            ' +
              ' := Option.GetFieldValue('#39'AccountingValueDisplayFormat'#39');'#13#10'  DBT' +
              'xtLocalAmt.DisplayFormat        := Option.GetFieldValue('#39'Account' +
              'ingValueDisplayFormat'#39');'#13#10'  DBtxtLocalTaxAmt.DisplayFormat     :' +
              '= Option.GetFieldValue('#39'AccountingValueDisplayFormat'#39');'#13#10'  DBTxt' +
              'LocalAmtWithTax.DisplayFormat := Option.GetFieldValue('#39'Accountin' +
              'gValueDisplayFormat'#39');'#13#10'end;'#13#10
            raProgram.ComponentName = 'Detail'
            raProgram.EventName = 'BeforePrint'
            raProgram.EventID = 24
            raProgram.CaretPos = (
              3
              8)
          end
        end
        object ppDesignLayers4: TppDesignLayers
          object ppDesignLayer4: TppDesignLayer
            UserName = 'Foreground3'
            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 ppPageStyle1: TppPageStyle
    Background.Brush.Style = bsClear
    Border.mmPadding = 0
    EndPage = 0
    SinglePage = 0
    StartPage = 0
    mmBottomOffset = 0
    mmHeight = 266701
    mmPrintPosition = 0
    object ppLabel11: TppLabel
      DesignLayer = ppDesignLayer5
      UserName = 'Label13'
      RTLReading = False
      Border.mmPadding = 0
      Caption = 'Duplicate Copy'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Tahoma'
      Font.Size = 12
      Font.Style = [fsBold]
      FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
      FormFieldSettings.FormFieldType = fftNone
      Transparent = True
      Visible = False
      mmHeight = 5027
      mmLeft = 84931
      mmTop = 40746
      mmWidth = 32279
      BandType = 10
      LayerName = DuplicateCopy
    end
  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
      HideWhenOneDetail = False
      mmBottomOffset = 0
      mmHeight = 57150
      mmPrintPosition = 203200
      object ppShape3: TppShape
        DesignLayer = ppDesignLayer1
        UserName = 'Shape5'
        mmHeight = 5556
        mmLeft = 127529
        mmTop = 36260
        mmWidth = 30956
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppShape1: TppShape
        DesignLayer = ppDesignLayer1
        UserName = 'Shape2'
        mmHeight = 16669
        mmLeft = 159279
        mmTop = 19592
        mmWidth = 33602
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object Label15: TppLabel
        DesignLayer = ppDesignLayer1
        UserName = 'lbTotalAmt'
        HyperlinkEnabled = False
        RTLReading = False
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        Caption = 'Total Amount Due'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
        FormFieldSettings.FormFieldType = fftNone
        TextAlignment = taRightJustified
        Transparent = True
        mmHeight = 3705
        mmLeft = 74073
        mmTop = 12435
        mmWidth = 26988
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object Label16: TppLabel
        DesignLayer = ppDesignLayer1
        UserName = 'Label16'
        HyperlinkEnabled = False
        RTLReading = False
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        Caption = 'Authorised Signature'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = [fsBold]
        FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
        FormFieldSettings.FormFieldType = fftNone
        Transparent = True
        mmHeight = 3810
        mmLeft = 10319
        mmTop = 51061
        mmWidth = 33909
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object Line12: TppLine
        DesignLayer = ppDesignLayer1
        UserName = 'Line12'
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        Weight = 0.750000000000000000
        mmHeight = 265
        mmLeft = 1323
        mmTop = 49738
        mmWidth = 60590
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object Line14: TppLine
        DesignLayer = ppDesignLayer1
        UserName = 'Line14'
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        ParentWidth = True
        Weight = 0.750000000000000000
        mmHeight = 1323
        mmLeft = 0
        mmTop = 11129
        mmWidth = 201930
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object Memo2: TppMemo
        DesignLayer = ppDesignLayer1
        UserName = 'Memo2'
        RTLReading = False
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        Caption = 'Memo2'
        CharWrap = False
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 8
        Font.Style = []
        Lines.Strings = (
          'Notes :'
          '1. All cheques should be crossed and made payable to ')
        RemoveEmptyLines = False
        Transparent = True
        mmHeight = 7673
        mmLeft = 2646
        mmTop = 15349
        mmWidth = 75142
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
        mmBottomOffset = 0
        mmOverFlowOffset = 0
        mmStopPosition = 0
        mmMinHeight = 0
        mmLeading = 0
      end
      object DBText21: TppDBText
        DesignLayer = ppDesignLayer1
        UserName = 'DBText21'
        HyperlinkEnabled = False
        RTLReading = False
        AutoSize = True
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        DataField = 'CompanyName'
        DataPipeline = Profile
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 8
        Font.Style = []
        ParentDataPipeline = False
        Transparent = True
        DataPipelineName = 'Profile'
        mmHeight = 3429
        mmLeft = 5556
        mmTop = 22758
        mmWidth = 19727
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object Memo3: TppMemo
        DesignLayer = ppDesignLayer1
        UserName = 'Memo3'
        RTLReading = False
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        Caption = 'Memo3'
        CharWrap = False
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 8
        Font.Style = []
        Lines.Strings = (
          '2. Goods sold are neither returnable nor refundable.')
        RemoveEmptyLines = False
        Transparent = True
        mmHeight = 8467
        mmLeft = 2646
        mmTop = 26462
        mmWidth = 85990
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
        mmBottomOffset = 0
        mmOverFlowOffset = 0
        mmStopPosition = 0
        mmMinHeight = 0
        mmLeading = 0
      end
      object ppVariable2: TppVariable
        DesignLayer = ppDesignLayer1
        UserName = 'Variable1'
        HyperlinkEnabled = False
        RTLReading = False
        AutoSize = False
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        BlankWhenZero = False
        CalcOrder = 0
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        Transparent = True
        WordWrap = True
        mmHeight = 8463
        mmLeft = 2646
        mmTop = 1851
        mmWidth = 129155
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppVariable1: TppVariable
        DesignLayer = ppDesignLayer1
        UserName = 'VarAmt'
        RTLReading = False
        Border.mmPadding = 0
        BlankWhenZero = False
        CalcOrder = 1
        DataType = dtDouble
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        TextAlignment = taRightJustified
        Transparent = True
        mmHeight = 3704
        mmLeft = 124609
        mmTop = 12451
        mmWidth = 10847
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppVariable3: TppVariable
        DesignLayer = ppDesignLayer1
        UserName = 'VarLocalAmt'
        RTLReading = False
        Border.mmPadding = 0
        BlankWhenZero = False
        CalcOrder = 2
        DataType = dtDouble
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        TextAlignment = taRightJustified
        Transparent = True
        mmHeight = 3704
        mmLeft = 137571
        mmTop = 12451
        mmWidth = 17992
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppVariable4: TppVariable
        DesignLayer = ppDesignLayer1
        UserName = 'VarLocalTaxAmt'
        RTLReading = False
        Border.mmPadding = 0
        BlankWhenZero = False
        CalcOrder = 3
        DataType = dtDouble
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        TextAlignment = taRightJustified
        Transparent = True
        mmHeight = 3705
        mmLeft = 147894
        mmTop = 12435
        mmWidth = 23284
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppVariable5: TppVariable
        DesignLayer = ppDesignLayer1
        UserName = 'VarLocalAmtWithTax'
        RTLReading = False
        Border.mmPadding = 0
        BlankWhenZero = False
        CalcOrder = 4
        DataType = dtDouble
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        TextAlignment = taRightJustified
        Transparent = True
        mmHeight = 3704
        mmLeft = 159797
        mmTop = 12451
        mmWidth = 30162
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object Shape3: TppShape
        DesignLayer = ppDesignLayer1
        UserName = 'Shape3'
        mmHeight = 5556
        mmLeft = 159279
        mmTop = 36260
        mmWidth = 33602
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppDBText13: TppDBText
        DesignLayer = ppDesignLayer1
        UserName = 'DBText13'
        HyperlinkEnabled = False
        RTLReading = False
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        DataField = 'DocAmt'
        DataPipeline = Main
        DisplayFormat = '#,0.00;-#,0.00;-'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 10
        Font.Style = [fsBold]
        TextAlignment = taRightJustified
        Transparent = True
        DataPipelineName = 'Main'
        mmHeight = 4233
        mmLeft = 160073
        mmTop = 36790
        mmWidth = 32015
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppVariable6: TppVariable
        DesignLayer = ppDesignLayer1
        UserName = 'VarTExclGST'
        RTLReading = False
        Border.mmPadding = 0
        BlankWhenZero = False
        CalcOrder = 5
        DataType = dtDouble
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        TextAlignment = taRightJustified
        Transparent = True
        mmHeight = 3704
        mmLeft = 173567
        mmTop = 20915
        mmWidth = 18521
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppShape2: TppShape
        DesignLayer = ppDesignLayer1
        UserName = 'Shape4'
        mmHeight = 16669
        mmLeft = 127529
        mmTop = 19592
        mmWidth = 30956
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppDBText16: TppDBText
        DesignLayer = ppDesignLayer1
        UserName = 'DBText17'
        HyperlinkEnabled = False
        RTLReading = False
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        DataField = 'LocalDocAmt'
        DataPipeline = Main
        DisplayFormat = '#,0.00;-#,0.00;-'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 10
        Font.Style = [fsBold]
        TextAlignment = taRightJustified
        Transparent = True
        DataPipelineName = 'Main'
        mmHeight = 4233
        mmLeft = 125942
        mmTop = 36790
        mmWidth = 32015
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppVariable7: TppVariable
        DesignLayer = ppDesignLayer1
        UserName = 'VarTExclGST1'
        RTLReading = False
        Border.mmPadding = 0
        BlankWhenZero = False
        CalcOrder = 6
        DataType = dtDouble
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        TextAlignment = taRightJustified
        Transparent = True
        mmHeight = 3704
        mmLeft = 139171
        mmTop = 20915
        mmWidth = 18521
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppDBText23: TppDBText
        DesignLayer = ppDesignLayer1
        UserName = 'DBText20'
        RTLReading = False
        AutoSize = True
        Border.mmPadding = 0
        DataField = 'LocalAmount'
        DataPipeline = plSQL_7
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        ParentDataPipeline = False
        TextAlignment = taRightJustified
        Transparent = True
        DataPipelineName = 'plSQL_7'
        mmHeight = 3704
        mmLeft = 138907
        mmTop = 30969
        mmWidth = 18785
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppDBText24: TppDBText
        DesignLayer = ppDesignLayer1
        UserName = 'DBTxtRound'
        RTLReading = False
        AutoSize = True
        Border.mmPadding = 0
        DataField = 'Amount'
        DataPipeline = plSQL_7
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        ParentDataPipeline = False
        TextAlignment = taRightJustified
        Transparent = True
        DataPipelineName = 'plSQL_7'
        mmHeight = 3704
        mmLeft = 180446
        mmTop = 30969
        mmWidth = 11642
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppVariable9: TppVariable
        DesignLayer = ppDesignLayer1
        UserName = 'VarTax'
        RTLReading = False
        Border.mmPadding = 0
        BlankWhenZero = False
        CalcOrder = 7
        DataType = dtCurrency
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        TextAlignment = taRightJustified
        Transparent = True
        mmHeight = 3704
        mmLeft = 182034
        mmTop = 25676
        mmWidth = 10054
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppVariable10: TppVariable
        DesignLayer = ppDesignLayer1
        UserName = 'VarLTax'
        RTLReading = False
        Border.mmPadding = 0
        BlankWhenZero = False
        CalcOrder = 8
        DataType = dtCurrency
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Tahoma'
        Font.Size = 9
        Font.Style = []
        TextAlignment = taRightJustified
        Transparent = True
        mmHeight = 3704
        mmLeft = 146050
        mmTop = 25676
        mmWidth = 11642
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
      end
      object ppRegion1: TppRegion
        DesignLayer = ppDesignLayer1
        UserName = 'RegGST'
        Caption = 'RegGST'
        mmHeight = 22490
        mmLeft = 73819
        mmTop = 19592
        mmWidth = 53446
        BandType = 5
        GroupNo = 0
        LayerName = Foreground
        mmBottomOffset = 0
        mmOverFlowOffset = 0
        mmStopPosition = 0
        mmMinHeight = 0
        object ppLabel6: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'lbPayable'
          HyperlinkEnabled = False
          RTLReading = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Caption = 'lbPayable'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 10
          Font.Style = [fsBold]
          FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
          FormFieldSettings.FormFieldType = fftNone
          TextAlignment = taRightJustified
          Transparent = True
          mmHeight = 4234
          mmLeft = 110085
          mmTop = 36797
          mmWidth = 16404
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLabel7: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'lbTaxAmt'
          HyperlinkEnabled = False
          RTLReading = False
          Border.Weight = 1.000000000000000000
          Border.mmPadding = 0
          Caption = '+ GST Amt @  7%:'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 9
          Font.Style = []
          FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
          FormFieldSettings.FormFieldType = fftNone
          TextAlignment = taRightJustified
          Transparent = True
          mmHeight = 3704
          mmLeft = 97896
          mmTop = 25665
          mmWidth = 28575
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLabel12: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'lbExtGST'
          RTLReading = False
          Border.mmPadding = 0
          Caption = 'Total Excl. GST :'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 9
          Font.Style = []
          FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
          FormFieldSettings.FormFieldType = fftNone
          TextAlignment = taRightJustified
          Transparent = True
          mmHeight = 3704
          mmLeft = 102147
          mmTop = 20914
          mmWidth = 24342
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLine5: TppLine
          DesignLayer = ppDesignLayer1
          UserName = 'Line13'
          Border.mmPadding = 0
          ParentWidth = True
          Weight = 0.750000000000000000
          mmHeight = 1319
          mmLeft = 73819
          mmTop = 35737
          mmWidth = 53446
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
        object ppLabel13: TppLabel
          DesignLayer = ppDesignLayer1
          UserName = 'lbRound'
          RTLReading = False
          Border.mmPadding = 0
          Caption = 'Rounding Adjustment :'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Tahoma'
          Font.Size = 9
          Font.Style = []
          FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
          FormFieldSettings.FormFieldType = fftNone
          TextAlignment = taRightJustified
          Transparent = True
          mmHeight = 3705
          mmLeft = 92869
          mmTop = 30967
          mmWidth = 33602
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
      end
    end
  end
  object raCodeModule1: TraCodeModule
    object raProgramInfo9: TraProgramInfo
      raClassName = 'TraVarProgram'
      raProgram.ChildType = 17
      raProgram.ProgramName = 'Variables'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure Variables;'#13#10'var'#13#10'   SQL_1, SQL_2, SQL_3, SQL_7: String' +
        ';'#13#10#13#10'begin'#13#10#13#10'end;'#13#10
      raProgram.CaretPos = (
        11
        2)
    end
    object raProgramInfo10: TraProgramInfo
      raClassName = 'TraProgram'
      raProgram.ChildType = 19
      raProgram.ProgramName = 'GlobalOnCreate'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure GlobalOnCreate;'#13#10'begin'#13#10'   SQL_1 := '#39'SELECT Dockey, Co' +
        'unt(DISTINCT FromDocKey) Nos FROM Document_Detail '#39' +'#13#10'         ' +
        '    '#39'WHERE FromDocKey IS NOT NULL '#39' +'#13#10'             '#39'GROUP BY Do' +
        'ckey'#39';         '#13#10'   SQL_2 := '#39'SELECT DocKey, ItemCode, UOM, Unit' +
        'Price, Disc, MIN(Seq) Seq, Description,'#39' +'#13#10#9#9'        '#39'SUM(Qty) ' +
        'Qty, SUM(Amount) Amount, SUM(AmountWithTax) AmountWithTax, '#39' +'#13#10 +
        #9#9'        '#39'SUM(LocalAmount) LocalAmount, SUM(LocalAmountWithTax)' +
        ' LocalAmountWithTax,  '#39'+      '#13#10'            '#39'Tax, Sum(TaxAmt) Ta' +
        'xAmt, Sum(LocalTaxAmt) LocalTaxAmt '#39' +'#13#10'            '#39'FROM Docume' +
        'nt_Detail '#39' +'#13#10'            '#39'GROUP BY DocKey, ItemCode, Descripti' +
        'on, UOM, UnitPrice, Disc, Tax '#39';'#13#10'   SQL_3 := '#39'SELECT DocKey, It' +
        'emCode, 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' ' +
        ' SQL_7 := '#39'SELECT DocKey, Sum(Amount) Amount, Sum(LocalAmount) L' +
        'ocalAmount, Description '#39'+ '#13#10#9#9'       '#39'FROM Document_Detail '#39' +'#13 +
        #10#9#9'       '#39'WHERE ItemCode='#39#39'RTN5Cents'#39#39' '#39'+'#13#10'           '#39'GROUP BY' +
        ' DocKey'#39';   '#13#10'end;'#13#10
      raProgram.CaretPos = (
        32
        5)
    end
    object raProgramInfo11: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'Variable1OnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure Variable1OnCalc(var Value: Variant);'#13#10'begin'#13#10'Value := ' +
        'Document_Currency.GetFieldValue('#39'Description'#39');'#13#10'Value := Value ' +
        '+ '#39' : '#39' + CurrencyToEngWord(Main.GetFieldValue('#39'DocAmt'#39')) + '#39' ON' +
        'LY'#39';'#13#10'end;'#13#10
      raProgram.ComponentName = 'Variable1'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
      raProgram.CaretPos = (
        1
        1)
    end
    object raProgramInfo12: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'ReportBeforePrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure ReportBeforePrint;'#13#10'begin   '#13#10'    LocalSQL_SELECT(plSQ' +
        'L_1, SQL_1, '#39'DocKey'#39');'#13#10'    LocalSQL_SELECT(plSQL_2, SQL_2, '#39'Doc' +
        'Key;Seq'#39');'#13#10'    LocalSQL_SELECT(plSQL_3, SQL_3, '#39'DocKey;ItemCode' +
        ';Description'#39');'#13#10'    LocalSQL_SELECT(plSQL_7, SQL_7, '#39'DocKey'#39');'#13 +
        #10'    '#13#10'    SetDataPipelineFieldLink(Main, plSQL_1, '#39'DocKey'#39', '#39'Do' +
        'cKey'#39');'#13#10'    SetDataPipelineFieldLink(Main, plSQL_2, '#39'DocKey'#39', '#39 +
        'DocKey'#39');'#13#10'    SetDataPipelineFieldLink(plSQL_2, plSQL_3, '#39'DocKe' +
        'y;ItemCode;Description'#39', '#39'DocKey;ItemCode;Description'#39');'#13#10'    Se' +
        'tDataPipelineFieldLink(Main, plSQL_7, '#39'DocKey'#39', '#39'DocKey'#39');'#13#10'end;' +
        #13#10
      raProgram.ComponentName = 'Report'
      raProgram.EventName = 'BeforePrint'
      raProgram.EventID = 1
      raProgram.CaretPos = (
        34
        9)
    end
    object raProgramInfo13: 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
      raProgram.CaretPos = (
        3
        3)
    end
    object raProgramInfo14: 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
      raProgram.CaretPos = (
        3
        3)
    end
    object raProgramInfo15: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'VarAmtOnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure VarAmtOnCalc(var Value: Variant);'#13#10'begin'#13#10'  VarAmt.Dis' +
        'playFormat := Option.GetFieldValue('#39'AccountingValueDisplayFormat' +
        #39');'#13#10'  Value := GetAggregateValue(agSUM, Document_Detail, '#39'DocKe' +
        'y'#39', '#39'Amount'#39'); '#13#10#13#10'end;'#13#10
      raProgram.ComponentName = 'VarAmt'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
      raProgram.CaretPos = (
        1
        1)
    end
    object raProgramInfo16: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'VarLocalAmtOnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure VarLocalAmtOnCalc(var Value: Variant);'#13#10'begin'#13#10'  VarLo' +
        'calAmt.DisplayFormat := Option.GetFieldValue('#39'AccountingValueDis' +
        'playFormat'#39');'#13#10'  Value := GetAggregateValue(agSUM, Document_Deta' +
        'il, '#39'DocKey'#39', '#39'LocalAmount'#39'); '#13#10#13#10'end;'#13#10
      raProgram.ComponentName = 'VarLocalAmt'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
      raProgram.CaretPos = (
        3
        3)
    end
    object raProgramInfo17: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'VarLocalTaxAmtOnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure VarLocalTaxAmtOnCalc(var Value: Variant);'#13#10'begin'#13#10'  Va' +
        'rLocalTaxAmt.DisplayFormat := Option.GetFieldValue('#39'AccountingVa' +
        'lueDisplayFormat'#39');'#13#10'  Value := GetAggregateValue(agSUM, Documen' +
        't_Detail, '#39'DocKey'#39', '#39'LocalTaxAmt'#39'); '#13#10#13#10'end;'#13#10
      raProgram.ComponentName = 'VarLocalTaxAmt'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
      raProgram.CaretPos = (
        1
        3)
    end
    object raProgramInfo18: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'VarLocalAmtWithTaxOnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure VarLocalAmtWithTaxOnCalc(var Value: Variant);'#13#10'begin'#13#10 +
        '  VarLocalAmtWithTax.DisplayFormat := Option.GetFieldValue('#39'Acco' +
        'untingValueDisplayFormat'#39');'#13#10'  Value := GetAggregateValue(agSUM,' +
        ' Document_Detail, '#39'DocKey'#39', '#39'LocalAmountWithTax'#39');'#13#10#13#10'end;'#13#10
      raProgram.ComponentName = 'VarLocalAmtWithTax'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
      raProgram.CaretPos = (
        21
        3)
    end
    object raProgramInfo19: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'lbCurrRateOnPrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure lbCurrRateOnPrint;'#13#10'begin'#13#10'  lbCurrRate.Visible := Mai' +
        'n.GetFieldValue('#39'CurrencyRate'#39') <> 1;'#13#10'end;'#13#10
      raProgram.ComponentName = 'lbCurrRate'
      raProgram.EventName = 'OnPrint'
      raProgram.EventID = 32
      raProgram.CaretPos = (
        3
        3)
    end
    object raProgramInfo20: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'lbCurrRate1OnPrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure lbCurrRate1OnPrint;'#13#10'begin'#13#10'  lbCurrRate1.Visible := M' +
        'ain.GetFieldValue('#39'CurrencyRate'#39') <> 1;'#13#10'end;'#13#10
      raProgram.ComponentName = 'lbCurrRate1'
      raProgram.EventName = 'OnPrint'
      raProgram.EventID = 32
      raProgram.CaretPos = (
        14
        3)
    end
    object raProgramInfo21: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'DBTxtCurrRateOnPrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure DBTxtCurrRateOnPrint;'#13#10'begin'#13#10'  DBTxtCurrRate.Visible ' +
        ':= Main.GetFieldValue('#39'CurrencyRate'#39') <> 1;'#13#10'end;'#13#10
      raProgram.ComponentName = 'DBTxtCurrRate'
      raProgram.EventName = 'OnPrint'
      raProgram.EventID = 32
      raProgram.CaretPos = (
        3
        4)
    end
    object raProgramInfo22: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'VarTExclGSTOnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure VarTExclGSTOnCalc(var Value: Variant);'#13#10'begin'#13#10'  VarTE' +
        'xclGST.DisplayFormat := Option.GetFieldValue('#39'AccountingValueDis' +
        'playFormat'#39');'#13#10'  Value := GetAggregateValue(agSUM, Document_Deta' +
        'il, '#39'DocKey'#39', '#39'Amount'#39') - '#13#10'           plSQL_7.GetFieldValue('#39'Am' +
        'ount'#39');'#13#10#13#10'end;'#13#10
      raProgram.ComponentName = 'VarTExclGST'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
    end
    object raProgramInfo23: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'VarTExclGST1OnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure VarTExclGST1OnCalc(var Value: Variant);'#13#10'begin'#13#10'  VarT' +
        'ExclGST1.DisplayFormat := Option.GetFieldValue('#39'AccountingValueD' +
        'isplayFormat'#39');'#13#10'  Value := GetAggregateValue(agSUM, Document_De' +
        'tail, '#39'DocKey'#39', '#39'LocalAmount'#39') -'#13#10'           plSQL_7.GetFieldVal' +
        'ue('#39'LocalAmount'#39');'#13#10#13#10'end;'#13#10
      raProgram.ComponentName = 'VarTExclGST1'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
    end
    object raProgramInfo24: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'VarTaxOnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure VarTaxOnCalc(var Value: Variant);'#13#10'begin'#13#10'  VarTax.Dis' +
        'playFormat := Option.GetFieldValue('#39'AccountingValueDisplayFormat' +
        #39');'#13#10'  Value := GetAggregateValue(agSUM, Document_Detail, '#39'DocKe' +
        'y'#39', '#39'TaxAmt'#39'); '#13#10#13#10'end;'#13#10
      raProgram.ComponentName = 'VarTax'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
    end
    object raProgramInfo25: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'VarLTaxOnCalc'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure VarLTaxOnCalc(var Value: Variant);'#13#10'begin'#13#10'  VarLTax.D' +
        'isplayFormat := Option.GetFieldValue('#39'AccountingValueDisplayForm' +
        'at'#39');'#13#10'  Value := GetAggregateValue(agSUM, Document_Detail, '#39'Doc' +
        'Key'#39', '#39'LocalTaxAmt'#39'); '#13#10#13#10'end;'#13#10
      raProgram.ComponentName = 'VarLTax'
      raProgram.EventName = 'OnCalc'
      raProgram.EventID = 33
    end
    object raProgramInfo26: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'RegGSTOnPrint'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure RegGSTOnPrint;'#13#10'begin'#13#10'  if Main.GetFieldValue('#39'Curren' +
        'cyCode'#39') <> '#39'----'#39' then '#13#10'    RegGST.Left := 3 else'#13#10'    RegGST.' +
        'Left := 4.15;'#13#10'end;'#13#10
      raProgram.ComponentName = 'RegGST'
      raProgram.EventName = 'OnPrint'
      raProgram.EventID = 32
      raProgram.CaretPos = (
        34
        3)
    end
    object raProgramInfo27: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'lbPayableOnGetText'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure lbPayableOnGetText(var Text: String);'#13#10'begin'#13#10'  if Mai' +
        'n.GetFieldValue('#39'CurrencyCode'#39') <> '#39'----'#39' then  '#13#10'  Text := '#39'Tot' +
        'al Payable Incl. GST(RM) :'#39' else'#13#10'  Text := '#39'Total Payable Incl.' +
        ' GST :'#39';'#13#10'end;'#13#10
      raProgram.ComponentName = 'lbPayable'
      raProgram.EventName = 'OnGetText'
      raProgram.EventID = 53
      raProgram.CaretPos = (
        34
        3)
    end
    object raProgramInfo28: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'lbTaxAmtOnGetText'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure lbTaxAmtOnGetText(var Text: String);'#13#10'var s : string;'#13 +
        #10'begin'#13#10'  {if (Main.GetFieldValue('#39'TaxDate'#39') < '#39'01 Jun 2018'#39') or' +
        ' '#13#10'     (VarToCurr(plSQL_2.GetFieldValue('#39'TaxAmt'#39')) <> 0) then  ' +
        ' '#13#10'    s := '#39'GST Amt @ 6% '#39' else'#13#10'    s := '#39'GST Amt @ 0% '#39';'#13#10'   ' +
        ' '#13#10'  if Main.GetFieldValue('#39'CurrencyCode'#39') <> '#39'----'#39' then '#13#10'    ' +
        'Text := s + '#39'(RM) :'#39' else'#13#10'    Text := s + '#39':'#39';    }'#13#10'end;'#13#10
      raProgram.ComponentName = 'lbTaxAmt'
      raProgram.EventName = 'OnGetText'
      raProgram.EventID = 53
      raProgram.CaretPos = (
        26
        11)
    end
    object raProgramInfo29: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'lbExtGSTOnGetText'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure lbExtGSTOnGetText(var Text: String);'#13#10'begin'#13#10'  if Main' +
        '.GetFieldValue('#39'CurrencyCode'#39') <> '#39'----'#39' then '#13#10'    Text := '#39'Tot' +
        'al Excl. GST (RM) :'#39' else'#13#10'    Text := '#39'Total Excl. GST :'#39';'#13#10'end' +
        ';'#13#10
      raProgram.ComponentName = 'lbExtGST'
      raProgram.EventName = 'OnGetText'
      raProgram.EventID = 53
      raProgram.CaretPos = (
        34
        3)
    end
    object raProgramInfo30: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'lbRoundOnGetText'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure lbRoundOnGetText(var Text: String);'#13#10'begin'#13#10'  if Main.' +
        'GetFieldValue('#39'CurrencyCode'#39') <> '#39'----'#39' then '#13#10'    Text := '#39'Roun' +
        'ding Adjustment (RM) :'#39' else'#13#10'    Text := '#39'Rounding Adjustment :' +
        #39';'#13#10'end;'#13#10
      raProgram.ComponentName = 'lbRound'
      raProgram.EventName = 'OnGetText'
      raProgram.EventID = 53
      raProgram.CaretPos = (
        34
        3)
    end
    object raProgramInfo31: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'lbTaxRateOnGetText'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure lbTaxRateOnGetText(var Text: String);'#13#10'begin'#13#10' { if (M' +
        'ain.GetFieldValue('#39'TaxDate'#39') < '#39'01 Jun 2018'#39') or '#13#10'     (VarToCu' +
        'rr(plSQL_2.GetFieldValue('#39'TaxAmt'#39')) <> 0) then   '#13#10'    Text := '#39 +
        'GST Amt @ 6% (RM)'#39' else'#13#10'    Text := '#39'GST Amt @ 0% (RM)'#39';  }'#13#10'en' +
        'd;'#13#10
      raProgram.ComponentName = 'lbTaxRate'
      raProgram.EventName = 'OnGetText'
      raProgram.EventID = 53
      raProgram.CaretPos = (
        62
        4)
    end
    object raProgramInfo32: TraProgramInfo
      raClassName = 'TraEventHandler'
      raProgram.ProgramName = 'DBTxtRoundOnGetText'
      raProgram.ProgramType = ttProcedure
      raProgram.Source = 
        'procedure DBTxtRoundOnGetText(var Text: String);'#13#10'begin'#13#10'  if Tr' +
        'im(plSQL_7.GetFieldValue('#39'Amount'#39')) = '#39#39' then'#13#10'  Text := '#39'0.00'#39';' +
        ' '#13#10#13#10'end;'#13#10
      raProgram.ComponentName = 'DBTxtRound'
      raProgram.EventName = 'OnGetText'
      raProgram.EventID = 53
      raProgram.CaretPos = (
        33
        3)
    end
  end
  object ppDesignLayers1: TppDesignLayers
    object ppDesignLayer5: TppDesignLayer
      UserName = 'DuplicateCopy'
      Visible = False
      LayerType = ltPage
      Index = 0
    end
    object ppDesignLayer1: TppDesignLayer
      UserName = 'Foreground'
      LayerType = ltBanded
      Index = 1
    end
  end
  object ppParameterList1: TppParameterList
  end
end
