金蝶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

t_log 操作日志表

+++++++++++++++++++++++++++++++++++++++++++

–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

模块登录超数
数据库:KDAcctDB
表[t_ad_UsingRec]


消息提醒:t_msgList,t_message,t_user;


附件管理表
t_Accessory 附件管理表

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值