|
@ -78,8 +78,9 @@ public class ProductReceiptNoteEventHandler |
|
|
|
|
|
|
|
|
var itemBasicDto= await _itemBasicAppService.GetByCodeAsync(detail.ItemCode).ConfigureAwait(false); |
|
|
var itemBasicDto= await _itemBasicAppService.GetByCodeAsync(detail.ItemCode).ConfigureAwait(false); |
|
|
var locationDtos = await _locationAppService.GetListByTypesAndErpCodeAsync( |
|
|
var locationDtos = await _locationAppService.GetListByTypesAndErpCodeAsync( |
|
|
new List<EnumLocationType> { EnumLocationType.WIP }, |
|
|
new List<EnumLocationType> { EnumLocationType.WIP,EnumLocationType.FG }, |
|
|
detail.LocationErpCode).ConfigureAwait(false); |
|
|
detail.LocationErpCode, |
|
|
|
|
|
detail.LocationCode).ConfigureAwait(false); |
|
|
|
|
|
|
|
|
if (locationDtos == null||locationDtos.Count<1) |
|
|
if (locationDtos == null||locationDtos.Count<1) |
|
|
{ |
|
|
{ |
|
|