|
@@ -610,13 +610,13 @@ public class FaInventoryTaskListNew extends AbstractListPlugin {
|
|
|
inventoryRecordInstance.set("inventoryquantity", BigDecimal.ZERO);
|
|
|
inventoryRecordInstance.set("difference", BigDecimal.ZERO);
|
|
|
inventoryRecordInstance.set("inventorystate", BillStatus.B.toString());
|
|
|
- inventoryRecordInstance.set("reason", " ");
|
|
|
+ inventoryRecordInstance.set("reason", "1 ");
|
|
|
inventoryRecordInstance.set("inventorytask_id", inventoryTask.getPkValue());
|
|
|
inventoryRecordInstance.set("inventschemeentry_id", inventoryTask.getDynamicObject("inventsscopeid").getDynamicObject("inventschemeentry").getPkValue());
|
|
|
inventoryRecordInstance.set("billstatus", "C");
|
|
|
inventoryRecordInstance.set("billstate", "A");
|
|
|
- inventoryRecordInstance.set("nckd_storeplace", realCard.getString("nckd_storeplace"));
|
|
|
- inventoryRecordInstance.set("nckd_fincard", fin);
|
|
|
+ inventoryRecordInstance.set("nckd_storeplace", realCard.get("id").toString());
|
|
|
+ inventoryRecordInstance.set("nckd_fincard_id", fin != null ? fin.getLong("id") : 0);
|
|
|
inventoryRecordList.add(inventoryRecordInstance);
|
|
|
}
|
|
|
|