团购微信在线收款记账
2025-10-22 11:40:52 0 举报
团购微信在线收款记账
作者其他创作
大纲/内容
记账凭证
3、微信支付订单 创建 【收款登记流程】表<sales_original_order>中refund_type不为0或1时:接口文档地址:https://bpm.ijovo.com/zgdsales/#/docs/SKSHcreateUser=create_accountnewEntryCode=sales_nocustomerCode=customer_noshopCode=shop_noshop=shop_namepaymentDate=pay_success_timepaymentMethod默认'其他'receivingUnit=company_noreceivingSerialNumber=pay_serial_nopaymentType默认PAYMENTmoney=actual_count
微信支付
中台
记录入账金额
订单明细表
小程序前端
sales_fund_customer_account
客户余额表
款项流程
收款登记
生成收款流程
回传凭证编号
新增需求:1、微信支付 写入<款项明细表>并 创建 【收款登记流程】2、收款登记 写入<款项明细表>记录业务单据号:examine_no3、微信支付订单 创建【收款登记流程】
生成收/退款流程
流程通过
sales_group_buy_shop_partner_examine_record
3、微信支付订单 创建 【退款登记流程】表<sales_original_order>中refund_type为0或1时:接口文档地址:https://bpm.ijovo.com/zgdsales/#/docs/TKDJcreateBy=create_accountitemCode=sales_nocustomerCode=customer_nosapCustomerCode=shopCode=shop_noshopName=shop_namebizType默认:退团购货款paymentDate=refund_timepaymentMethod默认'其他'companyCode=company_noreceivingSerialNumber=pay_serial_nopaymentType默认PAYMENTamount=actual_countpaymentWay默认'微信支付'serialNumber=pay_serial_noactualPaymentDate=refund_timecostCenterCode=根据shop_no到表<sales_config_shop_info>中查询
sales_fund_account_enroll
1、(1)微信支付 写入<款项明细表><sales_group_buy_shop_partner_examine_record>表中,pay_type='2' and pay_serial_no!='空' 的数据写入表<sales_fund_account_enroll>中:enroll_no=examine_noenroll_type=ACCOUNT_INenroll_time=写入数据时间company_no=默认'2070'shop_no=shop_nocustomer_no=customer_nosap_customer_no=customer_no查询表<sales_purview_customer_info>中对应的sap_customer_notransition_record_no=pay_serial_nofund_category:当margin大于0时,写入两行数据,margin金额对应fund_category为BOND;payment_amount金额对应fund_category为PAYMENT,其他字段逻辑一样fund_type默认'其他'platform_name默认'微信'amount=margin/payment_amountpay_time写入数据时间crater_no=apply_user_idcrater_name=create_userbpm_process_no创建的bpm流程编号bpm_process_status流程状态sap_proof_no bpm返回的凭证号sap_cost_center_no=根据shop_no到表<sales_config_shop_info>中查询sap_cost_center_name
SAP
sales_original_order
款项明细表
BPM
转账支付订单
合伙人明细表
传输凭证
记录款项明细
1、(2)微信支付 创建 【收款登记流程】接口文档地址:https://bpm.ijovo.com/zgdsales/#/docs/SKSHcreateUser=crater_nonewEntryCode=enroll_nocustomerCode=customer_noshopCode=shop_nopaymentDate=pay_timepaymentMethod=fund_typereceivingUnit默认'2070'receivingSerialNumber=transition_record_nopaymentType=fund_categorymoney=amount
手续费:无需记账到客户维度,财务月末手工做一笔汇总记账到固定店铺
微信支付订单
收藏
0 条评论
下一页