I have created collection and adding data from HEADER_TABLE.
I am trying to add 2 columns in table , here is my code
ClearCollect(colHeaderDetails, AddColumns(HEADER_TABLE, "IsChosen", false, "DateAsNumber",
Year(CREATED_DATE) * 10000 + Month(CREATED_DATE) * 100 + Day(CREATED_DATE)));
when i am adding only "IsChosen" column then it's working fine but, when i am trying to add "DateAsNumber" with calculated value then in collection values are showing only for CREATED_DATE and DateAsNumber columns, rest of the columns data is blank.
What i am doing wrong here?