Browse Source

采购收货 > 收货任务 > 报检单(质检任务) > 检验记录 >

不合格库存
不合格转合格
库存余额
库存事务
库存转移日志
标签查询
消息提醒
采购上架
集成Redis
郑渤旭[Irelia] 2 years ago
parent
commit
611ab18e97
  1. 19
      be/Hosts/Win_in.Sfs.Wms.Dashboard.Host/Controllers/PlanAndActualController.cs
  2. 12
      be/Modules/Inventory/src/Win_in.Sfs.Wms.Inventory.Application/TransferLogs/TransferLogAutoMapperProfile.cs
  3. 3
      be/Modules/Inventory/src/Win_in.Sfs.Wms.Inventory.Domain/Transactions/Transaction.cs
  4. 2
      be/Modules/Inventory/src/Win_in.Sfs.Wms.Inventory.Domain/TransferLogs/TransferLogExtensions.cs
  5. 2
      be/Modules/Message/src/Win_in.Sfs.Message.Application/UserNotifyMessages/UserNotifyMessageAutoMapperProfile.cs
  6. 1
      be/Modules/Message/src/Win_in.Sfs.Message.Application/UserNotifyMessages/UserNotifyMessageService.cs
  7. 11
      be/Modules/Shared/src/Win_in.Sfs.Shared.Application/ExportAndImport/ClosedXmlExportImportService.cs
  8. 2
      be/Modules/Shared/src/Win_in.Sfs.Shared.Domain/CurrentUserExtensions.cs
  9. 5
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferNotes/Inputs/TransferNoteImportInput.cs
  10. 17
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/InventoryTransferNotes/InventoryTransferNoteMapperProfile.cs
  11. 5
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/NoOkConvertOKNotes/NoOkConvertOKNoteAutoMapperProfile.cs
  12. 4
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/PutawayNotes/PutawayNoteAutoMapperProfile.cs
  13. 21
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Jobs/InspectJobs/InspectJobManager.cs
  14. 1
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/AutoMapperProfiles/Requests/PurchaseReceiptRequestAutoMapperProfile.cs
  15. 105
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/Jobs/InspectJobEventHandler.cs
  16. 1
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/Requests/PutawayRequestEventHandler.cs
  17. 2
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/Transactions/InspectNoteEventHandler.cs
  18. 2
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/Transactions/PurchaseReceiptNoteEventHandler.cs
  19. 4
      build/src/docker/publish/conf/settings/appsettings.json

19
be/Hosts/Win_in.Sfs.Wms.Dashboard.Host/Controllers/PlanAndActualController.cs

@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Serilog;
using Volo.Abp.AspNetCore.Mvc;
using Win_in.Sfs.Basedata.Application.Contracts;
using Win_in.Sfs.Wms.Dashboard.Host.Models;
@ -101,9 +102,9 @@ public class PlanAndActualController : AbpController
dto.MinQty = itemSafetyStork.MinStock;
}
dto.ReceiptNoteCount = CountReceiptNoteCount(purchaseReceipts, detail.ItemCode);
dto.ReceiptQty = CountReceiptQty(purchaseReceipts, detail.ItemCode);
dto.PutawayQty = CountPutawayQty(putawayNotes, detail.ItemCode);
dto.ReceiptNoteCount = CountReceiptNoteCount(purchaseReceipts, detail.ItemCode, detail.Lot);
dto.ReceiptQty = CountReceiptQty(purchaseReceipts, detail.ItemCode, detail.Lot);
dto.PutawayQty = CountPutawayQty(putawayNotes, detail.ItemCode, detail.Lot);
dtos.Add(dto);
}
@ -117,19 +118,19 @@ public class PlanAndActualController : AbpController
return dtos.OrderBy(t => t.SupplierShortName).ToList();
}
private static decimal CountPutawayQty(List<PutawayNoteDTO> putawayNotes, string itemCode)
private static decimal CountPutawayQty(List<PutawayNoteDTO> putawayNotes, string itemCode, string lot)
{
return putawayNotes.Sum(t => t.Details.Where(t => t.ItemCode == itemCode).Sum(t => t.Qty));
return putawayNotes.Sum(t => t.Details.Where(t => t.ItemCode == itemCode && t.ToLot == lot).Sum(t => t.Qty));
}
private static decimal CountReceiptQty(List<PurchaseReceiptNoteDTO> purchaseReceipts, string itemCode)
private static decimal CountReceiptQty(List<PurchaseReceiptNoteDTO> purchaseReceipts, string itemCode, string lot)
{
return purchaseReceipts.Sum(t => t.Details.Where(t => t.ItemCode == itemCode).Sum(t => t.Qty));
return purchaseReceipts.Sum(t => t.Details.Where(t => t.ItemCode == itemCode && t.HandledLot == lot).Sum(t => t.Qty));
}
private static int CountReceiptNoteCount(List<PurchaseReceiptNoteDTO> purchaseReceipts, string itemCode)
private static int CountReceiptNoteCount(List<PurchaseReceiptNoteDTO> purchaseReceipts, string itemCode, string lot)
{
return purchaseReceipts.Sum(t => t.Details.Count(t => t.ItemCode == itemCode));
return purchaseReceipts.Sum(t => t.Details.Count(t => t.ItemCode == itemCode && t.Lot == lot));
}
private async Task<List<SupplierAsnDTO>> GetSupplierAsnsAsync()

