⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ar_qry_chginfosaleinvoice.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Ar_Qry_ChgInfoSaleInvoice: TFrm_Ar_Qry_ChgInfoSaleInvoice
  Left = 123
  Top = 184
  Caption = '销售发票表身操作日志'
  ClientHeight = 364
  ClientWidth = 595
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    Width = 595
  end
  inherited Pnl_Title: TPanel
    Width = 595
    Caption = '销售发票表身操作日志'
    inherited Image2: TImage
      Width = 595
    end
  end
  inherited Pnl_Head: TPanel
    Width = 595
    inherited Image1: TImage
      Width = 595
    end
    inherited Lbl_Order: TLabel
      Width = 126
      Caption = '操作时间/销售发货单号'
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 338
    Width = 595
    inherited Image4: TImage
      Width = 595
    end
  end
  inherited Pnl_Body: TPanel
    Width = 595
    Height = 241
    inherited Image3: TImage
      Width = 595
      Height = 241
    end
    inherited DBGridEh: TDBGridEh
      Width = 595
      Height = 241
      FrozenCols = 3
      Columns = <
        Item
          FieldName = 'InvoiceNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '销售发票号'
          Width = 86
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ShipNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '发货单号'
          Width = 80
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ShipLineNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '发货单行号'
          Width = 72
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料代码'
          Width = 125
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料描述'
          Width = 250
          KeyList.Strings = ()
        end
        Item
          FieldName = 'UomName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '单位'
          Width = 41
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ShipQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '发货量'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'TaxPrice'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '含税单价'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'TaxAmount'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '含税金额'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'DiSCountRate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '折扣率'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'DiSCountAmount'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '折扣额'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ChgEmployeeCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '操作人员代码'
          Width = 40
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'EmployeeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '操作人员名称'
          Width = 40
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ChgEmployeeB'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '操作人员'
          Width = 88
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ChgTime'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '操作时间'
          Width = 72
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ChgType'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '操作类型'
          KeyList.Strings = ()
        end>
    end
  end
  inherited ActionList: TActionList
    Left = 200
    Top = 200
  end
  inherited AdoQry_Main: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=Mrpii_Standard;Data Source=192.1' +
      '68.0.151;Use procedure for Prepare=1;Auto Translate=True;Packet ' +
      'Size=4096;Workstation ID=XYB'
    CurSorType = ctStatic
    SQL.Strings = (
      'select Sa_SaleInvoiceLineHistory.InvoiceNo,'
      #9'Sa_SaleInvoiceLineHistory.ShipNo,'
      #9'Sa_SaleInvoiceLineHistory.ShipLineNo,'
      #9'Sa_SaleInvoiceLineHistory.ItemCode,'
      #9'Item.ItemName,'
      #9'Uom.UomName,'
      #9'Sa_SaleInvoiceLineHistory.ShipQty,'
      #9'Sa_SaleInvoiceLineHistory.TaxPrice,'
      #9'Sa_SaleInvoiceLineHistory.TaxAmount,'
      #9'Sa_SaleInvoiceLineHistory.DiSCountRate,'
      #9'Sa_SaleInvoiceLineHistory.DiSCountAmount,'
      #9'Sa_SaleInvoiceLineHistory.ChgEmployeeCode,'
      #9'Employee.EmployeeName,      '
      
        #9'Sa_SaleInvoiceLineHistory.ChgEmployeeCode+'#39#39'+Employee.Employeen' +
        'ame '
      #9'as ChgEmployeeB,'
      #9'Sa_SaleInvoiceLineHistory.ChgType,'
      #9'Sa_SaleInvoiceLineHistory.ChgTime'
      'from Sa_SaleInvoiceLineHistory'
      
        'left join Item on Sa_SaleInvoiceLineHistory.ItemCode=Item.Itemco' +
        'de'
      'left join Uom on Item.UomCode=Uom.UomCode'
      'left join Employee on '
      'Sa_SaleInvoiceLineHistory.ChgEmployeeCode=Employee.EmployeeCode'
      '')
    Left = 304
    Top = 241
    object AdoQry_MainInvoiceNo: TStringField
      FieldName = 'InvoiceNo'
      Origin = 'Sa_SaleInvoiceLineHistory'
      Size = 16
    end
    object AdoQry_MainShipNo: TStringField
      FieldName = 'ShipNo'
      Origin = 'Sa_SaleInvoiceLineHistory'
      Size = 16
    end
    object AdoQry_MainShipLineNo: TIntegerField
      FieldName = 'ShipLineNo'
      Origin = 'Sa_SaleInvoiceLineHistory'
    end
    object AdoQry_MainItemCode: TStringField
      FieldName = 'ItemCode'
      Origin = 'Sa_SaleInvoiceLineHistory'
      Size = 16
    end
    object Item: TStringField
      FieldName = 'ItemName'
      Origin = 'Item'
      Size = 80
    end
    object AdoQry_MainUomName: TStringField
      FieldName = 'UomName'
      Origin = 'Uom'
      Size = 10
    end
    object AdoQry_MainShipQty: TFloatField
      FieldName = 'ShipQty'
      Origin = 'Sa_SaleInvoiceLineHistory'
    end
    object AdoQry_MainTaxPrice: TFloatField
      FieldName = 'TaxPrice'
      Origin = 'Sa_SaleInvoiceLineHistory'
    end
    object AdoQry_MainDiSCountRate: TFloatField
      FieldName = 'DiSCountRate'
      Origin = 'Sa_SaleInvoiceLineHistory'
    end
    object AdoQry_MainDiSCountAmount: TFloatField
      FieldName = 'DiSCountAmount'
      Origin = 'Sa_SaleInvoiceLineHistory'
    end
    object AdoQry_MainChgEmployeeCode: TStringField
      FieldName = 'ChgEmployeeCode'
      Origin = 'Sa_SaleInvoiceLineHistory'
      Size = 30
    end
    object AdoQry_MainEmployeeName: TStringField
      FieldName = 'EmployeeName'
      Origin = 'Employee'
      Size = 60
    end
    object AdoQry_MainTaxAmount: TFloatField
      FieldName = 'TaxAmount'
      Origin = 'Sa_SaleInvoiceLineHistory'
    end
    object AdoQry_MainChgEmployeeB: TStringField
      FieldName = 'ChgEmployeeB'
      ReadOnly = True
      Size = 71
    end
    object AdoQry_MainChgTime: TDateTimeField
      FieldName = 'ChgTime'
      Origin = 'Sa_SaleInvoiceLineHistory'
    end
    object AdoQry_MainChgType: TStringField
      FieldName = 'ChgType'
      Origin = 'Sa_SaleInvoiceLineHistory'
      Size = 10
    end
  end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -