Hi, I have created a grid using a interface, and when I am trrying to sort

Hi,
I have created a grid using a interface, and when I am trrying to sort the grid by clicking on the header cell, it gives me an error as fllows:

Interface Definition: Expression evaluation error: An error occurred while executing a save: Expression evaluation error: The save target must be a load() variable, process variable, or node input (or a rule input passed one of those three), but instead was: [startIndex=1, batchSize=-1, sort=]

Following is code snippet for the interface.

with(
local!pagingInfo: a!pagingInfo(1, -1),
local!deal: rule!ICAMS_getDealById(id: ri!dealId),
local!supplier: if(
/* RIM deals have blank supplier ID */
rule!APN_isBlank(local!deal.supplierId),
{},
rule!ICAMS_getSupplierById(local!deal.supplierId)
),
local!modules: rule!ICAMS_getDealModuleViewByDealIdAndActiveFlag(
dealId: ri!dealId,
pagingInfo: local!pagingInfo,
activeFlag: true,
selection: rule!ICAMS_querySelectionForAcq...

OriginalPostID-199415

OriginalPostID-199415

  Discussion posts and replies are publicly visible

Parents
  • ...uisitionSheet()
    ),
    a!dashboardLayout(
    firstColumnContents: {
    a!sectionLayout(
    firstColumnContents: {
    if(rule!APN_isBlank(index(local!supplier, "supplierName", null)), {},
    a!textField(
    label: "Supplier",
    labelPosition: "ADJACENT",
    value: index(local!supplier, "supplierName", null),
    readOnly: true
    )
    ),
    a!textField(
    label: "Start Date",
    labelPosition: "ADJACENT",
    value: local!deal.createdDate,
    saveInto: local!deal.createdDate,
    readOnly: true
    ),
    a!textField(
    label: "Deal Type",
    labelPosition: "ADJACENT",
    value: local!deal.dealType,
    saveInto: local!deal.dealType,
    readOnly: true
    )
    }
    ),
    a!sectionLayout(
    ...
Reply
  • ...uisitionSheet()
    ),
    a!dashboardLayout(
    firstColumnContents: {
    a!sectionLayout(
    firstColumnContents: {
    if(rule!APN_isBlank(index(local!supplier, "supplierName", null)), {},
    a!textField(
    label: "Supplier",
    labelPosition: "ADJACENT",
    value: index(local!supplier, "supplierName", null),
    readOnly: true
    )
    ),
    a!textField(
    label: "Start Date",
    labelPosition: "ADJACENT",
    value: local!deal.createdDate,
    saveInto: local!deal.createdDate,
    readOnly: true
    ),
    a!textField(
    label: "Deal Type",
    labelPosition: "ADJACENT",
    value: local!deal.dealType,
    saveInto: local!deal.dealType,
    readOnly: true
    )
    }
    ),
    a!sectionLayout(
    ...
Children
No Data