12
be/Modules/Inventory/src/Win_in.Sfs.Wms.Inventory.Application/TransferLogs/TransferLogAutoMapperProfile.cs

@ -1,4 +1,5 @@
using AutoMapper;
using Volo.Abp.AutoMapper;
using Win_in.Sfs.Wms.Inventory.Application.Contracts;
using Win_in.Sfs.Wms.Inventory.Domain;
@ -10,6 +11,17 @@ public partial class InventoryApplicationAutoMapperProfile : Profile
{
CreateMap<TransferLog, TransferLogDTO>()
.ReverseMap();
CreateMap<TransferLogEditInput, TransferLog>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.TransferNumber)
.Ignore(x => x.FromTransNumber)
.Ignore(x => x.ToTransNumber)
.Ignore(x => x.TransferTime)
.Ignore(x => x.ActiveDate)
.Ignore(x => x.ConcurrencyStamp)
.Ignore(x => x.Id)
;
}
}

3
be/Modules/Inventory/src/Win_in.Sfs.Wms.Inventory.Domain/Transactions/Transaction.cs

@ -56,6 +56,9 @@ public class Transaction : SfsInventoryAggregateRootBase
JobNumber = other.JobNumber;
DocNumber = other.DocNumber;
ManageType = other.ManageType;
LocationGroup= other.LocationGroup;
LocationArea= other.LocationArea;
LocationErpCode= other.LocationErpCode;
}
/// <summary>

2
be/Modules/Inventory/src/Win_in.Sfs.Wms.Inventory.Domain/TransferLogs/TransferLogExtensions.cs

@ -62,6 +62,7 @@ public static class TransferLogExtensions
transaction.ProduceDate = transferLog.ProduceDate;
transaction.ExpireDate = transferLog.ExpireDate;
transaction.StdPackQty = transferLog.StdPackQty;
transaction.Uom = transferLog.Uom;
//出库库存事务的数量要改成负数
transaction.Qty = -transferLog.Qty;
@ -92,6 +93,7 @@ public static class TransferLogExtensions
transaction.ProduceDate = transferLog.ProduceDate;
transaction.ExpireDate = transferLog.ExpireDate;
transaction.StdPackQty = transferLog.StdPackQty;
transaction.Uom = transferLog.Uom;
transaction.Qty = transferLog.Qty;
return transaction;

2
be/Modules/Message/src/Win_in.Sfs.Message.Application/UserNotifyMessages/UserNotifyMessageAutoMapperProfile.cs

