home *** CD-ROM | disk | FTP | other *** search
/ Computer Buyer 1999 September / Dpcb0999.iso / Business / Empire / _SETUP.1 / EmpireBuilder.exe / 0 / RCDATA / TFMMAININVOICE / TFMMAININVOICE.txt
Text File  |  1999-06-21  |  62KB  |  2,262 lines

  1. object fmMainInvoice: TfmMainInvoice
  2.   Left = 29
  3.   Top = 88
  4.   AutoScroll = False
  5.   Caption = 'Invoice'
  6.   ClientHeight = 432
  7.   ClientWidth = 695
  8.   Font.Charset = DEFAULT_CHARSET
  9.   Font.Color = clWindowText
  10.   Font.Height = -13
  11.   Font.Name = 'Arial'
  12.   Font.Style = []
  13.   FormStyle = fsMDIChild
  14.   Position = poDefaultPosOnly
  15.   Scaled = False
  16.   Visible = True
  17.   OnActivate = FormActivate
  18.   OnClose = FormClose
  19.   OnCloseQuery = FormCloseQuery
  20.   OnCreate = FormCreate
  21.   OnDeactivate = FormDeactivate
  22.   OnShow = FormShow
  23.   PixelsPerInch = 120
  24.   TextHeight = 16
  25.   object Panel1: TPanel
  26.     Left = 0
  27.     Top = 49
  28.     Width = 695
  29.     Height = 383
  30.     Align = alClient
  31.     TabOrder = 0
  32.     object PageControl: TPageControl
  33.       Left = 1
  34.       Top = 1
  35.       Width = 693
  36.       Height = 381
  37.       ActivePage = FooterDetTab
  38.       Align = alClient
  39.       HotTrack = True
  40.       TabOrder = 0
  41.       TabStop = False
  42.       object CustDetailsTab: TTabSheet
  43.         Caption = '&Customer Details'
  44.         OnEnter = CustDetailsTabEnter
  45.         object Bevel13: TBevel
  46.           Left = 284
  47.           Top = 4
  48.           Width = 381
  49.           Height = 177
  50.           Shape = bsFrame
  51.         end
  52.         object Bevel1: TBevel
  53.           Left = 12
  54.           Top = 4
  55.           Width = 261
  56.           Height = 125
  57.           Shape = bsFrame
  58.         end
  59.         object Label1: TLabel
  60.           Left = 20
  61.           Top = 15
  62.           Width = 63
  63.           Height = 16
  64.           Caption = 'Invoice No.'
  65.         end
  66.         object Label2: TLabel
  67.           Left = 20
  68.           Top = 44
  69.           Width = 83
  70.           Height = 16
  71.           Caption = 'Customer Ref.'
  72.         end
  73.         object Label3: TLabel
  74.           Left = 20
  75.           Top = 72
  76.           Width = 27
  77.           Height = 16
  78.           Caption = 'Date'
  79.         end
  80.         object Label4: TLabel
  81.           Left = 20
  82.           Top = 100
  83.           Width = 116
  84.           Height = 16
  85.           Caption = 'Customer Order No.'
  86.         end
  87.         object Bevel4: TBevel
  88.           Left = 12
  89.           Top = 224
  90.           Width = 185
  91.           Height = 93
  92.           Shape = bsFrame
  93.         end
  94.         object Label10: TLabel
  95.           Left = 20
  96.           Top = 235
  97.           Width = 47
  98.           Height = 16
  99.           Caption = 'Balance'
  100.         end
  101.         object Label16: TLabel
  102.           Left = 20
  103.           Top = 263
  104.           Width = 66
  105.           Height = 16
  106.           Caption = 'Credit Limit'
  107.         end
  108.         object Label17: TLabel
  109.           Left = 20
  110.           Top = 291
  111.           Width = 47
  112.           Height = 16
  113.           Caption = 'Overdue'
  114.         end
  115.         object Bevel2: TBevel
  116.           Left = 284
  117.           Top = 184
  118.           Width = 381
  119.           Height = 165
  120.           Shape = bsFrame
  121.         end
  122.         object Label5: TLabel
  123.           Left = 296
  124.           Top = 16
  125.           Width = 94
  126.           Height = 16
  127.           Caption = 'Customer Name'
  128.         end
  129.         object Label6: TLabel
  130.           Left = 296
  131.           Top = 44
  132.           Width = 48
  133.           Height = 16
  134.           Caption = 'Address'
  135.         end
  136.         object Label7: TLabel
  137.           Left = 296
  138.           Top = 72
  139.           Width = 48
  140.           Height = 16
  141.           Caption = '..   ..   ..'
  142.         end
  143.         object Label8: TLabel
  144.           Left = 296
  145.           Top = 100
  146.           Width = 48
  147.           Height = 16
  148.           Caption = '..   ..   ..'
  149.         end
  150.         object Label9: TLabel
  151.           Left = 296
  152.           Top = 128
  153.           Width = 61
  154.           Height = 16
  155.           Caption = 'Post Code'
  156.         end
  157.         object Label11: TLabel
  158.           Left = 296
  159.           Top = 196
  160.           Width = 83
  161.           Height = 16
  162.           Caption = 'Delivery Name'
  163.         end
  164.         object Label12: TLabel
  165.           Left = 296
  166.           Top = 220
  167.           Width = 48
  168.           Height = 16
  169.           Caption = 'Address'
  170.         end
  171.         object Label13: TLabel
  172.           Left = 296
  173.           Top = 244
  174.           Width = 48
  175.           Height = 16
  176.           Caption = '..   ..   ..'
  177.         end
  178.         object Label14: TLabel
  179.           Left = 296
  180.           Top = 268
  181.           Width = 48
  182.           Height = 16
  183.           Caption = '..   ..   ..'
  184.         end
  185.         object Label15: TLabel
  186.           Left = 296
  187.           Top = 292
  188.           Width = 61
  189.           Height = 16
  190.           Caption = 'Post Code'
  191.         end
  192.         object Label47: TLabel
  193.           Left = 296
  194.           Top = 320
  195.           Width = 83
  196.           Height = 16
  197.           Caption = 'Telephone No.'
  198.         end
  199.         object Label50: TLabel
  200.           Left = 296
  201.           Top = 156
  202.           Width = 83
  203.           Height = 16
  204.           Caption = 'Telephone No.'
  205.         end
  206.         object DBECustOrdNo: TwwDBEdit
  207.           Left = 140
  208.           Top = 96
  209.           Width = 121
  210.           Height = 24
  211.           Hint = 'Press F1 for help'
  212.           HelpContext = 416
  213.           DataField = 'CORDER'
  214.           DataSource = dsTempMainInvoice
  215.           ParentShowHint = False
  216.           ShowHint = True
  217.           TabOrder = 2
  218.           UnboundDataType = wwDefault
  219.           WantReturns = False
  220.           WordWrap = False
  221.         end
  222.         object DBEDelName: TwwDBEdit
  223.           Left = 412
  224.           Top = 192
  225.           Width = 241
  226.           Height = 24
  227.           Hint = 'Press F1 for help'
  228.           HelpContext = 419
  229.           DataField = 'DELNAME'
  230.           DataSource = dsTempMainInvoice
  231.           MaxLength = 40
  232.           ParentShowHint = False
  233.           ShowHint = True
  234.           TabOrder = 10
  235.           UnboundDataType = wwDefault
  236.           WantReturns = False
  237.           WordWrap = False
  238.         end
  239.         object DBEDelAddress1: TwwDBEdit
  240.           Left = 412
  241.           Top = 216
  242.           Width = 190
  243.           Height = 24
  244.           Hint = 'Press F1 for help'
  245.           HelpContext = 419
  246.           DataField = 'DELADD1'
  247.           DataSource = dsTempMainInvoice
  248.           ParentShowHint = False
  249.           ShowHint = True
  250.           TabOrder = 11
  251.           UnboundDataType = wwDefault
  252.           WantReturns = False
  253.           WordWrap = False
  254.         end
  255.         object DBEDelAddress2: TwwDBEdit
  256.           Left = 412
  257.           Top = 240
  258.           Width = 190
  259.           Height = 24
  260.           Hint = 'Press F1 for help'
  261.           HelpContext = 419
  262.           DataField = 'DELADD2'
  263.           DataSource = dsTempMainInvoice
  264.           ParentShowHint = False
  265.           ShowHint = True
  266.           TabOrder = 12
  267.           UnboundDataType = wwDefault
  268.           WantReturns = False
  269.           WordWrap = False
  270.         end
  271.         object DBEDelAddress3: TwwDBEdit
  272.           Left = 412
  273.           Top = 264
  274.           Width = 190
  275.           Height = 24
  276.           Hint = 'Press F1 for help'
  277.           HelpContext = 419
  278.           DataField = 'DELADD3'
  279.           DataSource = dsTempMainInvoice
  280.           ParentShowHint = False
  281.           ShowHint = True
  282.           TabOrder = 13
  283.           UnboundDataType = wwDefault
  284.           WantReturns = False
  285.           WordWrap = False
  286.         end
  287.         object DBEDelPostCode: TwwDBEdit
  288.           Left = 412
  289.           Top = 288
  290.           Width = 100
  291.           Height = 24
  292.           Hint = 'Press F1 for help'
  293.           HelpContext = 419
  294.           DataField = 'DELADD4'
  295.           DataSource = dsTempMainInvoice
  296.           MaxLength = 10
  297.           ParentShowHint = False
  298.           ShowHint = True
  299.           TabOrder = 14
  300.           UnboundDataType = wwDefault
  301.           WantReturns = False
  302.           WordWrap = False
  303.         end
  304.         object DBEDTelephone: TwwDBEdit
  305.           Left = 412
  306.           Top = 316
  307.           Width = 130
  308.           Height = 24
  309.           Hint = 'Press F1 for help'
  310.           HelpContext = 419
  311.           DataField = 'DELTELNO'
  312.           DataSource = dsTempMainInvoice
  313.           ParentShowHint = False
  314.           ShowHint = True
  315.           TabOrder = 15
  316.           UnboundDataType = wwDefault
  317.           WantReturns = False
  318.           WordWrap = False
  319.           OnExit = DBEDTelephoneExit
  320.         end
  321.         object EBalance: TCurrencyEdit
  322.           Left = 100
  323.           Top = 232
  324.           Width = 89
  325.           Height = 24
  326.           TabStop = False
  327.           AutoSize = False
  328.           Ctl3D = True
  329.           DisplayFormat = '0.00'
  330.           Font.Charset = DEFAULT_CHARSET
  331.           Font.Color = clWindowText
  332.           Font.Height = -13
  333.           Font.Name = 'Arial'
  334.           Font.Style = []
  335.           MaxLength = 10
  336.           MaxValue = 9999999.990000000000000000
  337.           ParentColor = True
  338.           ParentCtl3D = False
  339.           ParentFont = False
  340.           ReadOnly = True
  341.           TabOrder = 16
  342.         end
  343.         object ECreditLimit: TCurrencyEdit
  344.           Left = 100
  345.           Top = 260
  346.           Width = 89
  347.           Height = 24
  348.           TabStop = False
  349.           AutoSize = False
  350.           Ctl3D = True
  351.           DisplayFormat = '0.00'
  352.           ParentColor = True
  353.           ParentCtl3D = False
  354.           ReadOnly = True
  355.           TabOrder = 17
  356.         end
  357.         object EOverdue: TCurrencyEdit
  358.           Left = 100
  359.           Top = 288
  360.           Width = 89
  361.           Height = 24
  362.           TabStop = False
  363.           AutoSize = False
  364.           Ctl3D = True
  365.           DisplayFormat = '0.00'
  366.           ParentColor = True
  367.           ParentCtl3D = False
  368.           ReadOnly = True
  369.           TabOrder = 18
  370.         end
  371.         object DBEInvNo: TCurrencyEdit
  372.           Left = 140
  373.           Top = 13
  374.           Width = 80
  375.           Height = 24
  376.           TabStop = False
  377.           AutoSize = False
  378.           Ctl3D = True
  379.           DecimalPlaces = 0
  380.           DisplayFormat = '0'
  381.           ParentColor = True
  382.           ParentCtl3D = False
  383.           ReadOnly = True
  384.           TabOrder = 19
  385.         end
  386.         object DBCDlgCustRef: TRxDBComboEdit
  387.           Left = 140
  388.           Top = 40
  389.           Width = 120
  390.           Height = 24
  391.           Hint = 'Press F1 for help'
  392.           HelpContext = 415
  393.           CharCase = ecUpperCase
  394.           ClickKey = 16467
  395.           DataField = 'ACREF'
  396.           DataSource = dsTempMainInvoice
  397.           Glyph.Data = {
  398.             F6000000424DF600000000000000760000002800000010000000100000000100
  399.             0400000000008000000000000000000000001000000010000000000000000000
  400.             80000080000000808000800000008000800080800000C0C0C000808080000000
  401.             FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
  402.             7777000000000000000088888888880088808777777770EC7780877777770EC0
  403.             778087777770EC0777808770003F30777780878FFF200777778083FFFFF27777
  404.             77808FFFFFFF077777808FFFFFFF0777778083FFFFFF77777780888888808888
  405.             8880800333000080880080000000000000003333333333333330}
  406.           ButtonWidth = 24
  407.           NumGlyphs = 1
  408.           ParentShowHint = False
  409.           ShowHint = True
  410.           TabOrder = 0
  411.           OnButtonClick = DBCDlgCustRefButtonClick
  412.           OnEnter = DBCDlgCustRefEnter
  413.           OnExit = DBCDlgCustRefExit
  414.         end
  415.         object DBCDlgDate: TDBDateEdit
  416.           Left = 140
  417.           Top = 68
  418.           Width = 100
  419.           Height = 24
  420.           Hint = 'Press F1 for help'
  421.           HelpContext = 180
  422.           DataField = 'INVDATE'
  423.           DataSource = dsTempMainInvoice
  424.           ClickKey = 16452
  425.           NumGlyphs = 2
  426.           ParentShowHint = False
  427.           ShowHint = True
  428.           CalendarStyle = csDialog
  429.           TabOrder = 1
  430.           Weekends = [Sun, Sat]
  431.           YearDigits = dyFour
  432.           OnButtonClick = DBCDlgDateButtonClick
  433.           OnEnter = DBCDlgDateEnter
  434.           OnExit = DBCDlgDateExit
  435.         end
  436.         object DBRGInvType: TDBRadioGroup
  437.           Left = 12
  438.           Top = 132
  439.           Width = 261
  440.           Height = 85
  441.           Hint = 'Press F1 for help'
  442.           HelpContext = 417
  443.           Caption = 'Invoice Type'
  444.           Columns = 2
  445.           DataField = 'INVTYPE'
  446.           DataSource = dsTempMainInvoice
  447.           Items.Strings = (
  448.             'Invoice'
  449.             'Credit Note'
  450.             'Proforma'
  451.             'Quotation')
  452.           ParentShowHint = False
  453.           ShowHint = True
  454.           TabOrder = 3
  455.           Values.Strings = (
  456.             'INVOICE'
  457.             'CREDIT NOTE'
  458.             'PROFORMA'
  459.             'QUOTATION')
  460.           OnClick = DBRGInvTypeClick
  461.         end
  462.         object DBECustAddress1: TwwDBEdit
  463.           Left = 412
  464.           Top = 40
  465.           Width = 190
  466.           Height = 24
  467.           Hint = 'Press F1 for help'
  468.           HelpContext = 418
  469.           DataField = 'ADDRESS1'
  470.           DataSource = dsTempMainInvoice
  471.           ParentColor = True
  472.           ParentShowHint = False
  473.           ReadOnly = True
  474.           ShowHint = True
  475.           TabOrder = 5
  476.           UnboundDataType = wwDefault
  477.           WantReturns = False
  478.           WordWrap = False
  479.         end
  480.         object DBECustAddress2: TwwDBEdit
  481.           Left = 412
  482.           Top = 68
  483.           Width = 190
  484.           Height = 24
  485.           Hint = 'Press F1 for help'
  486.           HelpContext = 418
  487.           DataField = 'ADDRESS2'
  488.           DataSource = dsTempMainInvoice
  489.           ParentColor = True
  490.           ParentShowHint = False
  491.           ReadOnly = True
  492.           ShowHint = True
  493.           TabOrder = 6
  494.           UnboundDataType = wwDefault
  495.           WantReturns = False
  496.           WordWrap = False
  497.         end
  498.         object DBECustAddress3: TwwDBEdit
  499.           Left = 412
  500.           Top = 96
  501.           Width = 190
  502.           Height = 24
  503.           Hint = 'Press F1 for help'
  504.           HelpContext = 418
  505.           DataField = 'ADDRESS3'
  506.           DataSource = dsTempMainInvoice
  507.           ParentColor = True
  508.           ParentShowHint = False
  509.           ReadOnly = True
  510.           ShowHint = True
  511.           TabOrder = 7
  512.           UnboundDataType = wwDefault
  513.           WantReturns = False
  514.           WordWrap = False
  515.         end
  516.         object DBECustPostCode: TwwDBEdit
  517.           Left = 412
  518.           Top = 124
  519.           Width = 100
  520.           Height = 24
  521.           Hint = 'Press F1 for help'
  522.           HelpContext = 418
  523.           DataField = 'ADDRESS4'
  524.           DataSource = dsTempMainInvoice
  525.           ParentColor = True
  526.           ParentShowHint = False
  527.           ReadOnly = True
  528.           ShowHint = True
  529.           TabOrder = 8
  530.           UnboundDataType = wwDefault
  531.           WantReturns = False
  532.           WordWrap = False
  533.         end
  534.         object DBETelephone: TwwDBEdit
  535.           Left = 412
  536.           Top = 152
  537.           Width = 130
  538.           Height = 24
  539.           Hint = 'Press F1 for help'
  540.           HelpContext = 418
  541.           DataField = 'TELNO'
  542.           DataSource = dsTempMainInvoice
  543.           ParentColor = True
  544.           ParentShowHint = False
  545.           ReadOnly = True
  546.           ShowHint = True
  547.           TabOrder = 9
  548.           UnboundDataType = wwDefault
  549.           WantReturns = False
  550.           WordWrap = False
  551.         end
  552.         object DBECustName: TwwDBEdit
  553.           Left = 412
  554.           Top = 12
  555.           Width = 240
  556.           Height = 24
  557.           Hint = 'Press F1 for help'
  558.           HelpContext = 418
  559.           DataField = 'NAME'
  560.           DataSource = dsTempMainInvoice
  561.           ParentColor = True
  562.           ParentShowHint = False
  563.           ReadOnly = True
  564.           ShowHint = True
  565.           TabOrder = 4
  566.           UnboundDataType = wwDefault
  567.           WantReturns = False
  568.           WordWrap = False
  569.         end
  570.       end
  571.       object ItemsDetailsTab: TTabSheet
  572.         Caption = '&Items Details'
  573.         OnEnter = ItemsDetailsTabEnter
  574.         OnExit = ItemsDetailsTabExit
  575.         object Panel2: TPanel
  576.           Left = 0
  577.           Top = 0
  578.           Width = 0
  579.           Height = 165
  580.           Align = alTop
  581.           TabOrder = 0
  582.           object Bevel12: TBevel
  583.             Left = 4
  584.             Top = 124
  585.             Width = 677
  586.             Height = 37
  587.             Shape = bsFrame
  588.           end
  589.           object Bevel6: TBevel
  590.             Left = 296
  591.             Top = 4
  592.             Width = 385
  593.             Height = 117
  594.             Shape = bsFrame
  595.           end
  596.           object Bevel5: TBevel
  597.             Left = 4
  598.             Top = 4
  599.             Width = 289
  600.             Height = 117
  601.             Shape = bsFrame
  602.           end
  603.           object Label21: TLabel
  604.             Left = 8
  605.             Top = 11
  606.             Width = 58
  607.             Height = 16
  608.             Caption = 'Cust. Ref.'
  609.           end
  610.           object Label22: TLabel
  611.             Left = 8
  612.             Top = 39
  613.             Width = 69
  614.             Height = 16
  615.             Caption = 'Cust. Name'
  616.           end
  617.           object lbTransNo: TLabel
  618.             Left = 8
  619.             Top = 67
  620.             Width = 59
  621.             Height = 16
  622.             Caption = 'Invoice No'
  623.           end
  624.           object Label24: TLabel
  625.             Left = 8
  626.             Top = 95
  627.             Width = 59
  628.             Height = 16
  629.             Caption = 'Telephone'
  630.           end
  631.           object Label27: TLabel
  632.             Left = 312
  633.             Top = 67
  634.             Width = 78
  635.             Height = 16
  636.             Caption = 'Reorder Level'
  637.           end
  638.           object Label26: TLabel
  639.             Left = 312
  640.             Top = 15
  641.             Width = 48
  642.             Height = 16
  643.             Caption = 'In Stock'
  644.           end
  645.           object Label28: TLabel
  646.             Left = 500
  647.             Top = 15
  648.             Width = 43
  649.             Height = 16
  650.             Caption = 'Price A'
  651.           end
  652.           object Label29: TLabel
  653.             Left = 500
  654.             Top = 43
  655.             Width = 43
  656.             Height = 16
  657.             Caption = 'Price B'
  658.           end
  659.           object Label30: TLabel
  660.             Left = 500
  661.             Top = 71
  662.             Width = 43
  663.             Height = 16
  664.             Caption = 'Price C'
  665.           end
  666.           object Label18: TLabel
  667.             Left = 12
  668.             Top = 135
  669.             Width = 65
  670.             Height = 16
  671.             Caption = 'Description'
  672.           end
  673.           object Label19: TLabel
  674.             Left = 312
  675.             Top = 41
  676.             Width = 53
  677.             Height = 16
  678.             Caption = 'On Order'
  679.           end
  680.           object Label52: TLabel
  681.             Left = 500
  682.             Top = 94
  683.             Width = 61
  684.             Height = 16
  685.             Caption = 'Cost Price'
  686.           end
  687.           object Label54: TLabel
  688.             Left = 312
  689.             Top = 93
  690.             Width = 59
  691.             Height = 16
  692.             Caption = 'Markup %'
  693.           end
  694.           object DBEItemTelNo: TwwDBEdit
  695.             Left = 92
  696.             Top = 92
  697.             Width = 121
  698.             Height = 24
  699.             TabStop = False
  700.             Ctl3D = True
  701.             DataField = 'TELNO'
  702.             DataSource = dsTempMainInvoice
  703.             ParentColor = True
  704.             ParentCtl3D = False
  705.             ReadOnly = True
  706.             TabOrder = 0
  707.             UnboundDataType = wwDefault
  708.             WantReturns = False
  709.             WordWrap = False
  710.           end
  711.           object DBEPrice1: TwwDBEdit
  712.             Left = 568
  713.             Top = 12
  714.             Width = 80
  715.             Height = 24
  716.             TabStop = False
  717.             Ctl3D = True
  718.             DataField = 'Price1'
  719.             DataSource = dsTempLineInvoice
  720.             ParentColor = True
  721.             ParentCtl3D = False
  722.             ReadOnly = True
  723.             TabOrder = 1
  724.             UnboundDataType = wwDefault
  725.             WantReturns = False
  726.             WordWrap = False
  727.           end
  728.           object DBEPrice2: TwwDBEdit
  729.             Left = 568
  730.             Top = 38
  731.             Width = 80
  732.             Height = 24
  733.             TabStop = False
  734.             Ctl3D = True
  735.             DataField = 'Price2'
  736.             DataSource = dsTempLineInvoice
  737.             ParentColor = True
  738.             ParentCtl3D = False
  739.             ReadOnly = True
  740.             TabOrder = 2
  741.             UnboundDataType = wwDefault
  742.             WantReturns = False
  743.             WordWrap = False
  744.           end
  745.           object DBEPrice3: TwwDBEdit
  746.             Left = 568
  747.             Top = 64
  748.             Width = 80
  749.             Height = 24
  750.             TabStop = False
  751.             Ctl3D = True
  752.             DataField = 'Price3'
  753.             DataSource = dsTempLineInvoice
  754.             ParentColor = True
  755.             ParentCtl3D = False
  756.             ReadOnly = True
  757.             TabOrder = 3
  758.             UnboundDataType = wwDefault
  759.             WantReturns = False
  760.             WordWrap = False
  761.           end
  762.           object DBEInStock: TwwDBEdit
  763.             Left = 400
  764.             Top = 12
  765.             Width = 80
  766.             Height = 24
  767.             TabStop = False
  768.             Color = clBtnFace
  769.             Ctl3D = True
  770.             DataField = 'InStock'
  771.             DataSource = dsTempLineInvoice
  772.             Font.Charset = DEFAULT_CHARSET
  773.             Font.Color = clWindowText
  774.             Font.Height = -13
  775.             Font.Name = 'Arial'
  776.             Font.Style = []
  777.             ParentCtl3D = False
  778.             ParentFont = False
  779.             ReadOnly = True
  780.             TabOrder = 4
  781.             UnboundDataType = wwDefault
  782.             WantReturns = False
  783.             WordWrap = False
  784.             OnChange = DBEInStockChange
  785.           end
  786.           object DBEReOrderLevel: TwwDBEdit
  787.             Left = 400
  788.             Top = 64
  789.             Width = 80
  790.             Height = 24
  791.             TabStop = False
  792.             Ctl3D = True
  793.             DataField = 'ReorderLev'
  794.             DataSource = dsTempLineInvoice
  795.             ParentColor = True
  796.             ParentCtl3D = False
  797.             ReadOnly = True
  798.             TabOrder = 5
  799.             UnboundDataType = wwDefault
  800.             WantReturns = False
  801.             WordWrap = False
  802.             OnChange = DBEReOrderLevelChange
  803.           end
  804.           object DBEOnOrder: TwwDBEdit
  805.             Left = 400
  806.             Top = 38
  807.             Width = 80
  808.             Height = 24
  809.             TabStop = False
  810.             Ctl3D = True
  811.             DataField = 'OnOrder'
  812.             DataSource = dsTempLineInvoice
  813.             ParentColor = True
  814.             ParentCtl3D = False
  815.             ReadOnly = True
  816.             TabOrder = 6
  817.             UnboundDataType = wwDefault
  818.             WantReturns = False
  819.             WordWrap = False
  820.           end
  821.           object DBCPrice: TwwDBComboBox
  822.             Left = 216
  823.             Top = 8
  824.             Width = 21
  825.             Height = 24
  826.             ShowButton = True
  827.             Style = csDropDown
  828.             MapList = False
  829.             AllowClearKey = False
  830.             DataField = 'PRICE'
  831.             DataSource = dsTempLineInvoice
  832.             DropDownCount = 8
  833.             ItemHeight = 0
  834.             MaxLength = 10
  835.             Sorted = False
  836.             TabOrder = 7
  837.             UnboundDataType = wwDefault
  838.             OnDropDown = DBCPriceDropDown
  839.             OnEnter = DBCPriceEnter
  840.           end
  841.           object DBCDisc: TwwDBComboBox
  842.             Left = 244
  843.             Top = 8
  844.             Width = 21
  845.             Height = 24
  846.             ShowButton = True
  847.             Style = csDropDown
  848.             MapList = False
  849.             AllowClearKey = False
  850.             DataField = 'DISC'
  851.             DataSource = dsTempLineInvoice
  852.             DropDownCount = 8
  853.             ItemHeight = 0
  854.             Sorted = False
  855.             TabOrder = 8
  856.             UnboundDataType = wwDefault
  857.             OnDropDown = DBCDiscDropDown
  858.             OnEnter = DBCDiscEnter
  859.           end
  860.           object DBCDlgFindStock: TwwDBComboDlg
  861.             Left = 224
  862.             Top = 92
  863.             Width = 17
  864.             Height = 24
  865.             OnCustomDlg = DBCDlgFindStockCustomDlg
  866.             ShowButton = True
  867.             Style = csDropDown
  868.             CharCase = ecUpperCase
  869.             DataField = 'STOCKCODE'
  870.             DataSource = dsTempLineInvoice
  871.             TabOrder = 9
  872.             UnboundDataType = wwDefault
  873.             OnKeyDown = DBCDlgFindStockKeyDown
  874.             OnKeyUp = DBCDlgFindStockKeyUp
  875.           end
  876.           object DBCFindNominal: TwwDBComboDlg
  877.             Left = 224
  878.             Top = 64
  879.             Width = 17
  880.             Height = 24
  881.             OnCustomDlg = DBCFindNominalCustomDlg
  882.             ShowButton = True
  883.             Style = csDropDown
  884.             CharCase = ecUpperCase
  885.             DataField = 'NOMACC'
  886.             DataSource = dsTempLineInvoice
  887.             TabOrder = 10
  888.             UnboundDataType = wwDefault
  889.             OnExit = DBCFindNominalExit
  890.             OnKeyUp = DBCFindNominalKeyUp
  891.           end
  892.           object DBSEVatCode: TwwDBSpinEdit
  893.             Left = 252
  894.             Top = 80
  895.             Width = 17
  896.             Height = 24
  897.             Increment = 1.000000000000000000
  898.             MaxValue = 9.000000000000000000
  899.             DataField = 'VATCODE'
  900.             DataSource = dsTempLineInvoice
  901.             TabOrder = 11
  902.             UnboundDataType = wwDefault
  903.             OnEnter = DBSEVatCodeEnter
  904.           end
  905.           object DBEItemCustRef: TEdit
  906.             Left = 92
  907.             Top = 8
  908.             Width = 80
  909.             Height = 24
  910.             TabStop = False
  911.             Ctl3D = True
  912.             ParentColor = True
  913.             ParentCtl3D = False
  914.             ReadOnly = True
  915.             TabOrder = 12
  916.           end
  917.           object DBEMarkup: TwwDBEdit
  918.             Left = 400
  919.             Top = 90
  920.             Width = 80
  921.             Height = 24
  922.             TabStop = False
  923.             Ctl3D = True
  924.             DataField = 'Markup'
  925.             DataSource = dsTempLineInvoice
  926.             ParentColor = True
  927.             ParentCtl3D = False
  928.             ReadOnly = True
  929.             TabOrder = 13
  930.             UnboundDataType = wwDefault
  931.             WantReturns = False
  932.             WordWrap = False
  933.             OnChange = DBEMarkupChange
  934.           end
  935.           object DBEItemsInvNo: TCurrencyEdit
  936.             Left = 92
  937.             Top = 63
  938.             Width = 80
  939.             Height = 24
  940.             TabStop = False
  941.             AutoSize = False
  942.             Ctl3D = True
  943.             DecimalPlaces = 0
  944.             DisplayFormat = '0'
  945.             ParentColor = True
  946.             ParentCtl3D = False
  947.             ReadOnly = True
  948.             TabOrder = 14
  949.           end
  950.           object DBMemo1: TDBMemo
  951.             Left = 92
  952.             Top = 132
  953.             Width = 581
  954.             Height = 24
  955.             TabStop = False
  956.             DataField = 'FREETEXT'
  957.             DataSource = dsTempLineInvoice
  958.             ParentColor = True
  959.             ReadOnly = True
  960.             TabOrder = 15
  961.           end
  962.           object ECCostPrice: TRxDBCalcEdit
  963.             Left = 568
  964.             Top = 92
  965.             Width = 106
  966.             Height = 24
  967.             Hint = 'Press F1 for help'
  968.             HelpContext = 428
  969.             DataField = 'CostPrice'
  970.             DataSource = dsTempLineInvoice
  971.             ReadOnly = True
  972.             DisplayFormat = '0.00'
  973.             NumGlyphs = 2
  974.             ParentColor = True
  975.             ParentShowHint = False
  976.             ShowHint = True
  977.             TabOrder = 16
  978.             OnButtonClick = ECCostPriceButtonClick
  979.             OnEnter = ECCostPriceEnter
  980.             OnExit = ECCostPriceExit
  981.           end
  982.           object DBEItemCustName: TwwDBEdit
  983.             Left = 92
  984.             Top = 36
  985.             Width = 190
  986.             Height = 24
  987.             TabStop = False
  988.             DataField = 'NAME'
  989.             DataSource = dsTempMainInvoice
  990.             ParentColor = True
  991.             ReadOnly = True
  992.             TabOrder = 17
  993.             UnboundDataType = wwDefault
  994.             WantReturns = False
  995.             WordWrap = False
  996.           end
  997.         end
  998.         object Panel4: TPanel
  999.           Left = 0
  1000.           Top = 165
  1001.           Width = 685
  1002.           Height = 185
  1003.           Align = alClient
  1004.           TabOrder = 1
  1005.           object DBGMainInvoice: TwwDBGrid
  1006.             Left = 1
  1007.             Top = 1
  1008.             Width = 683
  1009.             Height = 143
  1010.             Hint = 'Press F1 for help'
  1011.             Selected.Strings = (
  1012.               'STOCKCODE'#9'14'#9'Stock Code'
  1013.               'FREETEXT'#9'20'#9'Description'
  1014.               'QUANTITY'#9'9'#9'Qty'
  1015.               'PRICE'#9'10'#9'Price'
  1016.               'DISC'#9'10'#9'Disc %'
  1017.               'NOMACC'#9'10'#9'Nom. A/C'
  1018.               'VATCODE'#9'4'#9'VC '
  1019.               'LINESUB'#9'10'#9'Sub Total'#9'T')
  1020.             MemoAttributes = [mSizeable, mWordWrap, mGridShow, mDisableDialog]
  1021.             TitleColor = clBtnFace
  1022.             FixedCols = 0
  1023.             ShowHorzScrollBar = True
  1024.             Align = alClient
  1025.             DataSource = dsTempLineInvoice
  1026.             Font.Charset = DEFAULT_CHARSET
  1027.             Font.Color = clWindowText
  1028.             Font.Height = -13
  1029.             Font.Name = 'Arial'
  1030.             Font.Style = []
  1031.             KeyOptions = [dgEnterToTab, dgAllowDelete, dgAllowInsert]
  1032.             Options = [dgEditing, dgAlwaysShowEditor, dgTitles, dgIndicator, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
  1033.             ParentFont = False
  1034.             ParentShowHint = False
  1035.             PopupMenu = RCLinePopup
  1036.             ShowHint = True
  1037.             TabOrder = 0
  1038.             TitleAlignment = taLeftJustify
  1039.             TitleFont.Charset = DEFAULT_CHARSET
  1040.             TitleFont.Color = clWindowText
  1041.             TitleFont.Height = -13
  1042.             TitleFont.Name = 'Arial'
  1043.             TitleFont.Style = []
  1044.             TitleLines = 1
  1045.             TitleButtons = False
  1046.             UseTFields = False
  1047.             OnCalcCellColors = DBGMainInvoiceCalcCellColors
  1048.             OnColEnter = DBGMainInvoiceColEnter
  1049.             OnColExit = DBGMainInvoiceColExit
  1050.             OnDblClick = DBGMainInvoiceDblClick
  1051.             IndicatorColor = icBlack
  1052.             OnTopRowChanged = DBGMainInvoiceTopRowChanged
  1053.             object DBGMainInvoiceIButton: TwwIButton
  1054.               Left = 0
  1055.               Top = 0
  1056.               Width = 13
  1057.               Height = 25
  1058.               AllowAllUp = True
  1059.             end
  1060.           end
  1061.           object Panel3: TPanel
  1062.             Left = 1
  1063.             Top = 144
  1064.             Width = 683
  1065.             Height = 40
  1066.             Align = alBottom
  1067.             TabOrder = 1
  1068.             object Label20: TLabel
  1069.               Left = 100
  1070.               Top = 12
  1071.               Width = 91
  1072.               Height = 16
  1073.               Caption = 'Items Sub Total'
  1074.             end
  1075.             object Label55: TLabel
  1076.               Left = 312
  1077.               Top = 12
  1078.               Width = 61
  1079.               Height = 16
  1080.               Caption = 'Items VAT'
  1081.             end
  1082.             object Label56: TLabel
  1083.               Left = 508
  1084.               Top = 12
  1085.               Width = 64
  1086.               Height = 16
  1087.               Caption = 'Items Total'
  1088.             end
  1089.             object ETotalValue: TwwDBEdit
  1090.               Left = 208
  1091.               Top = 8
  1092.               Width = 80
  1093.               Height = 24
  1094.               DataField = 'ITEMSSUB'
  1095.               DataSource = dsTempMainInvoice
  1096.               ParentColor = True
  1097.               ReadOnly = True
  1098.               TabOrder = 0
  1099.               UnboundDataType = wwDefault
  1100.               WantReturns = False
  1101.               WordWrap = False
  1102.             end
  1103.             object ETotalVAT: TwwDBEdit
  1104.               Left = 396
  1105.               Top = 8
  1106.               Width = 80
  1107.               Height = 24
  1108.               DataField = 'ITEMSTAX'
  1109.               DataSource = dsTempMainInvoice
  1110.               ParentColor = True
  1111.               ReadOnly = True
  1112.               TabOrder = 1
  1113.               UnboundDataType = wwDefault
  1114.               WantReturns = False
  1115.               WordWrap = False
  1116.             end
  1117.             object EInvoiceTotal: TwwDBEdit
  1118.               Left = 584
  1119.               Top = 8
  1120.               Width = 80
  1121.               Height = 24
  1122.               DataField = 'ITEMSTOTAL'
  1123.               DataSource = dsTempMainInvoice
  1124.               ParentColor = True
  1125.               ReadOnly = True
  1126.               TabOrder = 2
  1127.               UnboundDataType = wwDefault
  1128.               WantReturns = False
  1129.               WordWrap = False
  1130.               OnChange = EInvoiceTotalChange
  1131.             end
  1132.           end
  1133.         end
  1134.       end
  1135.       object FooterDetTab: TTabSheet
  1136.         Caption = '&Footer Details'
  1137.         OnEnter = FooterDetTabEnter
  1138.         object Bevel7: TBevel
  1139.           Left = 12
  1140.           Top = 10
  1141.           Width = 237
  1142.           Height = 157
  1143.           Shape = bsFrame
  1144.         end
  1145.         object Label25: TLabel
  1146.           Left = 20
  1147.           Top = 24
  1148.           Width = 48
  1149.           Height = 16
  1150.           Caption = 'Carriage'
  1151.         end
  1152.         object Label31: TLabel
  1153.           Left = 20
  1154.           Top = 52
  1155.           Width = 59
  1156.           Height = 16
  1157.           Caption = 'VAT Code'
  1158.         end
  1159.         object Label32: TLabel
  1160.           Left = 20
  1161.           Top = 80
  1162.           Width = 48
  1163.           Height = 16
  1164.           Caption = 'Account'
  1165.         end
  1166.         object Label33: TLabel
  1167.           Left = 20
  1168.           Top = 107
  1169.           Width = 25
  1170.           Height = 16
  1171.           Caption = 'VAT'
  1172.         end
  1173.         object Label34: TLabel
  1174.           Left = 20
  1175.           Top = 135
  1176.           Width = 28
  1177.           Height = 16
  1178.           Caption = 'Total'
  1179.         end
  1180.         object Bevel8: TBevel
  1181.           Left = 488
  1182.           Top = 8
  1183.           Width = 193
  1184.           Height = 141
  1185.           Shape = bsFrame
  1186.         end
  1187.         object Bevel9: TBevel
  1188.           Left = 488
  1189.           Top = 156
  1190.           Width = 193
  1191.           Height = 141
  1192.           Shape = bsFrame
  1193.         end
  1194.         object Label35: TLabel
  1195.           Left = 496
  1196.           Top = 19
  1197.           Width = 75
  1198.           Height = 16
  1199.           Caption = 'Goods Value'
  1200.         end
  1201.         object Label36: TLabel
  1202.           Left = 496
  1203.           Top = 45
  1204.           Width = 51
  1205.           Height = 16
  1206.           Caption = 'Discount'
  1207.         end
  1208.         object Label37: TLabel
  1209.           Left = 496
  1210.           Top = 71
  1211.           Width = 66
  1212.           Height = 16
  1213.           Caption = 'Goods Nett'
  1214.         end
  1215.         object Label38: TLabel
  1216.           Left = 496
  1217.           Top = 97
  1218.           Width = 74
  1219.           Height = 16
  1220.           Caption = 'VAT Amount'
  1221.         end
  1222.         object Label39: TLabel
  1223.           Left = 496
  1224.           Top = 123
  1225.           Width = 70
  1226.           Height = 16
  1227.           Caption = 'Goods Total'
  1228.         end
  1229.         object Label40: TLabel
  1230.           Left = 496
  1231.           Top = 167
  1232.           Width = 65
  1233.           Height = 16
  1234.           Caption = 'Total Value'
  1235.         end
  1236.         object Label41: TLabel
  1237.           Left = 496
  1238.           Top = 193
  1239.           Width = 83
  1240.           Height = 16
  1241.           Caption = 'Total Discount'
  1242.         end
  1243.         object Label42: TLabel
  1244.           Left = 496
  1245.           Top = 219
  1246.           Width = 56
  1247.           Height = 16
  1248.           Caption = 'Total Nett'
  1249.         end
  1250.         object Label43: TLabel
  1251.           Left = 496
  1252.           Top = 245
  1253.           Width = 57
  1254.           Height = 16
  1255.           Caption = 'Total VAT'
  1256.         end
  1257.         object Label44: TLabel
  1258.           Left = 496
  1259.           Top = 271
  1260.           Width = 71
  1261.           Height = 16
  1262.           Caption = 'Total Invoice'
  1263.         end
  1264.         object Bevel10: TBevel
  1265.           Left = 12
  1266.           Top = 176
  1267.           Width = 237
  1268.           Height = 85
  1269.           Shape = bsFrame
  1270.         end
  1271.         object Label46: TLabel
  1272.           Left = 24
  1273.           Top = 228
  1274.           Width = 109
  1275.           Height = 16
  1276.           Caption = 'Settlement Disc %'
  1277.         end
  1278.         object Label45: TLabel
  1279.           Left = 24
  1280.           Top = 192
  1281.           Width = 90
  1282.           Height = 16
  1283.           Caption = 'Settlment Days'
  1284.         end
  1285.         object Bevel11: TBevel
  1286.           Left = 260
  1287.           Top = 176
  1288.           Width = 221
  1289.           Height = 149
  1290.           Shape = bsFrame
  1291.         end
  1292.         object Label48: TLabel
  1293.           Left = 268
  1294.           Top = 224
  1295.           Width = 99
  1296.           Height = 16
  1297.           Caption = 'Payment Method'
  1298.         end
  1299.         object Label49: TLabel
  1300.           Left = 268
  1301.           Top = 289
  1302.           Width = 101
  1303.           Height = 16
  1304.           Caption = 'Payment Amount'
  1305.         end
  1306.         object Label51: TLabel
  1307.           Left = 268
  1308.           Top = 256
  1309.           Width = 57
  1310.           Height = 16
  1311.           Caption = 'Bank Ref.'
  1312.         end
  1313.         object Label53: TLabel
  1314.           Left = 496
  1315.           Top = 315
  1316.           Width = 62
  1317.           Height = 16
  1318.           Caption = 'Early Sett.'
  1319.         end
  1320.         object Bevel14: TBevel
  1321.           Left = 12
  1322.           Top = 268
  1323.           Width = 237
  1324.           Height = 37
  1325.           Shape = bsFrame
  1326.         end
  1327.         object Bevel15: TBevel
  1328.           Left = 488
  1329.           Top = 304
  1330.           Width = 193
  1331.           Height = 37
  1332.           Shape = bsFrame
  1333.         end
  1334.         object DBSVatCode: TwwDBSpinEdit
  1335.           Left = 104
  1336.           Top = 48
  1337.           Width = 33
  1338.           Height = 24
  1339.           Hint = 'Press F1 for help'
  1340.           HelpContext = 430
  1341.           Increment = 1.000000000000000000
  1342.           MaxValue = 9.000000000000000000
  1343.           DataField = 'CARTAXCODE'
  1344.           DataSource = dsTempMainInvoice
  1345.           ParentShowHint = False
  1346.           ShowHint = True
  1347.           TabOrder = 1
  1348.           UnboundDataType = wwDefault
  1349.           OnChange = DBSVatCodeChange
  1350.         end
  1351.         object GroupBox1: TGroupBox
  1352.           Left = 260
  1353.           Top = 4
  1354.           Width = 221
  1355.           Height = 165
  1356.           HelpContext = 432
  1357.           Caption = 'Notepad'
  1358.           TabOrder = 3
  1359.           TabStop = True
  1360.           object Notepad: TDBMemo
  1361.             Left = 12
  1362.             Top = 20
  1363.             Width = 197
  1364.             Height = 133
  1365.             Hint = 'Press F1 for help'
  1366.             DataField = 'NOTES'
  1367.             DataSource = dsTempMainInvoice
  1368.             ParentShowHint = False
  1369.             ShowHint = True
  1370.             TabOrder = 0
  1371.             OnEnter = NotepadEnter
  1372.             OnExit = NotepadExit
  1373.           end
  1374.         end
  1375.         object CBPayNow: TCheckBox
  1376.           Left = 268
  1377.           Top = 191
  1378.           Width = 125
  1379.           Height = 17
  1380.           Hint = 'Press F1 for help'
  1381.           HelpContext = 436
  1382.           Alignment = taLeftJustify
  1383.           Caption = 'Pay Now'
  1384.           ParentShowHint = False
  1385.           ShowHint = True
  1386.           TabOrder = 6
  1387.           OnClick = CBPayNowClick
  1388.         end
  1389.         object DBCPayMethod: TwwDBComboBox
  1390.           Left = 380
  1391.           Top = 220
  1392.           Width = 90
  1393.           Height = 24
  1394.           Hint = 'Press F1 for help'
  1395.           HelpContext = 437
  1396.           ShowButton = True
  1397.           Style = csDropDown
  1398.           MapList = False
  1399.           AllowClearKey = False
  1400.           DataField = 'PAYTYPE'
  1401.           DataSource = dsTempMainInvoice
  1402.           DropDownCount = 8
  1403.           ItemHeight = 0
  1404.           Items.Strings = (
  1405.             'Cash'
  1406.             'Bank')
  1407.           ParentShowHint = False
  1408.           ShowHint = True
  1409.           Sorted = False
  1410.           TabOrder = 7
  1411.           UnboundDataType = wwDefault
  1412.           OnChange = DBCPayMethodChange
  1413.         end
  1414.         object CESettDays: TwwDBSpinEdit
  1415.           Left = 148
  1416.           Top = 188
  1417.           Width = 50
  1418.           Height = 24
  1419.           Hint = 'Press F1 for help'
  1420.           HelpContext = 434
  1421.           Increment = 1.000000000000000000
  1422.           MaxValue = 365.000000000000000000
  1423.           DataField = 'SETTDAYS'
  1424.           DataSource = dsTempMainInvoice
  1425.           ParentShowHint = False
  1426.           ShowHint = True
  1427.           TabOrder = 4
  1428.           UnboundDataType = wwDefault
  1429.         end
  1430.         object DBCBBankCashAcc: TwwDBLookupCombo
  1431.           Left = 380
  1432.           Top = 252
  1433.           Width = 90
  1434.           Height = 24
  1435.           Hint = 'Press F1 for help'
  1436.           HelpContext = 438
  1437.           DropDownAlignment = taLeftJustify
  1438.           Selected.Strings = (
  1439.             'NOMACC'#9'10'#9'Bank Ref.'
  1440.             'NOMNAME'#9'30'#9'Bank Name')
  1441.           DataField = 'BANK'
  1442.           DataSource = dsTempMainInvoice
  1443.           LookupTable = taCashBank
  1444.           LookupField = 'NOMACC'
  1445.           Options = [loColLines, loTitles]
  1446.           Enabled = False
  1447.           ParentShowHint = False
  1448.           ShowHint = True
  1449.           TabOrder = 8
  1450.           AutoDropDown = False
  1451.           ShowButton = True
  1452.           AllowClearKey = False
  1453.         end
  1454.         object wwDBCDlgDelNomAcc: TRxDBComboEdit
  1455.           Left = 104
  1456.           Top = 76
  1457.           Width = 100
  1458.           Height = 24
  1459.           Hint = 'Press F1 for help'
  1460.           HelpContext = 431
  1461.           CharCase = ecUpperCase
  1462.           ClickKey = 16467
  1463.           DataField = 'CARNOMINAL'
  1464.           DataSource = dsTempMainInvoice
  1465.           Glyph.Data = {
  1466.             F6000000424DF600000000000000760000002800000010000000100000000100
  1467.             0400000000008000000000000000000000001000000010000000000000000000
  1468.             80000080000000808000800000008000800080800000C0C0C000808080000000
  1469.             FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
  1470.             7777000000000000000088888888880088808777777770EC7780877777770EC0
  1471.             778087777770EC0777808770003F30777780878FFF200777778083FFFFF27777
  1472.             77808FFFFFFF077777808FFFFFFF0777778083FFFFFF77777780888888808888
  1473.             8880800333000080880080000000000000003333333333333330}
  1474.           ButtonWidth = 24
  1475.           NumGlyphs = 1
  1476.           ParentShowHint = False
  1477.           ShowHint = True
  1478.           TabOrder = 2
  1479.           OnButtonClick = wwDBCDlgDelNomAccButtonClick
  1480.           OnExit = wwDBCDlgDelNomAccExit
  1481.         end
  1482.         object EDelVATAmount: TwwDBEdit
  1483.           Left = 104
  1484.           Top = 104
  1485.           Width = 80
  1486.           Height = 24
  1487.           TabStop = False
  1488.           DataField = 'CARTAX'
  1489.           DataSource = dsTempMainInvoice
  1490.           ParentColor = True
  1491.           ReadOnly = True
  1492.           TabOrder = 11
  1493.           UnboundDataType = wwDefault
  1494.           WantReturns = False
  1495.           WordWrap = False
  1496.         end
  1497.         object EDelTotal: TwwDBEdit
  1498.           Left = 104
  1499.           Top = 132
  1500.           Width = 80
  1501.           Height = 24
  1502.           TabStop = False
  1503.           DataField = 'CarGross'
  1504.           DataSource = dsTempMainInvoice
  1505.           ParentColor = True
  1506.           ReadOnly = True
  1507.           TabOrder = 12
  1508.           UnboundDataType = wwDefault
  1509.           WantReturns = False
  1510.           WordWrap = False
  1511.         end
  1512.         object EGoodsValue: TwwDBEdit
  1513.           Left = 592
  1514.           Top = 16
  1515.           Width = 80
  1516.           Height = 24
  1517.           TabStop = False
  1518.           DataField = 'ITEMSNETT'
  1519.           DataSource = dsTempMainInvoice
  1520.           ParentColor = True
  1521.           ReadOnly = True
  1522.           TabOrder = 13
  1523.           UnboundDataType = wwDefault
  1524.           WantReturns = False
  1525.           WordWrap = False
  1526.         end
  1527.         object EDiscValue: TwwDBEdit
  1528.           Left = 592
  1529.           Top = 42
  1530.           Width = 80
  1531.           Height = 24
  1532.           TabStop = False
  1533.           DataField = 'ITEMSDISC'
  1534.           DataSource = dsTempMainInvoice
  1535.           ParentColor = True
  1536.           ReadOnly = True
  1537.           TabOrder = 14
  1538.           UnboundDataType = wwDefault
  1539.           WantReturns = False
  1540.           WordWrap = False
  1541.         end
  1542.         object EGoodsNett: TwwDBEdit
  1543.           Left = 592
  1544.           Top = 68
  1545.           Width = 80
  1546.           Height = 24
  1547.           TabStop = False
  1548.           DataField = 'ITEMSSUB'
  1549.           DataSource = dsTempMainInvoice
  1550.           ParentColor = True
  1551.           ReadOnly = True
  1552.           TabOrder = 15
  1553.           UnboundDataType = wwDefault
  1554.           WantReturns = False
  1555.           WordWrap = False
  1556.         end
  1557.         object EGoodsVAT: TwwDBEdit
  1558.           Left = 592
  1559.           Top = 94
  1560.           Width = 80
  1561.           Height = 24
  1562.           TabStop = False
  1563.           DataField = 'ITEMSTAX'
  1564.           DataSource = dsTempMainInvoice
  1565.           ParentColor = True
  1566.           ReadOnly = True
  1567.           TabOrder = 16
  1568.           UnboundDataType = wwDefault
  1569.           WantReturns = False
  1570.           WordWrap = False
  1571.         end
  1572.         object EGoodsTotal: TwwDBEdit
  1573.           Left = 592
  1574.           Top = 120
  1575.           Width = 80
  1576.           Height = 24
  1577.           TabStop = False
  1578.           DataField = 'ITEMSTOTAL'
  1579.           DataSource = dsTempMainInvoice
  1580.           ParentColor = True
  1581.           ReadOnly = True
  1582.           TabOrder = 17
  1583.           UnboundDataType = wwDefault
  1584.           WantReturns = False
  1585.           WordWrap = False
  1586.         end
  1587.         object EFooterTotalValue: TwwDBEdit
  1588.           Left = 592
  1589.           Top = 164
  1590.           Width = 80
  1591.           Height = 24
  1592.           TabStop = False
  1593.           DataField = 'TotalNett'
  1594.           DataSource = dsTempMainInvoice
  1595.           ParentColor = True
  1596.           ReadOnly = True
  1597.           TabOrder = 18
  1598.           UnboundDataType = wwDefault
  1599.           WantReturns = False
  1600.           WordWrap = False
  1601.         end
  1602.         object EFooterTotalDisc: TwwDBEdit
  1603.           Left = 592
  1604.           Top = 190
  1605.           Width = 80
  1606.           Height = 24
  1607.           TabStop = False
  1608.           DataField = 'TotalDisc'
  1609.           DataSource = dsTempMainInvoice
  1610.           ParentColor = True
  1611.           ReadOnly = True
  1612.           TabOrder = 19
  1613.           UnboundDataType = wwDefault
  1614.           WantReturns = False
  1615.           WordWrap = False
  1616.         end
  1617.         object EFooterTotalNett: TwwDBEdit
  1618.           Left = 592
  1619.           Top = 216
  1620.           Width = 80
  1621.           Height = 24
  1622.           TabStop = False
  1623.           DataField = 'TotalSub'
  1624.           DataSource = dsTempMainInvoice
  1625.           ParentColor = True
  1626.           ReadOnly = True
  1627.           TabOrder = 20
  1628.           UnboundDataType = wwDefault
  1629.           WantReturns = False
  1630.           WordWrap = False
  1631.         end
  1632.         object EFooterTotalVAT: TwwDBEdit
  1633.           Left = 592
  1634.           Top = 242
  1635.           Width = 80
  1636.           Height = 24
  1637.           TabStop = False
  1638.           DataField = 'TotalTax'
  1639.           DataSource = dsTempMainInvoice
  1640.           ParentColor = True
  1641.           ReadOnly = True
  1642.           TabOrder = 21
  1643.           UnboundDataType = wwDefault
  1644.           WantReturns = False
  1645.           WordWrap = False
  1646.         end
  1647.         object EFooterTotalInv: TwwDBEdit
  1648.           Left = 592
  1649.           Top = 268
  1650.           Width = 80
  1651.           Height = 24
  1652.           TabStop = False
  1653.           DataField = 'InvTotal'
  1654.           DataSource = dsTempMainInvoice
  1655.           ParentColor = True
  1656.           ReadOnly = True
  1657.           TabOrder = 22
  1658.           UnboundDataType = wwDefault
  1659.           WantReturns = False
  1660.           WordWrap = False
  1661.         end
  1662.         object CEEarlySett: TwwDBEdit
  1663.           Left = 592
  1664.           Top = 312
  1665.           Width = 80
  1666.           Height = 24
  1667.           HelpContext = 441
  1668.           TabStop = False
  1669.           DataField = 'SDTOPAY'
  1670.           DataSource = dsTempMainInvoice
  1671.           ParentColor = True
  1672.           ReadOnly = True
  1673.           TabOrder = 23
  1674.           UnboundDataType = wwDefault
  1675.           WantReturns = False
  1676.           WordWrap = False
  1677.         end
  1678.         object CESettDisc: TRxDBCalcEdit
  1679.           Left = 148
  1680.           Top = 224
  1681.           Width = 85
  1682.           Height = 24
  1683.           Hint = 'Press F1 for help'
  1684.           HelpContext = 435
  1685.           DataField = 'SETTDISC'
  1686.           DataSource = dsTempMainInvoice
  1687.           ClickKey = 16451
  1688.           DisplayFormat = '0.00'
  1689.           NumGlyphs = 2
  1690.           ParentShowHint = False
  1691.           ShowHint = True
  1692.           TabOrder = 5
  1693.           ZeroEmpty = False
  1694.           OnButtonClick = CESettDiscButtonClick
  1695.           OnEnter = CESettDiscEnter
  1696.           OnExit = CESettDiscExit
  1697.         end
  1698.         object CBPostNow: TCheckBox
  1699.           Left = 24
  1700.           Top = 276
  1701.           Width = 137
  1702.           Height = 17
  1703.           Hint = 'Press F1 for help'
  1704.           HelpContext = 440
  1705.           Alignment = taLeftJustify
  1706.           Caption = 'Post Now'
  1707.           ParentShowHint = False
  1708.           ShowHint = True
  1709.           TabOrder = 10
  1710.           OnClick = CBPostNowClick
  1711.         end
  1712.         object EPayAmount: TRxDBCalcEdit
  1713.           Left = 380
  1714.           Top = 284
  1715.           Width = 90
  1716.           Height = 24
  1717.           Hint = 'Press F1 for help'
  1718.           HelpContext = 439
  1719.           DataField = 'PAYAMOUNT'
  1720.           DataSource = dsTempMainInvoice
  1721.           ClickKey = 16451
  1722.           DisplayFormat = '0.00'
  1723.           NumGlyphs = 2
  1724.           ParentShowHint = False
  1725.           ShowHint = True
  1726.           TabOrder = 9
  1727.         end
  1728.         object EDelCharge: TRxDBCalcEdit
  1729.           Left = 104
  1730.           Top = 20
  1731.           Width = 100
  1732.           Height = 24
  1733.           Hint = 'Press F1 for help'
  1734.           HelpContext = 429
  1735.           DataField = 'CARRIAGE'
  1736.           DataSource = dsTempMainInvoice
  1737.           ClickKey = 16451
  1738.           DisplayFormat = '0.00'
  1739.           NumGlyphs = 2
  1740.           ParentShowHint = False
  1741.           ShowHint = True
  1742.           TabOrder = 0
  1743.           OnButtonClick = EDelChargeButtonClick
  1744.           OnEnter = EDelChargeEnter
  1745.           OnExit = EDelChargeExit
  1746.         end
  1747.       end
  1748.     end
  1749.   end
  1750.   object SpeedBar: TSpeedBar
  1751.     Left = 0
  1752.     Top = 0
  1753.     Width = 695
  1754.     Height = 49
  1755.     Font.Charset = ANSI_CHARSET
  1756.     Font.Color = clWindowText
  1757.     Font.Height = -12
  1758.     Font.Name = 'MS Sans Serif'
  1759.     Font.Style = []
  1760.     Options = [sbFlatBtns, sbGrayedBtns, sbTransparentBtns]
  1761.     BtnOffsetHorz = 3
  1762.     BtnOffsetVert = 3
  1763.     BtnWidth = 74
  1764.     BtnHeight = 43
  1765.     TabOrder = 1
  1766.     InternalVer = 1
  1767.     object SpeedbarSection1: TSpeedbarSection
  1768.       Caption = 'Payment'
  1769.     end
  1770.     object BtnNew: TSpeedItem
  1771.       BtnCaption = '&New'
  1772.       Caption = 'Create a new transaction'
  1773.       Hint = 'Create a new transaction'
  1774.       Spacing = 1
  1775.       Left = 3
  1776.       Top = 3
  1777.       Visible = True
  1778.       OnClick = BtnNewClick
  1779.       SectionName = 'Payment'
  1780.     end
  1781.     object BtnSave: TSpeedItem
  1782.       BtnCaption = '&Save'
  1783.       Caption = 'Save The Transaction'
  1784.       Enabled = False
  1785.       Spacing = 1
  1786.       Left = 77
  1787.       Top = 3
  1788.       Visible = True
  1789.       OnClick = BtnSaveClick
  1790.       SectionName = 'Payment'
  1791.     end
  1792.     object BtnAbandon: TSpeedItem
  1793.       BtnCaption = '&Abandon'
  1794.       Caption = 'Abandon The Transaction'
  1795.       Enabled = False
  1796.       Spacing = 1
  1797.       Left = 151
  1798.       Top = 3
  1799.       Visible = True
  1800.       OnClick = BtnAbandonClick
  1801.       SectionName = 'Payment'
  1802.     end
  1803.     object BtnRemove: TSpeedItem
  1804.       BtnCaption = 'Re&move'
  1805.       Caption = 'Remove This Line'
  1806.       Enabled = False
  1807.       Spacing = 1
  1808.       Left = 225
  1809.       Top = 3
  1810.       Visible = True
  1811.       OnClick = BtnRemoveClick
  1812.       SectionName = 'Payment'
  1813.     end
  1814.     object BtnPrint: TSpeedItem
  1815.       BtnCaption = '&Print'
  1816.       Caption = 'Print/preview this transaction'
  1817.       Hint = 'Print/preview this transaction'
  1818.       Spacing = 1
  1819.       Left = 373
  1820.       Top = 3
  1821.       Visible = True
  1822.       OnClick = BtnPrintClick
  1823.       SectionName = 'Payment'
  1824.     end
  1825.     object BtnVatRev: TSpeedItem
  1826.       BtnCaption = '&VAT Reverse'
  1827.       Caption = 'Reverse VAT'
  1828.       Enabled = False
  1829.       Spacing = 1
  1830.       Left = 299
  1831.       Top = 3
  1832.       Visible = True
  1833.       OnClick = BtnVatRevClick
  1834.       SectionName = 'Payment'
  1835.     end
  1836.     object BtnClose: TSpeedItem
  1837.       BtnCaption = '&Close'
  1838.       Caption = 'Close The  Form'
  1839.       Spacing = 1
  1840.       Left = 521
  1841.       Top = 3
  1842.       Visible = True
  1843.       OnClick = BtnCloseClick
  1844.       SectionName = 'Payment'
  1845.     end
  1846.     object BtnHelp: TSpeedItem
  1847.       BtnCaption = '&Help'
  1848.       Caption = 'Help'
  1849.       Glyph.Data = {
  1850.         F6000000424DF600000000000000760000002800000010000000100000000100
  1851.         0400000000008000000000000000000000001000000010000000000000000000
  1852.         8000008000000080800080000000800080008080000080808000C0C0C0000000
  1853.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888886446888
  1854.         888888888E6648888888888888E6688888888888888888888888888888446888
  1855.         8888888886664888888888888E664888888888888E6664888888888888E66648
  1856.         88888888888E6664888888844888E6664888886664888E66488888E666444666
  1857.         4888888E6666666668888888EE6666668888888888EEEEE88888}
  1858.       Spacing = 1
  1859.       Left = 447
  1860.       Top = 3
  1861.       Visible = True
  1862.       OnClick = BtnHelpClick
  1863.       SectionName = 'Payment'
  1864.     end
  1865.   end
  1866.   object taTempLineInvoice: TwwTable
  1867.     OnCalcFields = taTempLineInvoiceCalcFields
  1868.     OnNewRecord = taTempLineInvoiceNewRecord
  1869.     ControlType.Strings = (
  1870.       'STOCKCODE;CustomEdit;DBCDlgFindStock'
  1871.       'NOMACC;CustomEdit;DBCFindNominal'
  1872.       'VATCODE;CustomEdit;DBSEVatCode'
  1873.       'PRICE;CustomEdit;DBCPrice'
  1874.       'DISC;CustomEdit;DBCDisc')
  1875.     SyncSQLByRange = True
  1876.     NarrowSearch = False
  1877.     ValidateWithMask = True
  1878.     Left = 384
  1879.     Top = 338
  1880.     object taTempLineInvoiceSTOCKCODE: TStringField
  1881.       FieldName = 'STOCKCODE'
  1882.       Size = 16
  1883.     end
  1884.     object taTempLineInvoiceFREETEXT: TMemoField
  1885.       FieldName = 'FREETEXT'
  1886.       BlobType = ftMemo
  1887.       Size = 1
  1888.     end
  1889.     object taTempLineInvoiceQUANTITY: TFloatField
  1890.       FieldName = 'QUANTITY'
  1891.       OnChange = taTempLineInvoiceQUANTITYChange
  1892.     end
  1893.     object taTempLineInvoicePRICE: TFloatField
  1894.       FieldName = 'PRICE'
  1895.       OnChange = taTempLineInvoicePRICEChange
  1896.       Precision = 5
  1897.     end
  1898.     object taTempLineInvoiceDISC: TFloatField
  1899.       FieldName = 'DISC'
  1900.       OnChange = taTempLineInvoicePRICEChange
  1901.       DisplayFormat = '0.00'
  1902.     end
  1903.     object taTempLineInvoiceVATCODE: TStringField
  1904.       FieldName = 'VATCODE'
  1905.       OnChange = taTempLineInvoicePRICEChange
  1906.       Size = 1
  1907.     end
  1908.     object taTempLineInvoiceNOMACC: TStringField
  1909.       FieldName = 'NOMACC'
  1910.       Size = 10
  1911.     end
  1912.     object taTempLineInvoiceLINESUB: TFloatField
  1913.       FieldName = 'LINESUB'
  1914.       DisplayFormat = '0.00'
  1915.     end
  1916.     object taTempLineInvoiceLINENETT: TFloatField
  1917.       FieldName = 'LINENETT'
  1918.       DisplayFormat = '0.00'
  1919.     end
  1920.     object taTempLineInvoiceLINEDISC: TFloatField
  1921.       FieldName = 'LINEDISC'
  1922.       DisplayFormat = '0.00'
  1923.     end
  1924.     object taTempLineInvoiceLINETOTAL: TFloatField
  1925.       FieldName = 'LINETOTAL'
  1926.       DisplayFormat = '0.00'
  1927.     end
  1928.     object taTempLineInvoiceLINEVAT: TFloatField
  1929.       FieldName = 'LINEVAT'
  1930.       DisplayFormat = '0.00'
  1931.     end
  1932.     object taTempLineInvoiceCOSTPRICE: TFloatField
  1933.       FieldName = 'COSTPRICE'
  1934.       DisplayFormat = '0.00'
  1935.     end
  1936.     object taTempLineInvoiceMarkup: TFloatField
  1937.       FieldName = 'Markup'
  1938.       DisplayFormat = '0.00'
  1939.       Calculated = True
  1940.     end
  1941.     object taTempLineInvoiceReorderLevel: TFloatField
  1942.       FieldName = 'ReorderLev'
  1943.       LookupDataSet = DM1.taStock
  1944.       LookupKeyFields = 'STOCKCODE'
  1945.       LookupResultField = 'REORDLEV'
  1946.       KeyFields = 'STOCKCODE'
  1947.       Visible = False
  1948.       Lookup = True
  1949.     end
  1950.     object taTempLineInvoiceOnOrder: TFloatField
  1951.       FieldName = 'OnOrder'
  1952.       LookupDataSet = DM1.taStock
  1953.       LookupKeyFields = 'STOCKCODE'
  1954.       LookupResultField = 'ONORDER'
  1955.       KeyFields = 'STOCKCODE'
  1956.       Visible = False
  1957.       Lookup = True
  1958.     end
  1959.     object taTempLineInvoiceInStock: TFloatField
  1960.       FieldName = 'InStock'
  1961.       LookupDataSet = DM1.taStock
  1962.       LookupKeyFields = 'STOCKCODE'
  1963.       LookupResultField = 'INSTOCK'
  1964.       KeyFields = 'STOCKCODE'
  1965.       Visible = False
  1966.       Lookup = True
  1967.     end
  1968.     object taTempLineInvoicePrice3: TFloatField
  1969.       FieldName = 'Price3'
  1970.       LookupDataSet = DM1.taStock
  1971.       LookupKeyFields = 'STOCKCODE'
  1972.       LookupResultField = 'SALEPRICE3'
  1973.       KeyFields = 'STOCKCODE'
  1974.       Visible = False
  1975.       Lookup = True
  1976.     end
  1977.     object taTempLineInvoicePrice2: TFloatField
  1978.       FieldName = 'Price2'
  1979.       LookupDataSet = DM1.taStock
  1980.       LookupKeyFields = 'STOCKCODE'
  1981.       LookupResultField = 'SALEPRICE2'
  1982.       KeyFields = 'STOCKCODE'
  1983.       Visible = False
  1984.       Lookup = True
  1985.     end
  1986.     object taTempLineInvoicePrice1: TFloatField
  1987.       FieldName = 'Price1'
  1988.       LookupDataSet = DM1.taStock
  1989.       LookupKeyFields = 'STOCKCODE'
  1990.       LookupResultField = 'SALEPRICE1'
  1991.       KeyFields = 'STOCKCODE'
  1992.       Visible = False
  1993.       Lookup = True
  1994.     end
  1995.   end
  1996.   object dsTempLineInvoice: TwwDataSource
  1997.     DataSet = taTempLineInvoice
  1998.     OnStateChange = dsTempLineInvoiceStateChange
  1999.     OnDataChange = dsTempLineInvoiceDataChange
  2000.     Left = 200
  2001.     Top = 294
  2002.   end
  2003.   object FreeTextDlg: TwwMemoDialog
  2004.     DataSource = dsTempLineInvoice
  2005.     DataField = 'FREETEXT'
  2006.     Font.Charset = DEFAULT_CHARSET
  2007.     Font.Color = clWindowText
  2008.     Font.Height = -13
  2009.     Font.Name = 'MS Sans Serif'
  2010.     Font.Style = []
  2011.     Caption = 'Free Text'
  2012.     DlgLeft = 0
  2013.     DlgTop = 0
  2014.     DlgWidth = 470
  2015.     DlgHeight = 300
  2016.     OnCloseDialog = FreeTextDlgCloseDialog
  2017.     Left = 664
  2018.     Top = 3
  2019.   end
  2020.   object taCashBank: TwwTable
  2021.     SyncSQLByRange = True
  2022.     NarrowSearch = False
  2023.     ValidateWithMask = True
  2024.     Left = 28
  2025.     Top = 294
  2026.   end
  2027.   object dsCashBank: TwwDataSource
  2028.     DataSet = taCashBank
  2029.     Left = 116
  2030.     Top = 294
  2031.   end
  2032.   object Sizer1: TSizer
  2033.     Enabled = True
  2034.     ExceptionAction = eaIgnoreControl
  2035.     GridColumnSizing = gcSizeAllColumns
  2036.     GridRowSizing = grSizeByDefaults
  2037.     MinimumSize = True
  2038.     NavigateOnEnter = True
  2039.     OverrideParentFont = True
  2040.     PerformAssertions = False
  2041.     ShowAssertionFailures = False
  2042.     StretchFonts = True
  2043.     StretchImages = True
  2044.     StretchOnResize = True
  2045.     ThreadProcessing = True
  2046.     Left = 636
  2047.     Top = 4
  2048.     ScreenWidth = (
  2049.       800)
  2050.     ScreenHeight = (
  2051.       600)
  2052.     OriginalFormWidth = (
  2053.       703)
  2054.     OriginalFormHeight = (
  2055.       459)
  2056.     OriginalFormLeft = (
  2057.       29)
  2058.     OriginalFormTop = (
  2059.       88)
  2060.     OriginalFormPPI = (
  2061.       120)
  2062.     OriginalClientWidth = (
  2063.       695)
  2064.     OriginalClientHeight = (
  2065.       432)
  2066.   end
  2067.   object taTempMainInvoice: TwwTable
  2068.     OnCalcFields = taTempMainInvoiceCalcFields
  2069.     OnNewRecord = taTempMainInvoiceNewRecord
  2070.     SyncSQLByRange = True
  2071.     NarrowSearch = False
  2072.     ValidateWithMask = True
  2073.     Left = 213
  2074.     Top = 341
  2075.     object taTempMainInvoiceINVTYPE: TStringField
  2076.       FieldName = 'INVTYPE'
  2077.       Size = 11
  2078.     end
  2079.     object taTempMainInvoicePAYTYPE: TStringField
  2080.       FieldName = 'PAYTYPE'
  2081.       Size = 8
  2082.     end
  2083.     object taTempMainInvoiceBANK: TStringField
  2084.       FieldName = 'BANK'
  2085.       Size = 10
  2086.     end
  2087.     object taTempMainInvoicePAYAMOUNT: TFloatField
  2088.       FieldName = 'PAYAMOUNT'
  2089.       DisplayFormat = '0.00'
  2090.     end
  2091.     object taTempMainInvoiceINVDATE: TDateField
  2092.       FieldName = 'INVDATE'
  2093.     end
  2094.     object taTempMainInvoiceACREF: TStringField
  2095.       FieldName = 'ACREF'
  2096.       Size = 10
  2097.     end
  2098.     object taTempMainInvoiceNAME: TStringField
  2099.       FieldName = 'NAME'
  2100.       Size = 30
  2101.     end
  2102.     object taTempMainInvoiceADDRESS1: TStringField
  2103.       FieldName = 'ADDRESS1'
  2104.       Size = 30
  2105.     end
  2106.     object taTempMainInvoiceADDRESS2: TStringField
  2107.       FieldName = 'ADDRESS2'
  2108.       Size = 30
  2109.     end
  2110.     object taTempMainInvoiceADDRESS3: TStringField
  2111.       FieldName = 'ADDRESS3'
  2112.       Size = 30
  2113.     end
  2114.     object taTempMainInvoiceADDRESS4: TStringField
  2115.       FieldName = 'ADDRESS4'
  2116.       Size = 30
  2117.     end
  2118.     object taTempMainInvoiceTELNO: TStringField
  2119.       FieldName = 'TELNO'
  2120.       Size = 15
  2121.     end
  2122.     object taTempMainInvoiceDELNAME: TStringField
  2123.       FieldName = 'DELNAME'
  2124.       Size = 30
  2125.     end
  2126.     object taTempMainInvoiceDELADD1: TStringField
  2127.       FieldName = 'DELADD1'
  2128.       Size = 30
  2129.     end
  2130.     object taTempMainInvoiceDELADD2: TStringField
  2131.       FieldName = 'DELADD2'
  2132.       Size = 30
  2133.     end
  2134.     object taTempMainInvoiceDELADD3: TStringField
  2135.       FieldName = 'DELADD3'
  2136.       Size = 30
  2137.     end
  2138.     object taTempMainInvoiceDELADD4: TStringField
  2139.       FieldName = 'DELADD4'
  2140.       Size = 30
  2141.     end
  2142.     object taTempMainInvoiceDELTELNO: TStringField
  2143.       FieldName = 'DELTELNO'
  2144.       Size = 15
  2145.     end
  2146.     object taTempMainInvoiceCORDER: TStringField
  2147.       FieldName = 'CORDER'
  2148.       Size = 15
  2149.     end
  2150.     object taTempMainInvoiceNOTES: TMemoField
  2151.       FieldName = 'NOTES'
  2152.       BlobType = ftMemo
  2153.       Size = 1
  2154.     end
  2155.     object taTempMainInvoiceSETTDAYS: TFloatField
  2156.       FieldName = 'SETTDAYS'
  2157.     end
  2158.     object taTempMainInvoiceSETTDISC: TFloatField
  2159.       FieldName = 'SETTDISC'
  2160.     end
  2161.     object taTempMainInvoiceITEMSNETT: TFloatField
  2162.       FieldName = 'ITEMSNETT'
  2163.       DisplayFormat = '0.00'
  2164.     end
  2165.     object taTempMainInvoiceITEMSDISC: TFloatField
  2166.       FieldName = 'ITEMSDISC'
  2167.       DisplayFormat = '0.00'
  2168.     end
  2169.     object taTempMainInvoiceITEMSSUB: TFloatField
  2170.       FieldName = 'ITEMSSUB'
  2171.       DisplayFormat = '0.00'
  2172.     end
  2173.     object taTempMainInvoiceITEMSTAX: TFloatField
  2174.       FieldName = 'ITEMSTAX'
  2175.       DisplayFormat = '0.00'
  2176.     end
  2177.     object taTempMainInvoiceITEMSTOTAL: TFloatField
  2178.       FieldName = 'ITEMSTOTAL'
  2179.       DisplayFormat = '0.00'
  2180.     end
  2181.     object taTempMainInvoiceCARRIAGE: TFloatField
  2182.       FieldName = 'CARRIAGE'
  2183.       DisplayFormat = '0.00'
  2184.     end
  2185.     object taTempMainInvoiceCARTAXCODE: TStringField
  2186.       FieldName = 'CARTAXCODE'
  2187.       Size = 1
  2188.     end
  2189.     object taTempMainInvoiceCARTAX: TFloatField
  2190.       FieldName = 'CARTAX'
  2191.       DisplayFormat = '0.00'
  2192.     end
  2193.     object taTempMainInvoiceCARNOMINAL: TStringField
  2194.       FieldName = 'CARNOMINAL'
  2195.       Size = 10
  2196.     end
  2197.     object taTempMainInvoiceSDTOPAY: TFloatField
  2198.       FieldName = 'SDTOPAY'
  2199.       DisplayFormat = '0.00'
  2200.     end
  2201.     object taTempMainInvoiceCarGross: TFloatField
  2202.       FieldName = 'CarGross'
  2203.       DisplayFormat = '0.00'
  2204.       Calculated = True
  2205.     end
  2206.     object taTempMainInvoiceTotalNett: TFloatField
  2207.       FieldName = 'TotalNett'
  2208.       DisplayFormat = '0.00'
  2209.       Calculated = True
  2210.     end
  2211.     object taTempMainInvoiceTotalDisc: TFloatField
  2212.       FieldName = 'TotalDisc'
  2213.       DisplayFormat = '0.00'
  2214.       Calculated = True
  2215.     end
  2216.     object taTempMainInvoiceTotalSub: TFloatField
  2217.       FieldName = 'TotalSub'
  2218.       DisplayFormat = '0.00'
  2219.       Calculated = True
  2220.     end
  2221.     object taTempMainInvoiceTotalTax: TFloatField
  2222.       FieldName = 'TotalTax'
  2223.       DisplayFormat = '0.00'
  2224.       Calculated = True
  2225.     end
  2226.     object taTempMainInvoiceInvTotal: TFloatField
  2227.       FieldName = 'InvTotal'
  2228.       DisplayFormat = '0.00'
  2229.       Calculated = True
  2230.     end
  2231.   end
  2232.   object dsTempMainInvoice: TwwDataSource
  2233.     DataSet = taTempMainInvoice
  2234.     OnStateChange = dsTempMainInvoiceStateChange
  2235.     Left = 52
  2236.     Top = 344
  2237.   end
  2238.   object RCLinePopup: TRxPopupMenu
  2239.     OnPopup = RCLinePopupPopup
  2240.     Style = msOwnerDraw
  2241.     ShowCheckMarks = False
  2242.     OnGetItemParams = RCLinePopupGetItemParams
  2243.     Left = 297
  2244.     Top = 296
  2245.     object pmStockAdjustment: TMenuItem
  2246.       Caption = 'Stock Adjustment'
  2247.       OnClick = pmStockAdjustmentClick
  2248.     end
  2249.     object pmStockItemPicture: TMenuItem
  2250.       Caption = 'Stock Item Picture'
  2251.       OnClick = pmStockItemPictureClick
  2252.     end
  2253.     object N1: TMenuItem
  2254.       Caption = '-'
  2255.     end
  2256.     object pmChangeGridColour: TMenuItem
  2257.       Caption = 'Change Grid Colour'
  2258.       OnClick = pmChangeGridColourClick
  2259.     end
  2260.   end
  2261. end
  2262.