网站大量收购独家精品文档,联系QQ:2885784924

K3103应收应付数据结构及数据流程培训讲义.ppt

K3103应收应付数据结构及数据流程培训讲义.ppt

  1. 1、本文档共63页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
?1、到款结算: 核销处理 :如果FType = 4 Or FType = 11 And FType = 14 且m_curBal 为正数,或者NOT(FType = 4 Or FType = 11 And FType = 14) 且m_curBal为负数,新增记录到表t_rp_contact,t_RP_NewCheckInfo , 以下字段的值对应为: FCheckAmount = FRemainAmount - m_curBal FCheckAmountFor =FCheckAmount/FRemainAmount* FRemainAmountFor FRemainAmount = m_curBal FRemainAmountFor=m_curBal/FRemainAmount* FremainAmountFor 6.3.1核销管理:到款结算5: ?1、到款结算: 核销处理 :如果FType = 4 Or FType = 11 And FType = 14 且m_curBal 为负数,或者NOT(FType = 4 Or FType = 11 And FType = 14) 且m_curBal为正数,新增记录到表t_rp_contact,t_RP_NewCheckInfo , 以下字段的值对应为: FCheckAmount = FRemainAmount + m_curBal FCheckAmountFor =FCheckAmount/FRemainAmount* FRemainAmountFor FRemainAmount = - m_curBal FRemainAmountFor= - m_curBal/FRemainAmount* FremainAmountFor 6.3.1核销管理:到款结算6: ?1、到款结算: 核销处理 : 4)更改核销标志 t_RP_Contact的标志 FStatus= Fstatus+4, Fdue=1 or 0 (如果是全额核销是1,如果不是全额核销为0,, FCheckType=1 如果Ftype=1, 2 t_rp_arpbill. FStatus= Fstatus+4 如果Ftype=3 Icsale. FArapStatus= FArapstatus+4 如果Ftype=4 ICPurBill. FArapStatus= FArapstatus+4 如果Ftype=5, 6 t_rp_newreceivebill. FStatus= Fstatus+4 2.6.1核销管理:到款结算7: ?1、到款结算: 核销前: select * from icsale where fbillno=fptest01 select * from icsaleentry where finterid=6744 select * from t_rp_newreceivebill where fnumber=sktest01 6.3.1核销管理:到款结算8: ?1、到款结算: 核销后: select ftype,fstatus,famount,fremainamount,famountfor,fremainamountfor,Fdue,* from t_rp_contact where fnumber=fptest01 ----type=3 销售发票 select ftype,fstatus,famount,fremainamount,famountfor,fremainamountfor,Fdue,* from t_rp_contact where fnumber=sktest01 ----type=5收款单 ---select * from t_RP_NewCheckInfo where fcontactid=22827 select fcontactid,fremainamount,fremainamountfor,fcheckamount,* from t_RP_NewCheckInfo where fid=406 select * from t_RP_Checkdetail where fcheckid=406 6.3.1核销管理:到款结算9: ?1、到款结算: 核销处理 : 6.3.1核销管理:到款结算10: ?1、预收款冲应收款: 取待核销记录: 1)? 应收 取t_RP_Contact里的 FType in(1,3,11,13) and FcheckType in (0,1) and Fdue=0 and FRemainAmount0 and (FStatus 1)=1 and (FStat

文档评论(0)

191****0059 + 关注
官方认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:5342242001000034
认证主体四川龙斌文化科技有限公司
IP属地四川
统一社会信用代码/组织机构代码
91510100MA6ADW1H0N

1亿VIP精品文档

相关文档