@ -1,3 +1,4 @@
using System;
using AutoMapper;
using Volo.Abp.AutoMapper;
using Win_in.Sfs.Message.Application.Contracts;
@ -11,6 +12,7 @@ public class UserNotifyMessageAutoMapperProfile : Profile
{
CreateMap<UserNotifyMessage, UserNotifyMessageDto>()
.IgnoreAuditedObjectProperties()
.BeforeMap((x, y) => y.UserId = x.CreatorId==null?Guid.Empty: x.CreatorId.Value)
.ReverseMap();
CreateMap<UserNotifyMessage, UserNotifyMessageEditInput>();

1
be/Modules/Message/src/Win_in.Sfs.Message.Application/UserNotifyMessages/UserNotifyMessageService.cs

@ -23,7 +23,6 @@ namespace Win_in.Sfs.Message.Application;
public class UserNotifyMessageService : SfsMessageCrudAppServiceBase<UserNotifyMessage, UserNotifyMessageDto, SfsMessageRequestInputBase, UserNotifyMessageEditInput>
, IUserNotifyMessageService
{
public UserNotifyMessageService(IUserNotifyMessageRepository repository) : base(repository)
{
}

11
be/Modules/Shared/src/Win_in.Sfs.Shared.Application/ExportAndImport/ClosedXmlExportImportService.cs

@ -11,6 +11,7 @@ using ClosedXML;
using ClosedXML.Excel;
using ClosedXML.Graphics;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Wordprocessing;
using Irony;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
@ -37,6 +38,11 @@ public class ClosedXmlExportImportService : IExportImportService
{
using var workbook = new XLWorkbook();
var name = typeof(TModel).GetCustomAttribute<DisplayAttribute>()?.Name ?? typeof(TModel).Name;
if (name.Length > 30)
{
name=name.Substring(0, 30);
}
var fileName = $"{name}_导出.xlsx";
var ws = workbook.Worksheets.Add(name);
ws.Style.Font.FontName = "宋体";
@ -79,6 +85,11 @@ public class ClosedXmlExportImportService : IExportImportService
using var workbook = new XLWorkbook();
var type = typeof(TImportModel);
var name = type.GetCustomAttribute<DisplayAttribute>()?.Name ?? type.Name;
if (name.Length > 30)
{
name=name.Substring(0, 30);
}
var fileName = $"{name}_导入模板.xlsx";
var ws = workbook.Worksheets.Add(name);
var properties = GetPropertiesForImportModel(type);

2
be/Modules/Shared/src/Win_in.Sfs.Shared.Domain/CurrentUserExtensions.cs

@ -6,7 +6,7 @@ public static class CurrentUserExtensions
{
public static string GetUserName(this ICurrentUser currentUser)
{
return currentUser.FindClaimValue("name");
return currentUser.Name;
}
public static string GetName(this ICurrentUser currentUser)

5
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferNotes/Inputs/TransferNoteImportInput.cs

@ -1,4 +1,5 @@
using System.ComponentModel.DataAnnotations;
using DocumentFormat.OpenXml.Drawing;
using Win_in.Sfs.Shared.Application.Contracts;
using Win_in.Sfs.Shared.Domain.Shared;
@ -11,6 +12,10 @@ public class TransferNoteImportInput : SfsStoreImportInputBase
/// </summary>
[Display(Name = "调拨类型")]
[Required(ErrorMessage = "{0}是必填项")]
[ValueMapping("标准", "Normal")]
[ValueMapping("储位内移库", "enuimSameERPLoc")]
[ValueMapping("储位间移库", "DiffERPLoc")]
[ValueMapping("储位间移库", "ItemScrap")]
public string Type { get; set; }
/// <summary>

17
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/InventoryTransferNotes/InventoryTransferNoteMapperProfile.cs

@ -17,9 +17,22 @@ public partial class StoreApplicationAutoMapperProfile : Profile
CreateMap<InventoryTransferNoteDetailInput, InventoryTransferNoteDetail>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.MasterID)
.Ignore(x => x.TenantId)
.Ignore(x => x.Number)
.Ignore(x => x.Id);
.Ignore(x => x.Id)
;
CreateMap<InventoryTransferNoteEditInput, InventoryTransferNote>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.TenantId)
.Ignore(x => x.Id)
;
CreateMap<InventoryTransferNoteImportInput, InventoryTransferNote>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.TenantId)
.Ignore(x => x.Id)
;
}
}

5
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/NoOkConvertOKNotes/NoOkConvertOKNoteAutoMapperProfile.cs

@ -19,7 +19,10 @@ public partial class StoreApplicationAutoMapperProfile : Profile
CreateMap<NoOkConvertOkNoteEditInput, NoOkConvertOkNote>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.Number)
.Ignore(x => x.Details)
.Ignore(x => x.Id);
CreateMap<NoOkConvertOkNoteDetailInput, NoOkConvertOkNoteDetail>()
.IgnoreAuditedObjectProperties()
;
}
}

4
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/PutawayNotes/PutawayNoteAutoMapperProfile.cs

@ -23,5 +23,9 @@ public partial class StoreApplicationAutoMapperProfile : Profile
.Ignore(x => x.Number)
.Ignore(x => x.Id)
.Ignore(x => x.JobNumber);
CreateMap<PutawayNoteEditInput, PutawayNote>()
.IgnoreAuditedObjectProperties()
;
}
}

21
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Jobs/InspectJobs/InspectJobManager.cs

@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Uow;
using Volo.Abp.Users;
using Volo.Abp.Validation;
using Win_in.Sfs.Basedata.Application.Contracts;
@ -47,6 +48,7 @@ public class InspectJobManager : SfsJobManagerBase<InspectJob, InspectJobDetail>
/// <param name="user"></param>
/// <param name="entity"></param>
/// <returns></returns>
[UnitOfWork]
public override async Task<InspectJob> CompleteAsync(InspectJob input, ICurrentUser user)
{
//执行任务
@ -134,12 +136,22 @@ public class InspectJobManager : SfsJobManagerBase<InspectJob, InspectJobDetail>
/// <returns></returns>
public async Task<InspectJobSummaryDetail> CompleteSummaryDetailStatusAsync(Guid id, Guid summaryDetailId, InspectJobSummaryDetail input, ICurrentUser currentUser)
{
var jobEntity = await Repository.FindAsync(id).ConfigureAwait(false);
var jobEntity = await Repository.FindAsync(id);
jobEntity.Details.Where(p => p.DetailInspectStatus == EnumDetailInspectStatus.DefaultOK ||
p.DetailInspectStatus == EnumDetailInspectStatus.OK).ToList().ForEach(p =>
{
p.GoodQty = p.ReceiveQty;
});
var goodqty = jobEntity.Details.Where(p =>
p.DetailInspectStatus == EnumDetailInspectStatus.DefaultOK ||
p.DetailInspectStatus == EnumDetailInspectStatus.OK).Sum(p => p.GoodQty);
//获取 汇总详情
var summaryDetailEntity = jobEntity.SummaryDetails.Find(p => p.Id == summaryDetailId);
var itemQuality = await _itemQualityAclService.GetByItemCodeAsync(summaryDetailEntity.ItemCode, jobEntity.SupplierCode).ConfigureAwait(false);
var itemQuality = await _itemQualityAclService.GetByItemCodeAsync(summaryDetailEntity.ItemCode, jobEntity.SupplierCode);
if (itemQuality.InspectType != EnumInspectType.Exempt)
{
//获取质检标准
@ -150,6 +162,9 @@ public class InspectJobManager : SfsJobManagerBase<InspectJob, InspectJobDetail>
await CheckCompleteSummaryDetailAsync(summaryDetailEntity, aql, input).ConfigureAwait(false);
}
input.GoodQty = goodqty;
summaryDetailEntity.GoodQty = goodqty;
//构造 汇总详情
await BuildInspectJobSummaryDetailAsync(input, summaryDetailEntity).ConfigureAwait(false);
@ -174,7 +189,7 @@ public class InspectJobManager : SfsJobManagerBase<InspectJob, InspectJobDetail>
#endregion
await LocalEventBus.PublishAsync(new SfsUpdateEntitySummaryDetailEventData<InspectJob>(CopyJob),false).ConfigureAwait(false);
await LocalEventBus.PublishAsync(new SfsUpdateEntitySummaryDetailEventData<InspectJob>(CopyJob)).ConfigureAwait(false);
return summaryDetailEntity;
}

1
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/AutoMapperProfiles/Requests/PurchaseReceiptRequestAutoMapperProfile.cs

@ -41,7 +41,6 @@ public partial class StoreEventAutoMapperProfile : Profile
#region PurchaseReceiptRequestDetail, PurchaseReceiptJobDetailInput
CreateMap<PurchaseReceiptRequestDetail, PurchaseReceiptJobDetailInput>()
.Ignore(x => x.ArriveDate)
.Ignore(x => x.Status)
.Ignore(x => x.RecommendToLocationCode)
.Ignore(x => x.RecommendToLocationErpCode)

105
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/Jobs/InspectJobEventHandler.cs

@ -15,51 +15,72 @@ public class InspectJobEventHandler :
, ILocalEventHandler<SfsCreatedEntityEventData<InspectJob>>
, ILocalEventHandler<SfsCreatedEntityEventData<List<InspectJob>>>
, ILocalEventHandler<SfsCompletedEntityEventData<InspectJob>>
, ILocalEventHandler<SfsUpdateEntitySummaryDetailEventData<InspectJob>>
, ILocalEventHandler<SfsUpdateEntitySummaryDetailEventData<InspectJob>>
{
private readonly IInspectNoteAppService _inspectNoteAppService;
public InspectJobEventHandler(
IInspectNoteAppService inspectNoteAppService
)
)
{
_inspectNoteAppService = inspectNoteAppService;
}
/// <summary>
/// 质检任务 完成后
/// </summary>
/// <param name="eventData"></param>
/// <returns></returns>
[UnitOfWork]
public virtual async Task HandleEventAsync(SfsCompletedEntityEventData<InspectJob> eventData)
{
var entity = eventData.Entity;
var inspectNote = BuildInspectNote(entity);
await _inspectNoteAppService.CreateAsync(inspectNote).ConfigureAwait(false);
}
/// <summary>
/// 创建 质检任务
/// 质检任务创建
/// </summary>
/// <param name="eventData"></param>
/// <returns></returns>
[UnitOfWork]
public virtual async Task HandleEventAsync(SfsCreatedEntityEventData<InspectJob> eventData)
public virtual async Task HandleEventAsync(SfsCreatedEntityEventData<List<InspectJob>> eventData)
{
var entity = eventData.Entity;
var inspectNote = BuildInspectNote(entity);
await _inspectNoteAppService.CreateAsync(inspectNote).ConfigureAwait(false);
//await CompleteExemptInspectJobAsync(new List<InspectJob> { entity });
var entities = eventData.Entity;
foreach (var entity in entities)
{
await CreateInspectNoteAsync(entity).ConfigureAwait(false);
}
}
/// <summary>
/// 创建 质检任务后
/// </summary>
/// <param name="eventData"></param>
/// <returns></returns>
[UnitOfWork]
public virtual async Task HandleEventAsync(SfsCreatedEntityEventData<List<InspectJob>> eventData)
public virtual async Task HandleEventAsync(SfsCreatedEntityEventData<InspectJob> eventData)
{
_ = eventData.Entity;
var entity = eventData.Entity;
await CreateInspectNoteAsync(entity).ConfigureAwait(false);
}
//await CompleteExemptInspectJobAsync(entities);
await Task.CompletedTask.ConfigureAwait(false);
#region 私有
/// <summary>
/// 创建质检记录
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
private async Task<InspectNoteEditInput> CreateInspectNoteAsync(InspectJob entity)
{
var input = ObjectMapper.Map<InspectJob, InspectNoteEditInput>(entity);
await _inspectNoteAppService.CreateAsync(input).ConfigureAwait(false);
return input;
}
/// <summary>
/// 汇总 详情被修改后
/// 汇总 详情被修改后
/// </summary>
/// <param name="eventData">Event data</param>
[UnitOfWork]
@ -75,7 +96,8 @@ public class InspectJobEventHandler :
{
var noteCreateInput = new InspectNoteEditInput();
var noteSummaryDetailInput = ObjectMapper.Map<InspectJobSummaryDetail, InspectNoteSummaryDetailInput>(jobSummaryDetail);
var noteSummaryDetailInput =
ObjectMapper.Map<InspectJobSummaryDetail, InspectNoteSummaryDetailInput>(jobSummaryDetail);
noteCreateInput.SummaryDetails.Add(noteSummaryDetailInput);
@ -92,13 +114,54 @@ public class InspectJobEventHandler :
}
/// <summary>
/// 构造 质检记录
/// 完成免检任务
/// </summary>
/// <param name="entity"></param>
/// <param name="entities"></param>
/// <returns></returns>
private InspectNoteEditInput BuildInspectNote(InspectJob entity)
private async Task CompleteExemptInspectJobAsync(List<InspectJob> entities)
{
var input = ObjectMapper.Map<InspectJob, InspectNoteEditInput>(entity);
return input;
foreach (var inspectJob in entities)
{
var summaryDetail = inspectJob.SummaryDetails.FirstOrDefault();
//免检任务自动完成 并调用检验记录生成业务
if (summaryDetail?.InspectType != EnumInspectType.Exempt)
{
await CompleteExemptInspectJobAsync(inspectJob, summaryDetail);
}
}
}
/// <summary>
/// 处理免检 物品
/// </summary>
/// <param name="inspectJob"></param>
/// <param name="summarydDetail"></param>
/// <returns></returns>
private async Task CompleteExemptInspectJobAsync(InspectJob inspectJob, InspectJobSummaryDetail summarydDetail)
{
//任务状态直接完成
await inspectJob.CompleteAsync(inspectJob.CreatorId, "", Clock.Now).ConfigureAwait(false);
foreach (var detail in inspectJob.Details)
{
await inspectJob.SetDetail(
detail.Id,
detail.GoodQty,
detail.FailedReason,
detail.FailedQty,
detail.CrackQty,
detail.NotPassedQty,
inspectJob.Worker,
detail.SupplierBatch,
detail.ArriveDate,
detail.ProduceDate,
detail.ExpireDate,
detail.ContainerCode,
detail.LocationCode,
detail.Lot,
detail.PackingCode,
detail.ReceiveQty).ConfigureAwait(false);
}
}
#endregion
}

