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
  • ... }
    ),
    a!sectionLayout(
    firstColumnContents: {},
    secondColumnContents: {
    a!gridField(
    totalCount: 1,
    columns: {

    a!gridTextColumn(label: "Total Target Value", field: "targetPrice", data: sum(index(local!modules, "targetPrice", 0))),
    a!gridTextColumn(label: "Total Purchase Value", field: "purchaseValue", data: sum(index(local!modules, "purchaseValue", 0))),
    a!gridTextColumn(label: "Total Audited Value", field: "totalAuditedValue", data: rule!ICAMS_getSumAuditedValue(local!modules)),
    a!gridTextColumn(label: "Total Freight Allocation", field: "totalFreightAllocation", data: rule!ICAMS_getSumFreightAllocation(local!modules)),
    a!gridTextColumn(label: "Total Cost", field: "totalSAPstdCost", data: rule!ICAMS_getSumSAPStandardCost(local!modules)),
    a!gridTextColumn(label: "Total Book Value", field: "totalSAPs...
Reply
  • ... }
    ),
    a!sectionLayout(
    firstColumnContents: {},
    secondColumnContents: {
    a!gridField(
    totalCount: 1,
    columns: {

    a!gridTextColumn(label: "Total Target Value", field: "targetPrice", data: sum(index(local!modules, "targetPrice", 0))),
    a!gridTextColumn(label: "Total Purchase Value", field: "purchaseValue", data: sum(index(local!modules, "purchaseValue", 0))),
    a!gridTextColumn(label: "Total Audited Value", field: "totalAuditedValue", data: rule!ICAMS_getSumAuditedValue(local!modules)),
    a!gridTextColumn(label: "Total Freight Allocation", field: "totalFreightAllocation", data: rule!ICAMS_getSumFreightAllocation(local!modules)),
    a!gridTextColumn(label: "Total Cost", field: "totalSAPstdCost", data: rule!ICAMS_getSumSAPStandardCost(local!modules)),
    a!gridTextColumn(label: "Total Book Value", field: "totalSAPs...
Children
No Data