#
#	ITSV GmbH
#	CCDB - Command and Control Database
#
#	FILE:			dquermfile_pspacq.txt
#	DESCRIPTION:	DQUERY definition for CCDB DQUERY "pspacq"
#
@querytitle	Neue PSP-Elemente erfassen
@querydescription	
@group	ILV
@querytype	function
@attributenames	pspdata:psplist
@function	functions.acquire_list
@querydataname	pspdata
@table	CCILPSP
@prepare_result	
	let ladcn = this.dr.findColumn("LETZTAENDDATUM");
	let lado, ladn;
	for (let ri = 0; ri<this.dr.getRowCount(); ri++) {
		lado = this.dr.getCellValue(ri,ladcn,"/");
		logger.debug("pspacq.UDBG.prepare_result.ladcn="+ladcn+".ri="+ri+".lado: "+aux.objTxt(lado)+"... dr.rows: "+aux.objTxt(this.dr.rows));
		ladn = lado.year*10000 + lado.month*100 + lado.day;
		this.dr.setCellValue(ri,ladcn,ladn);
	}
