{"title":"Codeunit 431 IC Outbox Export, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/431-ic-outbox-export/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":431,"name":"IC Outbox Export","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/431-ic-outbox-export/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/431-ic-outbox-export/source/","path":"src/Layers/W1/BaseApp/Finance/Intercompany/Outbox/ICOutboxExport.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:27":{"name":"Confirm Management","url":"https://jonas-paprotka.de/ref/codeunit/27-confirm-management/"},"codeunit:8703":{"name":"Feature Telemetry","url":"https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/"},"codeunit:428":{"name":"IC Mapping","url":"https://jonas-paprotka.de/ref/codeunit/428-ic-mapping/"},"table:414":{"name":"IC Outbox Transaction","url":"https://jonas-paprotka.de/ref/table/414-ic-outbox-transaction/"},"codeunit:19":{"name":"Gen. Jnl.-Post Preview","url":"https://jonas-paprotka.de/ref/codeunit/19-gen-jnl-post-preview/"},"codeunit:419":{"name":"File Management","url":"https://jonas-paprotka.de/ref/codeunit/419-file-management/"},"codeunit:260":{"name":"Document-Mailing","url":"https://jonas-paprotka.de/ref/codeunit/260-document-mailing/"},"codeunit:427":{"name":"ICInboxOutboxMgt","url":"https://jonas-paprotka.de/ref/codeunit/427-icinboxoutboxmgt/"},"codeunit:1380":{"name":"Batch Processing Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1380-batch-processing-mgt/"},"codeunit:425":{"name":"Data Compression","url":"https://jonas-paprotka.de/ref/codeunit/425-data-compression/"},"codeunit:4100":{"name":"Temp Blob","url":"https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/"},"report:513":{"name":"Move IC Trans. to Partner Comp","url":"https://jonas-paprotka.de/ref/report/513-move-ic-trans-to-partner-comp/"},"table:38":{"name":"Purchase Header","url":"https://jonas-paprotka.de/ref/table/38-purchase-header/"},"table:36":{"name":"Sales Header","url":"https://jonas-paprotka.de/ref/table/36-sales-header/"},"codeunit:4030":{"name":"Client Type Management","url":"https://jonas-paprotka.de/ref/codeunit/4030-client-type-management/"}},"procs":[{"name":"OnRun","line":36,"kind":"trigger","steps":[[44,"event","OnRunOnBeforeConfirmGetResponseOrDefault",1],[46,"ext","codeunit",27,"GetResponseOrDefault",2],[49,"ext","codeunit",8703,"LogUptake",3],[49,"ext","codeunit",428,"GetFeatureTelemetryName",0],[50,"ext","codeunit",8703,"LogUsage",3],[50,"ext","codeunit",428,"GetFeatureTelemetryName",0],[51,"call","RunOutboxTransactions",1]]},{"name":"RunOutboxTransactions","line":67,"kind":"procedure","params":1,"steps":[[75,"event","OnBeforeRunOutboxTransactions",1],[79,"ext","codeunit",8703,"LogUptake",3],[79,"ext","codeunit",428,"GetFeatureTelemetryName",0],[80,"ext","codeunit",8703,"LogUsage",3],[80,"ext","codeunit",428,"GetFeatureTelemetryName",0],[86,"call","UpdateICStatus",1],[87,"event","OnRunOutboxTransactionsOnBeforeSend",0],[88,"call","SendToExternalPartner",1],[89,"call","SendToInternalPartner",1],[92,"call","ReturnToInbox",1],[93,"call","CancelTransaction",1]]},{"name":"ModifyAndRunOutboxTransactionNo","line":96,"kind":"procedure","access":"local","params":1,"steps":[[103,"write",414,"Modify"],[104,"call","RunOutboxTransactions",1]]},{"name":"ProcessAutoSendOutboxTransactionNo","line":113,"kind":"procedure","params":1,"steps":[[119,"event","OnBeforeProcessAutoSendOutboxTransactionNo",1],[125,"call","ModifyAndRunOutboxTransactionNo",1]]},{"name":"SendToExternalPartner","line":133,"kind":"procedure","params":1,"steps":[[152,"event","OnBeforeSendToExternalPartner",1],[156,"ext","codeunit",19,"IsActive",0],[163,"event","OnSendToExternalPartnerOnBeforeICPartnerFindset",0],[168,"call","IsWebClient",0],[187,"call","ExportOutboxTransaction",2],[189,"call","IsWebClient",0],[191,"call","AddBatchProcessingArtifact",2],[194,"ext","codeunit",419,"DownloadTempFile",1],[208,"call","IsWebClient",0],[224,"ext","codeunit",260,"EnqueueEmailFile"],[237,"event","OnSendToExternalPartnerOnAfterDocWasSent",0],[240,"ext","codeunit",427,"MoveOutboxTransToHandledOutbox",1]]},{"name":"AddBatchProcessingArtifact","line":249,"kind":"procedure","access":"local","params":2,"steps":[[256,"ext","codeunit",1380,"IsActive",0],[259,"ext","codeunit",419,"BLOBImportFromServerFile",2],[261,"ext","codeunit",1380,"AddArtifact",3]]},{"name":"DownloadBatchFiles","line":270,"kind":"procedure","params":1,"steps":[[283,"event","OnBeforeDownloadBatchFiles",1],[287,"ext","codeunit",1380,"IsActive",0],[290,"ext","codeunit",1380,"GetArtifacts",2],[293,"ext","codeunit",425,"CreateZipArchive",0],[299,"ext","codeunit",4100,"FromRecord",2],[300,"ext","codeunit",4100,"CreateInStream",1],[301,"ext","codeunit",425,"AddEntry",2],[308,"ext","codeunit",4100,"CreateOutStream",1],[310,"ext","codeunit",425,"SaveZipArchive",1],[311,"ext","codeunit",425,"CloseZipArchive",0],[313,"ext","codeunit",4100,"CreateInStream",1],[315,"ext","codeunit",419,"DownloadFromStreamHandler",5]]},{"name":"SendToInternalPartner","line":323,"kind":"procedure","params":1,"steps":[[340,"event","OnSendToInternalPartnerOnBeforeMoveICTransToPartnerCompany",1],[342,"ext","report",513,"Initialize",3],[349,"ext","codeunit",427,"MoveOutboxTransToHandledOutbox",1]]},{"name":"ReturnToInbox","line":358,"kind":"procedure","params":1,"steps":[[365,"event","OnBeforeReturnToInbox",1],[373,"ext","report",513,"RecreateInboxTrans",1],[374,"write",414,"Delete",1]]},{"name":"CancelTransaction","line":382,"kind":"procedure","params":1,"steps":[[387,"ext","codeunit",427,"MoveOutboxTransToHandledOutbox",1]]},{"name":"UpdateICStatus","line":395,"kind":"procedure","params":1,"steps":[[406,"validate",38,"IC Status"],[407,"write",38,"Modify"],[411,"validate",38,"IC Status"],[412,"write",38,"Modify"],[420,"validate",36,"IC Status"],[421,"write",36,"Modify"],[425,"validate",36,"IC Status"],[426,"write",36,"Modify"],[429,"event","OnUpdateICStatusOnAfterLoopIteration",0]]},{"name":"ExportOutboxTransaction","line":433,"kind":"procedure","access":"local","params":2,"steps":[[444,"event","OnBeforeExportOutboxTransaction",1]]},{"name":"IsWebClient","line":457,"kind":"procedure","access":"local","params":0,"steps":[[459,"ext","codeunit",4030,"GetCurrentClientType",0]]}]}