freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

k3103應(yīng)收應(yīng)付數(shù)據(jù)結(jié)構(gòu)及數(shù)據(jù)流程培訓(xùn)講義(編輯修改稿)

2025-02-11 02:09 本頁面
 

【文章內(nèi)容簡介】 應(yīng)收款轉(zhuǎn)銷 (5)預(yù)收款轉(zhuǎn)銷 (6)預(yù)收款沖預(yù)付款 (7)收款沖付款“關(guān)聯(lián)關(guān)系 ”核銷方式支持到款(付款)結(jié)算核銷類型,具體包括:收款單關(guān)聯(lián)應(yīng)收單、退款單關(guān)聯(lián)負(fù)數(shù)應(yīng)收單;預(yù)收沖應(yīng)收核銷類型,具體包括:退款單關(guān)聯(lián)收款單。T_rp_newcheckinfo的 FCheckManer核銷方式1:單據(jù) 2:存貨數(shù)量 3:關(guān)聯(lián)關(guān)系Fchecktype(1)到款結(jié)算 (2)預(yù)收沖應(yīng)收 (3)應(yīng)收沖應(yīng)付 (4)應(yīng)收款轉(zhuǎn)銷 (5)預(yù)收款轉(zhuǎn)銷 (6)預(yù)收款沖預(yù)付款 (7)收款沖付款P25核 銷表P26到款結(jié)算: 取 到款結(jié)算: 取待核銷記錄216。 按金額應(yīng)收 取 t_RP_Contact里的 FTypein(1,3,11,13)andFCheckTypein(0,1)andFdue=0andFRemainAmount0and(FStatus1)=1and(FStatus16)=0的記錄收款 取 t_RP_Contact(左外連接 t_rp_newreceivebill表)里的Ftype=5,15andFpre=0andFCheckTypein(0,1)andfue=0andFRemainAmount0and(FStatus1)=1and(FStatus16)的記錄:到款結(jié)算 1P27216。 按存貨數(shù)量 應(yīng)收 取 t_RP_Contact里的 FTypein(3,13)andFCheckTypein(0,2)andFdue=0andFRemainAmount0and(FStatus1)=1and(FStatus16)=0的記錄收款 取 t_RP_Contact里的 Ftype=5,15andFpre=0andFCheckTypein(0,1,2)andfue=0andFRemainAmount0and(FStatus1)=1and(FStatus16)的記錄216。 按應(yīng)收單號應(yīng)收 取 t_RP_Contact(在 t_rp_arbillofsh有關(guān)聯(lián)記錄,但在t_rp_newcheckinfo中沒有相應(yīng)記錄)里的 FTypein(1,3,11,13)andFRemainAmount0and(FStatus1)=1and(FStatus16)=0的記錄收款 取 t_RP_Contact(左外連接 t_rp_newreceivebill表,同時(shí)在t_rp_arbillofsh有關(guān)聯(lián)記錄)里的 Ftype=5,15andFpre=0andFCheckType=3andfdue=0andFRemainAmount0and(FStatus1)=1and(FStatus16)的記錄:到款結(jié)算 2:P28到款結(jié)算: 核銷處理 :1)根據(jù)應(yīng)收和收款記錄生成 t_RP_NewCheckInfo的記錄,核銷多少張單據(jù),就在該表中生成多少條 fid值相同的記錄,fcontactid 的值和 t_rp_contact表中的 fid保持一致,fcheckamount 和 fcehckamountfor字段記錄本次核銷的金額,fremainamount 和 fremainamountfor 字段記錄剩余的未核銷金額。2)根據(jù)應(yīng)收記錄生成 t_RP_Checkdetail 的記錄,fcheckid=t_RP_NewCheckInfo表的 fid, fbegamount 、fbegamountfor字段和 fremainamount 、 fremainamountfor 字段分別記錄待核銷金額和剩余金額。 :到款結(jié)算 3:P29到款結(jié)算: 核銷處理 : 3)更新余額手工核銷= t_RP_Contact .FremainAmount核銷的本幣金額 = 自動核銷取回當(dāng)前本幣余額: m_curBal = :到款結(jié)算 4:P30到款結(jié)算: 核銷處理 : 如果 FType = 4 Or FType = 11 And FType = 14 且 m_curBal 為正數(shù),或者 NOT(FType = 4 Or FType = 11 And FType = 14) 且 m_curBal為負(fù)數(shù),新增記錄到表t_rp_contact, t_RP_NewCheckInfo ,以下字段的值對應(yīng)為:FCheckAmount = FRemainAmount m_curBalFCheckAmountFor =FCheckAmount/FRemainAmount* FRemainAmountForFRemainAmount = m_curBalFRemainAmountFor=m_curBal/FRemainAmount* FremainAmountFor:到款結(jié)算 5:P31到款結(jié)算: 核銷處理 : 如果 FType = 4 Or FType = 11 And FType = 14 且 m_curBal 為負(fù)數(shù),或者 NOT(FType = 4 Or FType = 11 And FType = 14) 且 m_curBal為正數(shù),新增記錄到表t_rp_contact, t_RP_NewCheckInfo ,以下字段的值對應(yīng)為:FCheckAmount = FRemainAmount + m_curBalFCheckAmountFor =FCheckAmount/FRemainAmount* FRemainAmountForFRemainAmount = m_curBalFRemainAmountFor= m_curBal/FRemainAmount* FremainAmountFor :到款結(jié)算 6:P32到款結(jié)算: 核銷處理 : 4)更改核銷標(biāo)志t_RP_Contact的標(biāo)志 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 :到款結(jié)算 7:P33到款結(jié)算: 核銷前: select * from
點(diǎn)擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1