Page 1 of 1

Labcases DateTStamp request

Posted: Thu May 11, 2017 5:25 am
by tim
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.

Re: Labcases DateTStamp request

Posted: Thu May 18, 2017 6:22 am
by tim
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.

Re: Labcases DateTStamp request

Posted: Thu May 18, 2017 11:13 am
by jsalmon
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.

Re: Labcases DateTStamp request

Posted: Thu May 18, 2017 3:23 pm
by dgraffeo
Hey there, tim.
The column and the function have been added to 17.2

Re: Labcases DateTStamp request

Posted: Fri May 19, 2017 7:30 am
by tim
Thank you!