📄 fnedclearpc.dfm
字号:
DataSet = adsMaster
Left = 115
Top = 75
end
inherited DetailDataSource: TDataSource
DataSet = adsDetail
Left = 10
Top = 354
end
inherited ActionList: TActionList
Left = 443
Top = 2
end
inherited MainMenu: TMainMenu
Left = 390
Top = 2
end
inherited DetailsPopupMenu: TPopupMenu
Left = 328
Top = 2
end
object ClientName: TADODataSet
Connection = CommonData.acnConnection
CursorType = ctStatic
CommandText = 'select ID, Name from DAClient'#13#10'where RecordState<>'#39#21024#38500#39' '
Parameters = <>
Left = 225
Top = 43
end
object EmployeeName: TADODataSet
Connection = CommonData.acnConnection
CursorType = ctStatic
CommandText = 'select ID, Name'#13#10'from MSEmployee'#13#10'where RecordState<>'#39#21024#38500#39
Parameters = <>
Left = 181
Top = 43
end
object GoodName: TADODataSet
Connection = CommonData.acnConnection
CursorType = ctStatic
CommandText = 'select *'#13#10'from DAGoods'#13#10'where RecordState<>'#39#21024#38500#39
Parameters = <>
Left = 213
Top = 311
end
object adsAccounts: TADODataSet
Connection = CommonData.acnConnection
CursorType = ctStatic
CommandText =
'select a.ID, a.Name,b.IsLocation from dbo.FNAccounts a'#13#10'left o' +
'uter join dbo.MSCurrency b on b.ID=a.CurrencyID'#13#10'where a.Record' +
'state<>'#39#21024#38500#39#13#10'and a.Name not like '#39'%'#19994#20027#36164#37329'%'#39#13#10'and b.IsLocation=1'#13#10
Parameters = <>
Left = 144
Top = 43
end
object dsAccounts: TDataSource
DataSet = adsAccounts
Left = 144
Top = 75
end
object DSClientName: TDataSource
DataSet = ClientName
Left = 225
Top = 75
end
object DSEmployeeName: TDataSource
DataSet = EmployeeName
Left = 181
Top = 75
end
object adsMaster: TADODataSet
Tag = 11
Connection = CommonData.acnConnection
CursorType = ctStatic
Filtered = True
CommandText =
'select *'#13#10'from FNClearPCMaster'#13#10'where RecordState<>'#39#21024#38500#39' and ID' +
'=:ID'
IndexFieldNames = 'ID'
Parameters = <
item
Name = 'ID'
Attributes = [paSigned]
DataType = ftInteger
Precision = 10
Size = 4
Value = Null
end>
Left = 115
Top = 43
object adsMasterID: TAutoIncField
FieldName = 'ID'
ReadOnly = True
end
object adsMasterCreateDate: TDateTimeField
FieldName = 'CreateDate'
end
object adsMasterCreateUserID: TIntegerField
FieldName = 'CreateUserID'
end
object adsMasterRecordState: TStringField
FieldName = 'RecordState'
Size = 12
end
object adsMasterDate: TDateTimeField
FieldName = 'Date'
end
object adsMasterCode: TStringField
FieldName = 'Code'
end
object adsMasterBillMode: TStringField
FieldName = 'BillMode'
Size = 16
end
object adsMasterModeDC: TIntegerField
FieldName = 'ModeDC'
end
object adsMasterModeC: TIntegerField
FieldName = 'ModeC'
end
object adsMasterBrief: TStringField
FieldName = 'Brief'
Size = 30
end
object adsMasterClientID: TIntegerField
FieldName = 'ClientID'
end
object adsMasterEmployeeID: TIntegerField
FieldName = 'EmployeeID'
end
object adsMasterClearDate: TDateTimeField
FieldName = 'ClearDate'
end
object adsMasterAccountsID: TIntegerField
FieldName = 'AccountsID'
end
object adsMasterAmountD: TBCDField
FieldName = 'AmountD'
DisplayFormat = '#,#.00'
EditFormat = '#.00'
Precision = 19
end
object adsMasterAmountC: TBCDField
FieldName = 'AmountC'
DisplayFormat = '#,#.00'
EditFormat = '#.00'
Precision = 19
end
object adsMasterAmountRed: TBCDField
FieldName = 'AmountRed'
DisplayFormat = '#,#.00'
EditFormat = '#.00'
Precision = 19
end
object adsMasterAmountBL: TBCDField
FieldName = 'AmountBL'
DisplayFormat = '#,#.00'
EditFormat = '#.00'
Precision = 19
end
object adsMasterMemo: TStringField
FieldName = 'Memo'
Size = 60
end
object adsMasterBillAffix: TBytesField
FieldName = 'BillAffix'
Size = 1
end
object adsMasterOriginID: TIntegerField
FieldName = 'OriginID'
end
object adsMasterOriginTable: TStringField
FieldName = 'OriginTable'
Size = 30
end
object adsMasterPeriodID: TIntegerField
FieldName = 'PeriodID'
end
end
object adsDetail: TADODataSet
Connection = CommonData.acnConnection
CursorType = ctStatic
LockType = ltBatchOptimistic
CommandText = 'select *'#13#10'from FNClearPCDetail '#13#10'where MasterID = :ID'
IndexFieldNames = 'ID'
Parameters = <
item
Name = 'ID'
Attributes = [paSigned, paNullable]
DataType = ftInteger
Precision = 10
Size = 4
Value = Null
end>
Left = 10
Top = 311
object adsDetailID: TAutoIncField
FieldName = 'ID'
ReadOnly = True
Visible = False
end
object adsDetailMasterID: TIntegerField
FieldName = 'MasterID'
Visible = False
end
object adsDetailOriginID: TIntegerField
FieldName = 'OriginID'
Visible = False
OnChange = adsDetailOriginIDChange
end
object adsDetailPoClearID: TIntegerField
FieldName = 'PoClearID'
Visible = False
end
object adsDetailGoodsID: TIntegerField
FieldName = 'GoodsID'
Visible = False
end
object adsDetailProjectID: TIntegerField
FieldName = 'ProjectID'
Visible = False
end
object adsDetailExpenseID: TIntegerField
FieldName = 'ExpenseID'
Visible = False
end
object adsDetailBillTypeID: TIntegerField
FieldName = 'BillTypeID'
Visible = False
end
object adsDetailProject: TStringField
DisplayLabel = #30456#20851#39033#30446
FieldKind = fkLookup
FieldName = 'Project'
LookupDataSet = AdsProject
LookupKeyFields = 'ID'
LookupResultField = 'Name'
KeyFields = 'ProjectID'
Visible = False
Lookup = True
end
object adsDetailOriginTable: TStringField
FieldName = 'OriginTable'
Visible = False
Size = 30
end
object adsDetailOriginCode: TStringField
DisplayLabel = #21407#22987#37319#36141#21333#21495
FieldKind = fkLookup
FieldName = 'OriginCode'
LookupDataSet = adsCode
LookupKeyFields = 'ID'
LookupResultField = 'Code'
KeyFields = 'OriginID'
Lookup = True
end
object adsDetailAmount: TBCDField
DisplayLabel = #32467#31639#37329#39069
FieldName = 'Amount'
currency = True
Precision = 19
end
object adsDetailPoclear: TStringField
DisplayLabel = #32467#31639#26041#24335
FieldKind = fkLookup
FieldName = 'Poclear'
LookupDataSet = adsPoclear
LookupKeyFields = 'ID'
LookupResultField = 'Name'
KeyFields = 'PoClearID'
Lookup = True
end
object adsDetailCheckNo: TStringField
DisplayLabel = #25903#31080#21495#30721
FieldName = 'CheckNo'
end
object adsDetailBillCode: TStringField
DisplayLabel = #21457#31080#32534#21495
FieldName = 'BillCode'
end
object adsDetailMemo: TStringField
DisplayLabel = #22791#27880
FieldName = 'Memo'
Size = 30
end
object adsDetailGoods: TStringField
DisplayLabel = #25353#21830#21697#32467#31639
FieldKind = fkLookup
FieldName = 'Goods'
LookupDataSet = GoodName
LookupKeyFields = 'ID'
LookupResultField = 'Name'
KeyFields = 'GoodsID'
Lookup = True
end
end
object adsPoclear: TADODataSet
Connection = CommonData.acnConnection
CursorType = ctStatic
CommandText = 'select ID, Name from POClear'#13#10'where recordstate<>'#39#21024#38500#39
Parameters = <>
Left = 60
Top = 311
end
object dsPoclear: TDataSource
DataSet = adsPoclear
Left = 60
Top = 354
end
object AdsProject: TADODataSet
Connection = CommonData.acnConnection
CursorType = ctStatic
CommandText = 'select ID, Name from DAProjectClass'#13#10'where recordstate<>'#39#21024#38500#39
Parameters = <>
Left = 162
Top = 311
end
object dsADOProject: TDataSource
DataSet = AdsProject
Left = 162
Top = 354
end
object adsBrief: TADODataSet
Connection = CommonData.acnConnection
CursorType = ctStatic
CommandText = 'select distinct Brief from FNClearSLMaster'
Parameters = <>
Left = 269
Top = 43
end
object dsCode: TDataSource
DataSet = adsCode
Left = 104
Top = 360
end
object adsCode: TADODataSet
Connection = CommonData.acnConnection
CursorType = ctStatic
CommandText =
'select a.ID, a.Code,b.amount'#13#10'from PcPurchaseMaster a left outer' +
' join '#13#10'( select masterID, sum(isnull(amount,0) ) as amount fr' +
'om PCPurchaseDetail group by MasterID ) as b '#13#10'on b.MasterID=a' +
'.ID'#13#10'where a.recordstate<>'#39#21024#38500#39
Parameters = <>
Left = 104
Top = 312
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -