using GB5Shared.DTO.Framework.Login; namespace DXPBLL.VendorPo; // Cross-service call into the separately-deployed MM microservice — HTTP via a named // IHttpClientFactory client, mirroring PAY/PAYBLL/Integration/FinanceIntegrationService.cs (the // established pattern; there is no Dapr-service-invocation or direct-BLL-reference precedent // between independently deployed GB5 services). See Part 4 of the DXP plan for the full // read-vs-write architecture rationale. public interface IMmIntegrationService { Task TriggerAutoReservationAsync( StockReservationRequestDTO request, LoginDTO tenantLogin, CancellationToken ct); // Generic document save (POST /MMHead/SaveMMHead) — used for ASN creation (Phase 1.4). // Confirmed metadata-driven (no BizTransactionType-specific branching in MMHeadBLL) via a // full read of SaveBatchAsync — a brand-new type needs only an MBIZTRANSACTIONTYPE/ // MBIZTRANSACTIONCLASS master row, zero MM code changes. Task SaveMmDocumentAsync( MmDocumentSaveRequestDTO request, LoginDTO tenantLogin, CancellationToken ct); }