Why there is no more Database | Test function in newer versions (2017, 2018) like in old Classic Client? Is there another way to test data consistency? I tried to find something and the closest thing is codeunit 134926 Table Relation Test, but it checks technical aspects of relations (like data types of related fields), not the actual data consistency.
0
Answers
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
IF (Type=CONST(" ")) "Standard Text" ELSE IF (Type=CONST(G/L Account),System-Created Entry=CONST(No)) "G/L Account" WHERE (Direct Posting=CONST(Yes),Account Type=CONST(Posting),Blocked=CONST(No)) ELSE IF (Type=CONST(G/L Account),System-Created Entry=CONST(Yes)) "G/L Account" ELSE IF (Type=CONST(Item)) Item ELSE IF (Type=CONST(Resource)) Resource ELSE IF (Type=CONST(Fixed Asset)) "Fixed Asset" ELSE IF (Type=CONST("Charge (Item)")) "Item Charge"
I guess it could be done from C/AL using RecordRef/FieldRef and Table Relations Metadata. But it would also be great to put it back in Development Environment.