销售出库添加字段(申请出库数量、库存数量、申请采购数量)
| | |
| | | ",HSPID,HSCWHID,HSCSPID,HSPGroupID,HBatchNo,HPOOrderInterID,HPOOrderEntryID,HPOOrderBillNo" + |
| | | ",HQty_Full,HQty_Empty,HQty_Back,HCostPrice,HCostMoney,HSalePrice" + |
| | | ",HPropertyID,HSecUnitID,HSecUnitRate" + |
| | | ",HEngineNum,HUnderPanNum,HLeaveFactCard" + |
| | | ",HEngineNum,HUnderPanNum,HLeaveFactCard,HReqBuyQty,HReqOutQty,HCurrentInventory" + |
| | | ") values(" + |
| | | "" + omodel.HInterID.ToString() + "" + |
| | | "," + (HEntryID++) + "" + |
| | |
| | | ",'" + oSub.HEngineNum + "'" + |
| | | ",'" + oSub.HUnderPanNum + "'" + |
| | | ",'" + oSub.HLeaveFactCard + "'" + |
| | | "," + oSub.HReqBuyQty + |
| | | "," + oSub.HReqOutQty + |
| | | "," + oSub.HCurrentInventory + |
| | | ") "; |
| | | |
| | | oCn.RunProc(subSql); |
| | |
| | | ",HSPID,HSCWHID,HSCSPID,HSPGroupID,HBatchNo,HPOOrderInterID,HPOOrderEntryID,HPOOrderBillNo" + |
| | | ",HQty_Full,HQty_Empty,HQty_Back,HCostPrice,HCostMoney,HSalePrice" + |
| | | ",HPropertyID,HSecUnitID,HSecUnitRate" + |
| | | ",HEngineNum,HUnderPanNum,HLeaveFactCard" + |
| | | ",HEngineNum,HUnderPanNum,HLeaveFactCard,HReqBuyQty,HReqOutQty,HCurrentInventory" + |
| | | ") values(" + |
| | | "" + omodel.HInterID.ToString() + "" + |
| | | "," + (HEntryID++) + "" + |
| | |
| | | ",'" + oSub.HEngineNum + "'" + |
| | | ",'" + oSub.HUnderPanNum + "'" + |
| | | ",'" + oSub.HLeaveFactCard + "'" + |
| | | "," + oSub.HReqBuyQty + |
| | | "," + oSub.HReqOutQty + |
| | | "," + oSub.HCurrentInventory + |
| | | ") "; |
| | | |
| | | oCn.RunProc(subSql); |
| | |
| | | public double HQty_Full; //婊¤溅閲嶉噺 |
| | | public double HQty_Empty; //绌鸿溅閲嶉噺 |
| | | public double HQty_Back; //鍥炶溅閲嶉噺 |
| | | public double HReqBuyQty; //鐢宠閲囪喘鏁伴噺 |
| | | public double HReqOutQty; //鐢宠鍑哄簱鏁伴噺 |
| | | public double HCurrentInventory; //褰撳墠搴撳瓨 |
| | | } |
| | | } |