|
|
@ -35,7 +35,7 @@ public class CustomerProductionReturnNoteAppService : |
|
|
|
private readonly ISalePriceSheetAppService _salePriceSheetAppService; |
|
|
|
|
|
|
|
public CustomerProductionReturnNoteAppService( |
|
|
|
ICustomerProductionReturnNoteRepository repository |
|
|
|
ICustomerProductionReturnNoteRepository repository |
|
|
|
, ICustomerProductionReturnNoteManager CustomerProductionReturnNoteManager |
|
|
|
, ICustomerItemAppService customerItemAppService, |
|
|
|
ISalePriceSheetAppService salePriceSheetAppService, |
|
|
@ -137,16 +137,16 @@ public class CustomerProductionReturnNoteAppService : |
|
|
|
} |
|
|
|
foreach (var itm in entity.Details) |
|
|
|
{ |
|
|
|
itm.FromLocationCode = "OK"; |
|
|
|
itm.FromLocationCode = ""; |
|
|
|
itm.FromStatus = EnumInventoryStatus.OK; |
|
|
|
itm.ToStatus=EnumInventoryStatus.OK; |
|
|
|
itm.FromLocationArea = "OK"; |
|
|
|
itm.FromLocationErpCode= "OK"; |
|
|
|
itm.FromWarehouseCode = "OK"; |
|
|
|
itm.FromLocationGroup = "OK"; |
|
|
|
itm.FromContainerCode = "OK"; |
|
|
|
itm.ToContainerCode =string.IsNullOrEmpty(itm.ToContainerCode)? "OK": itm.ToContainerCode; |
|
|
|
itm.ToWarehouseCode= string.IsNullOrEmpty(itm.ToWarehouseCode)? "OK": itm.ToContainerCode; |
|
|
|
itm.FromLocationArea = ""; |
|
|
|
itm.FromLocationErpCode= ""; |
|
|
|
itm.FromWarehouseCode = ""; |
|
|
|
itm.FromLocationGroup = ""; |
|
|
|
itm.FromContainerCode = ""; |
|
|
|
itm.ToContainerCode =string.IsNullOrEmpty(itm.ToContainerCode)? "": itm.ToContainerCode; |
|
|
|
itm.ToWarehouseCode= string.IsNullOrEmpty(itm.ToWarehouseCode)? "": itm.ToContainerCode; |
|
|
|
} |
|
|
|
|
|
|
|
await _CustomerProductionReturnNoteManager.CreateAsync(entity).ConfigureAwait(false); |
|
|
|