:发货单生成出库单时,由于是系统自动生成出库单的,所以单据号无法修改,能否让客户可以改动;即销售出库单的单号可以修改?
:运行下列脚本 –修改单据列表中业务单号为发货单,并且隐藏原来的发货单号,发货单号作为查询条件 Update VouchList Set bArea=1,bShowon=1, bCanset=1,bCondition=1,citemname=’发货单号码’ where cvouchcode=’0303′ and cqryfield=’cBusCode’ Update VouchList Set bArea=1,bShowon=0, bCanset=0,bCondition=0 where cvouchcode=’0303′ and cqryfield=’cDLCode’ –修改单据卡片中业务单号为发货单,并且隐藏原来的发货单号 Update invoiceitem_ Set carditemname=’发货单号’, CardFormula1=’发货单号’,CardFormula2=’发货单号’,ShowIt=1,cannotselect=0 where cardnum=’0303′ and fieldname=’cbuscode’ Update invoiceitem_ Set ShowIt=0,cannotselect=1 where cardnum=’0303′ and fieldname=’cdlcode’ –修改单据卡片中业务单号为发货单,并且隐藏原来的发货单号 Update invoiceitem_ Set carditemname=’发货单号’, CardFormula1=’发货单号’,CardFormula2=’发货单号’,ShowIt=1,cannotselect=0 where cardnum=’0303′ and fieldname=’cbuscode’ Update invoiceitem_ Set ShowIt=0,cannotselect=1 where cardnum=’0303′ and fieldname=’cdlcode’ 。