金蝶K3 数据表知识整理(不断完善)
0 0 t_VoucherGroup 憑證字表 憑證的收付轉等分類字 0 0
0 1 t_VoucherEntry 憑證分錄表 憑證分錄 0 0
0 2 t_Voucher 憑證表 憑證 0 0
0 3 t_User 系統用戶信息表 系統用戶信息表 0 0
0 4 t_UnitGroup 單位類別表 計量單位類別 0 0
0 5 t_SystemProfile 系統參數表 公司名稱等系統控制參數 0 0
0 6 t_Supplier 供應商表 供應商資料 0 0
0 7 t_SubMesType 輔助資料類別表 系統公用的說明信息類別 0 0
0 8 t_SubMessage 輔助資料表 系統公用的說明信息 0 0
0 9 t_Stock 倉庫表 倉庫資料 0 0
0 11 t_MeasureUnit 計量單位表 計量單位 0 0
0 15 t_ItemPropDesc 核算項目附表信息描述表 描述核算項目附表的字段信息 0 0
0 16 t_ItemClass 基礎資料類別表 基礎資料類別 0 0
0 17 t_ICItem 物料表 所有材料、產品、半成品等 0 0
0 19 t_Emp 職員表 職員 0 0
0 20 t_Department 部門表 部門 0 0
0 22 t_Account 科目表 會計科目 0 0
0 39 t_Identity 自動步長編碼表 為表實現自動編碼 1 0
0 50 t_Organization 客戶表 客戶資料 0 0
0 60 t_Item 基礎資料主表 基礎資料主表 0 0
6 60002 ICPurBill 采購發票 采購發票表頭 0 0
6 60003 ICPurEntry 采購發票分錄 采購發票表體 0 0
21 210001 ICBal 存貨余額表 存貨收發存數量、金額 0 0
21 210004 ICInventory 存貨表 存貨庫房、數量 0 0
23 230004 SEOrder 銷售訂單表 銷售訂單 0 0
23 230005 SEOrderEntry 銷售訂單分錄表 銷售訂單分錄 0 0
23 230006 SEOutStock 發貨通知表 銷售發貨通知單 0 0
23 230007 SEOutStockEntry 發貨通知單分錄表 銷售發貨通知單分錄 0 0
23 230018 ICSale 銷售發票表 銷售發票表 0 0
23 230033 ICDisPly 折扣政策表頭 折扣政策表頭 0 0
23 230034 ICDisPlyEntry 折扣分錄表 折扣分錄表 0 0
23 230035 ICPrcPly 價格政策表頭 價格政策表頭 0 0
23 230036 ICPrcPlyEntry 價格政策分錄表 價格政策分錄表 0 0
23 230037 ICPrcPlyEntrySpec 最低價格可銷控制表 最低價格可銷控制表 0 0
25 250000 ICBOM BOM表 0 0
25 250001 ICBOMCHILD BOM分錄表 0 0
25 250002 ICBOMGROUP BOM組別表 0 0
25 250003 ICCUSTBOMCHILD 客戶BOM分錄表 0 0
+++++++++++++++++++++++++++++++++++++++++++
–1系統參數
–1.1會計期間、庫存影響參數
select * from t_SystemProfile where FKey = ‘currentYear’
–2.輔助資料
select * from t_SubMesType
select FInterID,* from t_SubMessage
–3.核算項目表,引用核算項目表都是使用了FItemId字段,
–物料表(t_ICItem)和職工表(t_emp)屬于視圖
–3.1總表 可用通過t_ItemClass(FItemClassId) 來查詢分類
select * from t_item
select * from t_ItemClass
–3.2 客戶表
select FName,FItemID,F_102,* from t_Organization
select FName,* from t_Item where FItemClassID = 1
select * from t_Emp
–3.3核算項目描述信息表
select * from t_ItemPropDesc where FItemClassID = 1 and FSQLColumnName = ‘F_102’
–4.id自增表 t_Identity ICMaxNum
select * from ICMaxNum
select * from t_Identity
declare @interId int
exec GetICMaxNum ‘t_SubMesType’, @interId output, 1, 0
select @interId
–單據類型查詢
select * from ICBillNo
–銷售發票
select FTranType,* from ICSale where FTranType = 80
–存貨余額表
select * from ICBal
–即時庫存
select * from ICInventory
–6.單據:
–6.1工業單據(老單、系統單據)二次開發:自定義單據
–自定義單據路徑:系統–K/3客戶端工具包–輔助工具–單據自定義
select * from ICTemplate where FID = ‘S01’
select * from ICTemplateEntry where FID = ‘I05’
select * from ICTemplate where FCaption like ‘%銷售訂單%’
–HeadSelf I05 53
–固定 FID 序號
–6.2BOS單據(新單、自定義單據)二次開發:新增BOS單據
–自定義單據路徑:系統–K/3 BOS
select * from ICClassTableInfo where FClassTypeID = 200000020
+++++++++++++++++++++++++++++++++++++++++++
K3ERP/KDSDK/doc 總覽
核算項目–核算維度–憑證–表
分錄
基礎資料:(數據字典)
核算項目(t_item(t_supplier,t_organization(客戶表,分類為1),t_stock,t_depentment,t_emp,t_ililem))后臺存儲使用FitemID、
輔助基礎資料(t_submesType,t_subMessage(后臺保存fInterID))、
bos基礎資料、
其他資料類
+++++++++++++++++++++++++++++++++++++++++++
–1改成0賬套可修改(_配置工具,賬套管理)
–select * from T_Systemprofile where FCategory=‘GL’ and FKey=‘Closed’
update T_Systemprofile set FValue = 0 where FCategory=‘GL’ and FKey=‘Closed’
–基礎資料,以FNumber開頭
–單據,以FBill開頭
select * from t_ad_kdAccount_gl
Persist Security Info=True;Provider=SQLOLEDB.1;User ID=sa;Password=tizi@123;Data Source=TIZISERVER01;Initial Catalog=AIS20140114192650
select * from t_SystemProfile where FValue like ‘%8.0.01.01%’
–數據字典?
select * from t_SubMessage
總結
以上是生活随笔為你收集整理的金蝶K3 数据表知识整理(不断完善)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Bootstrap框架---Upload
- 下一篇: 【AI视野·今日CV 计算机视觉论文速览