0
In the codeunit 8612 - Config. Template Management, the procedures ApplyTemplateLinesWithoutValidation and GetNextLineNo contains the following line:
ConfigTemplateLine.SETFILTER("Data Template Code",ConfigTemplateHeader.Code);
It should be a SETRANGE and not a SETFILTER: if the template code contains a joker (*, ?, &, |, ...), the filtering behaves improperly.
The following problem causes error in Data Migration when upgrading from Item Categories to templates.
ConfigTemplateLine.SETFILTER("Data Template Code",ConfigTemplateHeader.Code);
It should be a SETRANGE and not a SETFILTER: if the template code contains a joker (*, ?, &, |, ...), the filtering behaves improperly.
The following problem causes error in Data Migration when upgrading from Item Categories to templates.
STATUS DETAILS
Completed
Comments
Fix implemented for D365 BC U2
Category: Data Migrations
Business Central Team (administrator)