Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Select statement on valid time state tables

$
0
0

Hi Experts,

Below is a sample table where the valid time state field type is selected as Date in the table properties. I need to select the first record in my code (the first record created as per the Rec id in the table), the record with salary 1000 in the below case but the select statement brings the current record only which is the last one since the table is date effective. what should be the statement to get the first record ? Thanks in advance. 

Employee Valid FromValid ToSalary
12301/01/202031/12/20201000
12301/01/202131/12/20212000
12301/01/202231/12/20223000

Viewing all articles
Browse latest Browse all 72043

Trending Articles