K3后台修改销售模块(销售订单、发货通知单、销售出库单)客户名称语句

来源:互联网 发布:python博客 编辑:程序博客网 时间:2024/04/28 17:41
------如下语句为更改销售出库数据---------------------------------------------------------------------------------------------------------------select * from icstockbill where Fbillno='xout008851'--首先通过销售出库单找到单据内码select * from t_Organization where fname like '%西安%'--通过客户名称找到客户对应内码,查出原始客户内码和需要更改的客户内码update icstockbill set fsupplyid='3203' where finterid='115829'--更新单据内码为**的销售出库单表头数据,将客户名称字段更新为目标客户内码------如下语句为更改发货通知单数据-------------------------------------------------------------------------------------------select * from SEOutStock where fbillno='SEOUT009197'--首先通过发货通知单找到单据内码update SEOutStock set fcustid='3203' where finterid='10268'--更新单据内码为**的销售出库单表头数据,将客户名称字段更新为目标客户内码--------如下语句为更改销售订单数据----------------------------------------------------------------------------------------------select * from seorder where fbillno='seord150410003'--查找销售订单内码update seorder set fcustid='3203' where finterid='10379'--更新单据内码为**的销售出库单表头数据,将客户名称字段更新为目标客户内码

阅读全文
0 0
原创粉丝点击