x++ script that do not return correct count
问题 I have a x++ script which aims to count records from a select query and later on be updated. This is the original question for reference: convert SQL Query with Join to X++ Dynamics AX scripting Initially, I have a SQL Query counterpart of it and it is resulting to 50 rows / records, when I convert it to X++ , it is not counting or extracting the same number of records, Here is is the x++ script static void Job(Args _args) { Table1 table1; Table2 table2; Table3 table3; Table4 table4; Table5