|
|
@ -240,7 +240,7 @@ public class CoatingMaterialRequestEventHandler |
|
|
|
|
|
|
|
private async Task<CoatingIssueJobDetailInput> BuildIssueJobDetailAsync(CoatingMaterialRequestDetail CoatingMaterialRequestDetail, BalanceDTO balance, string toLocationGroupCode) |
|
|
|
{ |
|
|
|
ProductionLineDTO prodLine = await _productionLineAppService.GetByLocationGroupCodeAsync(toLocationGroupCode).ConfigureAwait(false); |
|
|
|
//ProductionLineDTO prodLine = await _productionLineAppService.GetByLocationGroupCodeAsync(toLocationGroupCode).ConfigureAwait(false);
|
|
|
|
|
|
|
|
var detail = ObjectMapper.Map<BalanceDTO, CoatingIssueJobDetailInput>(balance); |
|
|
|
detail.RequestLocationCode = CoatingMaterialRequestDetail.ToLocationCode; |
|
|
@ -296,8 +296,9 @@ public class CoatingMaterialRequestEventHandler |
|
|
|
// detail.RecommendQty = balance.Qty;
|
|
|
|
// detail.RecommendUom = balance.Uom;
|
|
|
|
|
|
|
|
detail.ProdLine = prodLine == null ? toLocationGroupCode : prodLine.Code; |
|
|
|
await Task.CompletedTask.ConfigureAwait(false); |
|
|
|
// detail.ProdLine = prodLine == null ? toLocationGroupCode : prodLine.Code;
|
|
|
|
detail.ProdLine = toLocationGroupCode; |
|
|
|
await Task.CompletedTask.ConfigureAwait(false); |
|
|
|
return detail; |
|
|
|
|
|
|
|
} |
|
|
|