This forum is for programmers who have questions about the source code.
-
tim
- Posts: 24
- Joined: Wed Mar 08, 2017 5:11 am
Post
by tim » Thu May 11, 2017 5:25 am
Hi,
Could a DateTStamp column be added to the labcase table, similar to other tables in the database? To complement that change, could the following method also be added to the LabCases class:
Code: Select all
public static List<LabCase> GetChangedSince(DateTime changedSince) {
if(RemotingClient.RemotingRole==RemotingRole.ClientWeb) {
return Meth.GetObject<List<LabCase>>(MethodBase.GetCurrentMethod(),changedSince);
}
string command="SELECT * FROM labcase WHERE DateTStamp > "+POut.DateT(changedSince);
return Crud.LabCaseCrud.SelectMany(command);
}
Thanks.
-
tim
- Posts: 24
- Joined: Wed Mar 08, 2017 5:11 am
Post
by tim » Thu May 18, 2017 6:22 am
Just checking in to see if there is an ETA on this. We are hoping to make use of this functionality in our plugin. Thanks.
-
jsalmon
- Posts: 1596
- Joined: Tue Nov 30, 2010 12:33 pm
-
Contact:
Post
by jsalmon » Thu May 18, 2017 11:13 am
We'll go ahead and add that for you. I'm not sure on the ETA for the new column though. Probably before v17.2 gets released to the public if I had to guess.
The best thing about a boolean is even if you are wrong, you are only off by a bit.
Jason Salmon
Open Dental Software
http://www.opendental.com
-
dgraffeo
- Posts: 147
- Joined: Wed Sep 24, 2014 3:19 pm
Post
by dgraffeo » Thu May 18, 2017 3:23 pm
Hey there, tim.
The column and the function have been added to 17.2
"To understand what recursion is, you must first understand recursion."
David Graffeo
Open Dental Software
http://www.opendental.com
-
tim
- Posts: 24
- Joined: Wed Mar 08, 2017 5:11 am
Post
by tim » Fri May 19, 2017 7:30 am
Thank you!