IExportDocumentManagerMarkAsNotReceived Method (IEnumerableInt32) |
Namespace: EdaIntegrationContract.Exports
void MarkAsNotReceived( IEnumerable<int> documentIds )
using EdaIntegrationContract; using EdaIntegrationContract.Case; using EdaIntegrationContract.Exports; class Sample { static void Main() { var edaIntegration = new EdaIntegration().ConnectToExplore(); // Get the export ICase edaCase = edaIntegration.Cases.OpenCaseByName("Case 1"); IExport export = edaCase.Exports.ByName("Export-001"); // Retrieve the list of documents that were exported IExportDocumentManager mgr = export.Documents; // Retrieve the identifiers of the first 500 documents List<int> docIds = mgr.All(true).Take(500).Select(x => x.InventoryId).ToList(); // Clear their received state mgr.MarkAsNotReceived(docIds); } }