用友小张 处理LRP模式下,常规库存生产,导致发货每次需要释放库存销售订单触发语句 Create trigger SO_SODetails01 On SO_SODetails after insert,update as begin UPDATE SO_SODetails SET idemandtype = NULL WHERE bOrderBOM = 0 and idemandtype is not NULL end