The following operation work fine in SmartGWTEE 5.0 and previous version.
It doesn't work since 5.1.
Does anyone know why??
<operationBinding operationType="add" operationId="NEW_INVOICE">
<tableClause>INVOICE_ITEM</tableClause>
<values fieldName="INVOICE_ID" value="#if (!$values.INVOICE_ID) $responseData.last('INVOICE','add').INVOICE_ID #else $values.INVOICE_ID #end"></values>
</operationBinding>
It doesn't work since 5.1.
Does anyone know why??
<operationBinding operationType="add" operationId="NEW_INVOICE">
<tableClause>INVOICE_ITEM</tableClause>
<values fieldName="INVOICE_ID" value="#if (!$values.INVOICE_ID) $responseData.last('INVOICE','add').INVOICE_ID #else $values.INVOICE_ID #end"></values>
</operationBinding>