I want to remove several records which are not primary key each record, and I have readed that to do this, it requires to set the allowMultipleUpdate parameter to true. All right
The matter is: which syntax is correct?
I have readed docs but I haven't found any example, and I have tried many combinations without success.
How must be written?
Here our code which fails:
As I said: How is the right way?
Thanks in advance.
v9.1d_2014-02-22/PowerEdition Development SC and IExplrorer 10.0.9200 navigator, Eclipse Helios and Tomcat 7.0.28
The matter is: which syntax is correct?
I have readed docs but I haven't found any example, and I have tried many combinations without success.
How must be written?
Here our code which fails:
Code:
JS side
atdotfaltassobrastmpDS.removeData({ID_PROCESO:idProceso,PROCESADO:"N"});
Datasource side
<DataSource
xmlns:fmt="WEB-INF/"
ID ="atdotfaltassobrastmpDS"
tableName="ATDOT_FALTAS_SOBRAS_TMP"
serverType="sql"
sparseUpdates="true"
validateRelatedRecords="true"
dataSourceVersion="1"
>
<fmt:bundle basename="atdotfaltassobrastmp" />
<fields>
<field
primaryKey="true"
name="ID_PROCESO"
type="integer"
sqlLength="10"
sqlType="decimal"
required="true"
keyPressFilter= "[0-9]"
width="100" >
<title><fmt:message key='atdotfaltassobrastmp.ID_PROCESO' /></title>
</field>
<field
primaryKey="true"
name="NUM_ORDEN"
type="integer"
sqlLength="10"
sqlType="decimal"
required="true"
keyPressFilter= "[0-9]"
width="40" >
<title><fmt:message key='atdotfaltassobrastmp.NUM_ORDEN' /></title>
</field>
<field
name="PROCESADO"
type="text"
sqlLength="1"
sqlType="varchar"
required="true"
length="1"
characterCasing= "upper"
width="15" >
<title><fmt:message key='atdotfaltassobrastmp.PROCESADO' /></title>
</field>
<field
name="ALBS_ID"
foreignKey="LOValbsDS.NUMEXP"
type="integer"
sqlLength="9"
sqlType="decimal"
required="true"
keyPressFilter= "[0-9]"
width="70" >
<title><fmt:message key='atdotfaltassobrastmp.ALBS_ID' /></title>
</field>
<field
name="NTRACKING_NUEVO"
type="text"
sqlLength="14"
sqlType="varchar"
required="true"
length="14"
characterCasing= "upper"
width="140" >
<title><fmt:message key='atdotfaltassobrastmp.NTRACKING_NUEVO' /></title>
</field>
<field
name="NBULTO_NUEVO"
type="text"
sqlLength="3"
sqlType="varchar"
required="true"
length="3"
characterCasing= "upper"
width="40" >
<title><fmt:message key='atdotfaltassobrastmp.NBULTO_NUEVO' /></title>
</field>
<field
name="NTRACKING_ANTIGUO"
type="text"
sqlLength="14"
sqlType="varchar"
required="false"
length="14"
characterCasing= "upper"
width="140" >
<title><fmt:message key='atdotfaltassobrastmp.NTRACKING_ANTIGUO' /></title>
</field>
<field
name="NBULTO_ANTIGUO"
type="text"
sqlLength="3"
sqlType="varchar"
required="false"
length="3"
characterCasing= "upper"
width="40" >
<title><fmt:message key='atdotfaltassobrastmp.NBULTO_ANTIGUO' /></title>
</field>
<field
name="FEC_MODIFICACION"
type="date"
sqlLength="7"
sqlType="date"
required="true"
keyPressFilter= "[0-9/:]"
dateFormatter="toEuropeanShortDate"
width="90" >
<title><fmt:message key='atdotfaltassobrastmp.FEC_MODIFICACION' /></title>
</field>
<field
name="USER_MODIFICACION"
type="text"
sqlLength="30"
sqlType="varchar"
required="true"
length="30"
characterCasing= "upper"
width="200" >
<title><fmt:message key='atdotfaltassobrastmp.USER_MODIFICACION' /></title>
</field>
<operationBindings>
<!-- This fails-->
<opertionBinding operationType="remove" allowMultiUpdate="true"/>
</operationBindings>
</fields>
</DataSource>Thanks in advance.
v9.1d_2014-02-22/PowerEdition Development SC and IExplrorer 10.0.9200 navigator, Eclipse Helios and Tomcat 7.0.28