?? ar_qry_gatheringar4.dfm
字號:
inherited Frm_Ar_Qry_GatheringAr4: TFrm_Ar_Qry_GatheringAr4
Left = 53
Top = 125
Caption = '收款票據--應收帳款對比分析'
PixelsPerInch = 96
TextHeight = 12
inherited Pnl_Title: TPanel
Caption = '按營銷業務員'
end
inherited Pnl_Head: TPanel
Height = 63
inherited Image1: TImage
Height = 63
end
inherited Lbl_OrderTitle: TLabel
Top = 46
end
inherited Lbl_ConditionTitle: TLabel
Top = 2
end
inherited Lbl_Condition: TLabel
Top = 2
end
inherited Lbl_Order: TLabel
Top = 46
Width = 192
Caption = '營銷業務員代碼/發票日期/發票單號'
end
end
inherited Pnl_Body: TPanel
Top = 120
Height = 283
inherited Image3: TImage
Height = 283
end
inherited DBGridEh: TDBGridEh
Height = 283
FrozenCols = 2
Columns = <
Item
FieldName = 'SaleEmployeeCode'
PickList.Strings = ()
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'EmployeeName'
PickList.Strings = ()
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'SaleEmployeeflag'
PickList.Strings = ()
Width = 100
KeyList.Strings = ()
end
Item
FieldName = 'createdate'
PickList.Strings = ()
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'Invoiceno'
PickList.Strings = ()
Width = 78
KeyList.Strings = ()
end
Item
FieldName = 'currencyCode'
PickList.Strings = ()
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'currencyName'
PickList.Strings = ()
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'currencyflag'
PickList.Strings = ()
Width = 65
KeyList.Strings = ()
end
Item
FieldName = 'TotaltaxAmount'
PickList.Strings = ()
Title.Caption = '發票金額'
KeyList.Strings = ()
end
Item
FieldName = 'TotalAmount'
PickList.Strings = ()
Width = 82
KeyList.Strings = ()
end
Item
FieldName = 'Balance'
PickList.Strings = ()
Title.Caption = '未核銷金額'
Width = 83
KeyList.Strings = ()
end
Item
FieldName = 'TotalTaxAmountC'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'TotalAmountC'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'BalanceC'
PickList.Strings = ()
KeyList.Strings = ()
end>
end
end
inherited AdoQry_Tmp: TAdoQuery
Left = 317
end
inherited ActionList: TActionList
Left = 184
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.100;Use procedure for Prepare=1;Auto Translate=True;Packet ' +
'Size=4096;Workstation ID=XYB'
SQL.Strings = (
'select flag=0,'
' sa_SaleInvoice.SaleEmployeeCode,'
' Employee.EmployeeName,'
' sa_SaleInvoice.SaleEmployeeCode+'#39' '#39'+Employee.EmployeeName' +
' as SaleEmployeeflag,'
' convert(varchAr, sa_SaleInvoice.Createdate) as createdate,'
' sa_SaleInvoice.Invoiceno,'
' sa_SaleInvoice.TotaltaxAmount,'
' tmp.TotalAmount,'
' sa_SaleInvoice.TotaltaxAmount-sa_SaleInvoice.CancelAmount' +
' as Balance,'
' 0.0 as TotalTaxAmountC,'
' 0.0 as TotalAmountC,'
' 0.0 as BalanceC,'
' sa_SaleInvoice.currencyCode,'
' currency.currencyName,'
' sa_SaleInvoice.currencyCode+'#39' '#39'+currency.currencyName as ' +
'currencyflag'
'from sa_SaleInvoice'
'left join Employee on sa_SaleInvoice.SaleEmployeeCode=Employee.e' +
'mployeeCode'
'left join currency on sa_SaleInvoice.currencyCode=currency.curre' +
'ncyCode'
'left join (select Billno,sum(isnull(TotalAmount,0)) as Totalamou' +
'nt from Ar_Gatheringline group by Billno) tmp'
'on sa_SaleInvoice.Invoiceno=tmp.Billno')
Left = 224
Top = 217
object AdoQry_MainInvoiceno: TStringField
DisplayLabel = '發票單號'
FieldName = 'Invoiceno'
Origin = '#ArQry_gather4'
Size = 16
end
object AdoQry_MainTotaltaxAmount: TFloatField
DisplayLabel = '應收帳款'
FieldName = 'TotaltaxAmount'
Origin = '#ArQry_gather4'
end
object AdoQry_MainBalance: TFloatField
DisplayLabel = '應收帳款余額'
FieldName = 'Balance'
Origin = '#ArQry_gather4'
ReadOnly = True
end
object AdoQry_MaincurrencyCode: TStringField
DisplayLabel = '貨幣代碼'
FieldName = 'currencyCode'
Origin = '#ArQry_gather4'
Size = 2
end
object AdoQry_MaincurrencyName: TStringField
DisplayLabel = '貨幣名稱'
FieldName = 'currencyName'
Origin = '#ArQry_gather4'
Size = 30
end
object AdoQry_Maincurrencyflag: TStringField
DisplayLabel = '貨幣標識'
FieldName = 'currencyflag'
Origin = '#ArQry_gather4'
ReadOnly = True
Size = 33
end
object AdoQry_Maincreatedate: TStringField
DisplayLabel = '發票日期'
FieldName = 'createdate'
Origin = '#ArQry_gather4'
ReadOnly = True
Size = 30
end
object AdoQry_Mainflag: TIntegerField
FieldName = 'flag'
ReadOnly = True
end
object AdoQry_MainTotalAmount: TFloatField
DisplayLabel = '收款票據金額'
FieldName = 'TotalAmount'
Origin = '#ArQry_gather4'
end
object AdoQry_MainSaleEmployeeCode: TStringField
DisplayLabel = '營銷業務員代碼'
FieldName = 'SaleEmployeeCode'
Origin = '#ArQry_gather4'
Size = 30
end
object AdoQry_MainEmployeeName: TStringField
DisplayLabel = '營銷業務員名稱'
FieldName = 'EmployeeName'
Origin = '#ArQry_gather4'
Size = 60
end
object AdoQry_MainSaleEmployeeflag: TStringField
DisplayLabel = '營銷業務員標識'
FieldName = 'SaleEmployeeflag'
Origin = '#ArQry_gather4'
ReadOnly = True
Size = 91
end
object AdoQry_MainTotalTaxAmountC: TFloatField
DisplayLabel = '本位幣發票金額'
FieldName = 'TotalTaxAmountC'
Origin = '#ArQry_gather4'
ReadOnly = True
end
object AdoQry_MainTotalAmountC: TFloatField
DisplayLabel = '本位幣收款票據金額'
FieldName = 'TotalAmountC'
Origin = '#ArQry_gather4'
ReadOnly = True
end
object AdoQry_MainBalanceC: TFloatField
DisplayLabel = '本位幣未核銷金額'
FieldName = 'BalanceC'
Origin = '#ArQry_gather4'
ReadOnly = True
end
end
inherited DataSource: TDataSource
Left = 336
Top = 201
end
end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -