NonInventPurchasingSystem/CPRNIMS.Domain/Contracts/PO/IPurchaseOrder.cs

76 lines
3.8 KiB
C#

using CPRNIMS.Infrastructure.Dto.Canvass.Response;
using CPRNIMS.Infrastructure.Dto.PO;
using CPRNIMS.Infrastructure.Entities.Canvass;
using CPRNIMS.Infrastructure.Entities.Common;
using CPRNIMS.Infrastructure.Entities.LocalDb.NonInvent;
using CPRNIMS.Infrastructure.Entities.PO;
using CPRNIMS.Infrastructure.ViewModel.PO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CPRNIMS.Domain.Contracts.PO
{
public interface IPurchaseOrder
{
#region Get
Task<POFormData> GetPOFormDataAsync(long? poId);
Task<List<Infrastructure.Entities.PO.PO>> GetPOListByTerm(PODto itemDto);
Task<List<IncomingShipmentDto>> GetIncomingShipment(PODto itemDto);
Task<List<IndexCard>> GetIndexCard(PODto poDto);
Task<List<PurchaseOrder>> GetForPOApprovalByPRNo(PODto PODto);
Task<List<ForPOApproval>> GetForPOApproval(PODto PODto);
Task<List<ApprovedPO>> GetApprovedPO(PODto PODto);
Task<List<ItemListForPO>> GetApprovedPOPerEmail(PODto PODto);
Task<List<CreatedPOPerSupId>> GetCreatedPOPerSupId(PODto pODto);
Task<List<RFQReference>> GetRFQ(PODto PODto);
Task<List<ForPO>> GetForPO(PODto PODto);
Task<List<ItemListForPO>> GetForPOPerSuppEmail(PODto PODto);
Task<List<BiddingApproval>> GetForBiddingApproval(PODto PODto);
Task<List<RFQPerSupplier>> GetSupplierBidByItem(PODto PODto);
Task<List<RFQPerSupplier>> GetSupplierBidById(PODto PODto);
Task<List<PaymentTerm>> GetPaymentTerms(PODto pODto);
Task<List<PortOfDischarges>> GetPortOfDischarge(PODto pODto);
Task<List<PRWOCanvass>> GetPRWOCanvass(PODto itemDto);
Task<List<CentralPONo>> GetLatestPO(PODto pODto);
Task<List<SystemSettings>> GetLatestPO2(PODto pODto);
Task<List<DocRequired>> GetDocRequired(PODto pODto);
Task<List<OtherCharges>> GetOtherCharges(PODto itemDto);
Task<List<SupplierResponseDto>> GetSuppliers(PODto itemDto);
Task<List<CreatedPO>> GetCreatedPO(PODto pODto);
Task<List<POItemDetail>> GetPOItemDetail(PODto pODto);
Task<List<CreatedPO>> GetMyCreatedPO(PODto pODto);
Task<List<Incoterm>> GetIncoterms(PODto itemDto);
Task<List<Incoterm>> GetIncotermsByName(PODto itemDto);
Task<List<PRPOSummaryCount>> GetPRPOSummaryReport(PODto itemDto);
Task<List<PRPOSummaryItem>> GetPRPOSummaryItem(PODto itemDto);
PODto CreatePoDto(POVM PODto, byte docRequirementId, int otherChargesId, long prDetailsId
, decimal unitPrice, decimal amount, long prNo, decimal quantity,string Specification);
Task Prerequisite(POVM poVM);
#endregion
#region Post Put
Task<OtherCharges> PostPutOtherCharges(PODto dto);
Task<PurchaseOrder> PostApprovedPO(PODto PODto);
Task<PurchaseOrder> PostPutPO(PODto PODto);
Task<OtherCharges> PostSuppCharges(PODto poDto);
Task<CustomPO> PostPutCustomPO(PODto pODto);
Task<CustomPO> PutExistingPO(PODto pODto);
Task<DocRequired>PostSuppDocRequirements(PODto poDto);
Task<PurchaseOrder> PostPOToSupplier(PODto PODto);
Task<Suppliers> PostApprovedSupplier(PODto PODto);
Task<PurchaseOrder> PostApprovedSuggested(PODto PODto);
Task<PurchaseOrder> PutPRItemDetails(PODto pODto);
Task<Infrastructure.Entities.PO.PurchaseOrder> PutMyPONo(PODto pODto);
Task<Infrastructure.Entities.PO.PurchaseOrder> PutPOItemDetail(PODto pODto);
Task <CustomPO> ApprovedSelectedPO(PODto dto);
Task <DocRequired> PostPutDocRequired(PODto dto);
Task<CustomPO> PutPOCancel(PODto poDto);
Task<Incoterm> PostPutIncoterms(PODto pODto);
Task<bool> DeleteIncShip(PODto poDto);
Task<bool> PostIncShipFollowUp(PODto pODto);
#endregion
}
}