-- 发送日志select*from zj_sys_mail_logs;-- 待发送列表,发送失败仍会在这里select*from zj_sys_mailing_list;-- 发送历史select*from zj_sys_mailing_list_ht;-- 带附件的发送日志select*from cs_mail_list_att_log orderby1desc-- 查询select*from hls_ws_requests w
where w.request_wsdl_url like'%modules/fpm/FPM120/cs_fpm_send_mail_att.svc%'orderby1desc;
工作流
--===============-- 工作流定义相关--===============-- 工作流类型定义select*from zj_wfl_workflow_type t where t.workflow_type_code ='&工作流类型';-- 工作流类型参数定义select*from zj_wfl_workflow_type_parameter t where t.workflow_type_id =&工作流类型id;-- 工作流类型定义select*from zj_wfl_workflow t where t.workflow_code ='&工作流类型代码';-- 工作流在不同公司的注册信息select*from zj_wfl_workflow_assigns t where t.workflow_id ='&工作流类型id';-- 工作流审批页面定义select*from zj_wfl_workflow_service t where t.service_name ='&工作流审批页面文件位置';-- 工作流审批页面参数定义select*from zj_wfl_workflow_service_para t where t.service_id =&工作流审批页面id;-- 工作流页面参数定义select*from zj_wfl_workflow_disp_svc_para t where t.workflow_id ='&工作流类型id';-- 工作流过程定义select*from zj_wfl_workflow_procedure t where t.procedure_code ='&工作流过程代码';-- 工作流过程参数定义select*from zj_wfl_workflow_procedure_para t where t.procedure_id =&工作流过程id;-- 工作流结束过程定义表 , procedure_id 记录了工作流过程idselect*from zj_wfl_workflow_end_procedure t where t.workflow_id =&工作流类型id;-- 工作流结束过程参数定义表,procedure_para_id 记录了参数的信息 2255select*from zj_wfl_workflow_end_proc_para t where t.workflow_procedure_id =&过程定义表主键;-- 工作流节点过程,将工作流过程绑定在节点上select*from zj_wfl_workflow_node_procedure t where t.node_id =&工作流节点id;-- 工作流节点过程参数,将工作流过程绑定在节点 node_procedure_idselect*from zj_wfl_workflow_node_proc_para t where t.node_procedure_id =&工作流节点过程id;-- 分支节点??select*from zj_wfl_workflow_node_branch t where t.node_action_id =;-- 分支节点参数select*from zj_wfl_workflow_node_brch_para t where t.node_id =&工作流节点;-- 工作流节点svc过程参数select*from zj_wfl_workflow_node_svc_para;-- 业务参数定义select*from zj_wfl_business_rule_paras t where t.parameter_code ='&业务规则参数代码';-- 业务规则定义select*from zj_wfl_business_rules t where t.business_rule_code ='&业务规则代码';-- 业务规则定义明细select*from zj_wfl_business_rule_details t where t.business_rule_id =&业务规则id;-- 节点审批人定义的业务规则的注册select*from zj_wfl_business_rule_assigns t where t.business_rule_id =&业务规则id;-- 工作流审批人,审批规则定义select*from zj_wfl_workflow_rules t where t.rule_code ='&工作流审批人规则代码';--================-- 工作流执行相关--================-- 工作流日志表,记录每一次工作流操作日志select*from zj_wfl_instance_log t where t.instance_id =&工作流实例id orderby t.log_id asc;-- 工作流流程实例信息select*from zj_wfl_workflow_instance t where t.instance_id =&工作流实例id;-- 工作流每次启动参数信息select*from zj_wfl_workflow_instance_para t where t.instance_id =&工作流实例id;-- 工作流审批履历表,记载了每个审批过节点的审批明细select*from zj_wfl_approve_record t where t.instance_id =&工作流实例id;-- 工作流当前审批层次,每一条记录为一个审批人,其中字段history_record_id记录了本次审批人的信息select*from zj_wfl_instance_node_hierarchy t where t.instance_id =&工作流实例id;-- 工作流节点历史select*from zj_wfl_instance_node_history t where t.instance_id =&工作流实例id;-- 工作流审批历史记录,在每一个审批层次通过后进行记录select*from zj_wfl_instance_node_hirc_ht t where t.history_record_id =&工作流历史审批层次id;-- 工作流历史节点,审批层次select*from zj_wfl_instance_node_rcpt_ht t where t.instance_id =&工作流实例id;-- 工作流当前节点,审批层次信息select*from zj_wfl_instance_node_recipient t where t.instance_id =&工作流实例id;-- 工作流节点定义信息,为每一个节点添加描述和审批方式. node_id 节点idselect*from zj_wfl_workflow_node t where t.workflow_id =&工作流类型id orderby t.sequence_num;-- 工作流节点工作信息,为每一个节点添加对应的通过,节点过程,跳转,默认动作信息 select*from zj_wfl_workflow_node_action t where t.node_id =&工作流节点id;--===============-- 其他--===============-- 工作流示意图表select*from zj_wfl_graphics;-- 工作流示意图详细表select*from zj_wfl_graphics_detail t where t.graphic_id =&示意图id;-- 工作流转接申请select*from zj_wfl_workflow_deliver t where t.workflow_id ='&工作流类型id';-- ?????select*from zj_wfl_workflow_assign_rule t where t.assign_source_id =626;-- ???select*from zj_wfl_workflow_node_act_para t where t.node_action_id =123;
附件
-- 附件明细,附件名,外键信息select*from fnd_atm_attachment t ;-- 附件类型,下载主键,日期信息select*from fnd_atm_attachment_multi t;
导入
-- 导入模板行select*from fnd_interface_lines t where t.header_id =3920;-- 导入模板头select*from fnd_interface_headers t where t.header_id =3920;-- 导入日志select*from fnd_interface_log t where t.interface_header_id =3920;