1
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/Requests/PutawayRequestEventHandler.cs

@ -70,7 +70,6 @@ public class PutawayRequestEventHandler
/// <returns></returns>
private async Task<PutawayJobEditInput> BulidPutawayJobCreateInputAsync(PutawayRequest putawayRequest)
{
await Task.CompletedTask.ConfigureAwait(false);
var createInput = ObjectMapper.Map<PutawayRequest, PutawayJobEditInput>(putawayRequest);
createInput.JobType = EnumJobType.PutawayJob;
createInput.JobStatus = EnumJobStatus.Open;

2
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/Transactions/InspectNoteEventHandler.cs

@ -57,6 +57,8 @@ public class InspectNoteEventHandler
FromContainerCode = detail.ContainerCode,
FromLocationCode = detail.LocationCode,
FromLocationErpCode = detail.LocationErpCode,
FromLocationArea = detail.LocationArea,
FromLocationGroup = detail.LocationGroup,
FromLot = detail.Lot,
FromPackingCode = detail.PackingCode,
FromStatus = EnumInventoryStatus.INSP,

2
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/Transactions/PurchaseReceiptNoteEventHandler.cs

@ -303,6 +303,8 @@ public class PurchaseReceiptNoteEventHandler
createInput.Details.ForEach(p =>
{
p.LocationGroup = inspectLocation.LocationGroupCode;
p.LocationArea = inspectLocation.AreaCode;
p.LocationCode = inspectLocation.Code;
p.LocationErpCode = inspectLocation.ErpLocationCode;
p.WarehouseCode = inspectLocation.WarehouseCode;

4
build/src/docker/publish/conf/settings/appsettings.json

@ -100,13 +100,13 @@
//
"RemoteServices": {
"Auth": {
"BaseUrl": "http://localhost:59093/"
"BaseUrl": "http://dev.ccwin-in.com:59093/"
},
"BaseData": {
"BaseUrl": "http://dev.ccwin-in.com:59094/"
},
"Default": {
"BaseUrl": "http://localhost:59093/"
"BaseUrl": "http://dev.ccwin-in.com:59093/"
},
"FileStorage": {
"BaseUrl": "http://dev.ccwin-in.com:59092/"

Loading…
Cancel
Save