feat(purchase): 添加超现存量时继续保存的参数

- 在 PoOrderParentDto 中添加 isSaveWhenOverStockOnHand 字段- 在采购订单生成过程中设置该参数为 "Y"
- 该功能支持 5.1sp及以上版本
This commit is contained in:
liuy 2025-01-09 19:16:02 +08:00
parent 8bf32a7126
commit c527a1b6ca
3 changed files with 7 additions and 0 deletions

View File

@ -498,6 +498,9 @@ public class ProxyPurchaseReturn extends PluginBaseEntity {
//收发类别 //收发类别
poOrderParentDto.setPk_defdoc3(bdRdclEntity.getPkRdcl()); poOrderParentDto.setPk_defdoc3(bdRdclEntity.getPkRdcl());
poOrderParentDto.setVdef3(bdRdclEntity.getRdname()); poOrderParentDto.setVdef3(bdRdclEntity.getRdname());
//超现存量时是否继续保存5.1sp支持
//2025年1月9日 19:08:54和李佳妮确认过这个参数需要配置
poOrderParentDto.setIsSaveWhenOverStockOnHand("Y");
//采购订单明细行 //采购订单明细行
List<PoOrderChildrenDto> poOrderChildrenDtoList = new ArrayList<>(); List<PoOrderChildrenDto> poOrderChildrenDtoList = new ArrayList<>();

View File

@ -502,6 +502,9 @@ public class ProxyPurchaseWarehousOrder extends PluginBaseEntity {
//收发类别 //收发类别
poOrderParentDto.setPk_defdoc3(bdRdclEntity.getPkRdcl()); poOrderParentDto.setPk_defdoc3(bdRdclEntity.getPkRdcl());
poOrderParentDto.setVdef3(bdRdclEntity.getRdname()); poOrderParentDto.setVdef3(bdRdclEntity.getRdname());
//超现存量时是否继续保存5.1sp支持
//2025年1月9日 19:08:54和李佳妮确认过这个参数需要配置
poOrderParentDto.setIsSaveWhenOverStockOnHand("Y");
//采购订单明细行 //采购订单明细行
List<PoOrderChildrenDto> poOrderChildrenDtoList = new ArrayList<>(); List<PoOrderChildrenDto> poOrderChildrenDtoList = new ArrayList<>();

View File

@ -92,4 +92,5 @@ public class PoOrderParentDto {
private String vmemo; private String vmemo;
private String vordercode; private String vordercode;
private String cgiveinvoicevendor; private String cgiveinvoicevendor;
private String isSaveWhenOverStockOnHand;
} }