{"title":"Codeunit 1201 Process Data Exch., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1201-process-data-exch/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":1201,"name":"Process Data Exch.","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1201-process-data-exch/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1201-process-data-exch/source/","path":"src/Layers/W1/BaseApp/System/DataExchange/ProcessDataExch.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":{"table:1221":{"name":"Data Exch. Field","url":"https://jonas-paprotka.de/ref/table/1221-data-exch-field/"},"table:1237":{"name":"Transformation Rule","url":"https://jonas-paprotka.de/ref/table/1237-transformation-rule/"},"codeunit:4100":{"name":"Temp Blob","url":"https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/"},"codeunit:10":{"name":"Type Helper","url":"https://jonas-paprotka.de/ref/codeunit/10-type-helper/"},"table:2000000026":{"name":"Integer","url":"https://jonas-paprotka.de/ref/table/2000000026-integer/"}},"procs":[{"name":"ProcessColumnMapping","line":22,"kind":"procedure","params":3,"steps":[[36,"call","GetLastIntegerKeyField",1],[37,"call","GetLastKeyValueInRange",2],[38,"call","GetDataExchLineNoFieldId",1],[42,"event","OnBeforeDataExchFieldMappingSetFilters",0],[49,"event","OnProcessColumnMappingOnAfterDataExchFieldMappingSetFilters",1],[70,"event","OnProcessColumnMappingOnBeforeCreateBankAccReconciliationLine",0],[73,"call","SetFieldValue",3],[74,"call","SetFieldValue",3],[77,"call","SetFieldValue",3],[78,"call","SetFieldValue",3],[79,"event","OnProcessColumnMappingOnBeforeDataExchFieldMappingFindSet",0],[85,"event","OnProcessColumnMappingOnBeforeDataExchFieldFindSet",1],[89,"call","SetField",4],[94,"call","GetType",1],[98,"call","NegateAmounts",2],[101,"event","OnProcessColumnMappingOnBeforeRecRefInsert",1],[107,"event","OnAfterProcessColumnMapping",0]]},{"name":"ProcessAllLinesColumnMapping","line":110,"kind":"procedure","params":2,"steps":[[116,"event","OnBeforeProcessAllLinesColumnMapping",1],[123,"call","ProcessColumnMapping",3]]},{"name":"SetField","line":127,"kind":"procedure","params":4,"steps":[[139,"event","OnSetFieldOnBeforeDataExchColumnDefGet",1],[148,"event","OnSetFieldOnBeforeGetTransformedValue",0],[150,"ext","table",1221,"GetValue",0],[152,"ext","table",1237,"TransformText",1],[152,"ext","table",1221,"GetValue",0],[155,"event","OnBeforeFormatFieldValue",1],[160,"call","SetAndMergeTextCodeField",3],[162,"call","SetDateDecimalField",4],[165,"call","SetDateDecimalField",4],[166,"call","AdjustDecimalWithMultiplier",3],[170,"call","SaveNegativeSignForField",2],[173,"call","SetOptionField",2],[176,"ext","codeunit",4100,"CreateOutStream",2],[178,"ext","codeunit",4100,"ToRecordRef",2],[184,"event","OnSetFieldOnBeforeFieldRefValidate",1]]},{"name":"SetDateDecimalField","line":215,"kind":"procedure","params":4,"steps":[[222,"ext","codeunit",10,"Evaluate",4],[226,"call","GetFileName",1],[226,"call","GetType",1]]},{"name":"GetLastKeyValueInRange","line":255,"kind":"procedure","access":"local","params":2,"steps":[[261,"call","SetKeyAsFilter",1]]},{"name":"SaveNegativeSignForField","line":323,"kind":"procedure","access":"local","params":2,"steps":[[326,"write",2000000026,"Insert"]]},{"name":"NegateAmounts","line":329,"kind":"procedure","params":2,"steps":[[341,"write",2000000026,"DeleteAll"]]}]}