diff --git a/src/Tools/Performance Toolkit/App/src/BCPTLine.Codeunit.al b/src/Tools/Performance Toolkit/App/src/BCPTLine.Codeunit.al index fde5ca31b9..5466bcfd1e 100644 --- a/src/Tools/Performance Toolkit/App/src/BCPTLine.Codeunit.al +++ b/src/Tools/Performance Toolkit/App/src/BCPTLine.Codeunit.al @@ -186,7 +186,7 @@ codeunit 149005 "BCPT Line" BCPTLogEntry."BCPT Line No." := BCPTLine."Line No."; BCPTLogEntry.Version := BCPTHeader.Version; BCPTLogEntry."Codeunit ID" := BCPTLine."Codeunit ID"; - BCPTLogEntry.Operation := copystr(ModifiedOperation, 1, MaxStrLen(BCPTLogEntry.Operation)); + BCPTLogEntry.Operation := CopyStr(ModifiedOperation, 1, MaxStrLen(BCPTLogEntry.Operation)); BCPTLogEntry."Orig. Operation" := copystr(Operation, 1, MaxStrLen(BCPTLogEntry."Orig. Operation")); BCPTLogEntry.Tag := BCPTRoleWrapperImpl.GetBCPTHeaderTag(); BCPTLogEntry."Entry No." := 0;