Source AL, 57 lines
src/Layers/W1/BaseApp/Integration/Dataverse/CDSTransformationRuleMgt.Codeunit.allines 10 to 25 of 57, Copyright (c) Microsoft Corporation. MIT
codeunit 5397 "CDS Transformation Rule Mgt."{ var TransformationRuleInUseErr: Label '%1 cannot be deleted because it is in use.', Comment = '%1 - the name of the transformation rule'; [EventSubscriber(ObjectType::Table, Database::"Transformation Rule", 'OnBeforeDeleteEvent', '', false, false)] procedure OnDeleteTransformationRule(var Rec: Record "Transformation Rule"; RunTrigger: Boolean) begin if Rec.IsTemporary() then exit; if IsTransformationRuleInUse(Rec) then Error(TransformationRuleInUseErr, Rec.Code); end; local procedure IsTransformationRuleInUse(Rec: Record "Transformation Rule"): Boolean
All 57 lines
Public procedures 2 in 29
| OnDeleteTransformationRule(var Rec: Record "Transformation Rule"; RunTrigger: Boolean) | 17-29 |
| ApplyTransformations(SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; IntegrationTableMapping: Record "Integration Table Mapping") | new in 25 |
All 4 procedures in 17-29
Changes 2 in 28
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | | | 3 | | | 2 | |
|---|
All 5 changes in 17-29