I am using this standard method to read the comments. Inside the code, there is a statement
concatenate ujc0_cs_cmtbl_fieldname-datewritten 'DESCENDING' into l_order_cond separated by space
This is not sorting according to the statement above.
For example,
I have entries created
20,140,722,184,138
20,140,722,184,236
20,140,723,173,708
20,140,723,174,636
20,140,723,181,857
After the sort, it is the other way. Which is good.
20,140,723,181,857 has the following entries
kyle year specific
TEST ID: EP_TEST_2183; TEST 2
TEST ID: EP_TEST_2183
DLM: Test CMT 362
TEST ID: EP_TEST_2183; TEST 2
TEST ID: EP_TEST_2183
DLM: Test CMT 3431
DLM: Test CMT 362
TEST ID: EP_TEST_2183; TEST 2
TEST ID: EP_TEST_2183
kyle year specific
TEST ID: EP_TEST_2183
TEST ID: EP_TEST_2183; TEST 2
DLM: Test CMT 362
DLM: Test CMT 3431
TEST ID: EP_TEST_2183; TEST 2
TEST ID: EP_TEST_2183
TEST ID: EP_TEST_2183
TEST ID: EP_TEST_2183; TEST 2
DLM: Test CMT 362
20,140,723,174,636 has the following entries
kyle2
kyle year specific
kyle1
kyle4
kyle3
SP17.1 REGRESSION TESTING;
TEST ID: EP_TEST_2183; TE
SP17.1 REGRESSION TESTING;
TEST ID: EP_TEST_2183
DLM: Test CMT 2277
DLM: Test CMT 9269
DLM: Test CMT 9516
DLM: Test PRM CMT 8954
DLM: Test CMT 362
SP17.1 REGRESSION TESTING;
TEST ID: EP_TEST_2183; TE
SP17.1 REGRESSION TESTING;
TEST ID: EP_TEST_2183
DLM: Test CMT 519
DLM: Test CMT 9649
DLM: Test CMT 8367
DLM: Test PRM CMT 3595
DLM: Test CMT 3431
DLM: Test CMT 2277
DLM: Test CMT 9269
DLM: Test CMT 9516
DLM: Test PRM CMT 8954
DLM: Test CMT 362
SP17.1 REGRESSION TESTING;
TEST ID: EP_TEST_2183; TE
SP17.1 REGRESSION TESTING;
TEST ID: EP_TEST_2183
After the sort first set of entries looks good. as it is. But for the second entries, it sorted the comments as well for some reason in the following way. Not sure why this behaviour.
DLM: Test PRM CMT 8954 |
DLM: Test CMT 362 |
SP17.1 REGRESSION TESTING; 4\/25\/14; updated 4\/29\/14 |
TEST ID: EP_TEST_2183; TEST 2 |
SP17.1 REGRESSION TESTING; 4\/25\/14 |
TEST ID: EP_TEST_2183 |
DLM: Test CMT 519 |
DLM: Test CMT 9649 |
DLM: Test CMT 8367 |
DLM: Test PRM CMT 3595 |
DLM: Test CMT 3431 |
DLM: Test CMT 2277 |
DLM: Test CMT 9269 |
DLM: Test CMT 9516 |
DLM: Test PRM CMT 8954 |
DLM: Test CMT 362 |
SP17.1 REGRESSION TESTING; 4\/25\/14; updated 4\/29\/14 |
TEST ID: EP_TEST_2183; TEST 2 |
SP17.1 REGRESSION TESTING; 4\/25\/14 |
TEST ID: EP_TEST_2183 |
DLM: Test CMT 9516 |
DLM: Test CMT 9269 |
DLM: Test CMT 2277 |
TEST ID: EP_TEST_2183 |
SP17.1 REGRESSION TESTING; 4\/25\/14 |
TEST ID: EP_TEST_2183; TEST 2 |
SP17.1 REGRESSION TESTING; 4\/25\/14; updated 4\/29\/14 |
kyle3 |
kyle4 |
kyle1 |
kyle year specific |
kyle2 |
Got this off from debug.
Can anybody please clarify?