|
@ -79,6 +79,7 @@ public class ItemTransformRequestAppService : |
|
|
var toItemBasicDto = await ItemBasicAclService.GetByCodeAsync(detail.ToItemCode).ConfigureAwait(false); |
|
|
var toItemBasicDto = await ItemBasicAclService.GetByCodeAsync(detail.ToItemCode).ConfigureAwait(false); |
|
|
var balanceDto= await _balanceAppService.GetByItemLocationAndPackingAsync(detail.FromPackingCode, detail.ItemCode, |
|
|
var balanceDto= await _balanceAppService.GetByItemLocationAndPackingAsync(detail.FromPackingCode, detail.ItemCode, |
|
|
detail.FromLocationCode).ConfigureAwait(false); |
|
|
detail.FromLocationCode).ConfigureAwait(false); |
|
|
|
|
|
var inventoryLabelDto= await _inventoryLabelAppService.GetByCodeAsync(detail.ToPackingCode).ConfigureAwait(false); |
|
|
|
|
|
|
|
|
detail.FromLocationArea = fromLocationDto.AreaCode; |
|
|
detail.FromLocationArea = fromLocationDto.AreaCode; |
|
|
detail.FromLocationErpCode = fromLocationDto.ErpLocationCode; |
|
|
detail.FromLocationErpCode = fromLocationDto.ErpLocationCode; |
|
@ -90,7 +91,7 @@ public class ItemTransformRequestAppService : |
|
|
detail.FromStatus = balanceDto.Status; |
|
|
detail.FromStatus = balanceDto.Status; |
|
|
|
|
|
|
|
|
detail.ToSupplierBatch = string.Empty; |
|
|
detail.ToSupplierBatch = string.Empty; |
|
|
detail.ToLot = balanceDto.Lot; |
|
|
detail.ToLot = inventoryLabelDto.Lot; |
|
|
detail.ToStatus = balanceDto.Status; |
|
|
detail.ToStatus = balanceDto.Status; |
|
|
|
|
|
|
|
|
detail.ToLocationArea = toLocationDto.AreaCode; |
|
|
detail.ToLocationArea = toLocationDto.AreaCode; |
|
@ -104,9 +105,9 @@ public class ItemTransformRequestAppService : |
|
|
detail.Uom = fromItemBasicDto.BasicUom; |
|
|
detail.Uom = fromItemBasicDto.BasicUom; |
|
|
|
|
|
|
|
|
detail.ToItemCode = toItemBasicDto.Code; |
|
|
detail.ToItemCode = toItemBasicDto.Code; |
|
|
detail.ToItemDesc1 = toItemBasicDto.Desc2; |
|
|
detail.ToItemDesc1 = toItemBasicDto.Desc1; |
|
|
detail.ToItemDesc2 = toItemBasicDto.Name; |
|
|
detail.ToItemDesc2 = toItemBasicDto.Desc2; |
|
|
detail.ItemName = toItemBasicDto.BasicUom; |
|
|
detail.ToItemName = toItemBasicDto.Name; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|