Hii ,
I want to add value but getting erroe like - Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error [evaluation ID = PBWBF] : An error occurred while executing a save: Expression evaluation error at function 'todecimal' [line 285]: Could not cast from Record Field to Number (Decimal). Details: CastInvalid
how can i resolve ?
here is my code -
a!localVariables( local!application: rule!GAI_getApplication(applicationId: ri!appId).data, local!grantorProjectActivityEval: ri!grantorProjectActivityEval, local!yaProgTypeId: cast( typeof(5), ( index( rule!GAI_getRefProgramType(programTypeAlias: "YA").data, 'recordType!{9d188bef-069b-4767-9d00-29432411f0cc}GAI Ref Program Type.fields.{4c3d4dd0-1f33-4086-9aee-27a44d619e83}programTypeId', null ) ) ), local!refGrantorProjActivities: rule!GAI_getRefGrantorProjectActivity(fkProgramTypeId: local!yaProgTypeId, ).data, local!metricTotal:rule!GAI_AddAllMetricsGrantorProjectActivityEval( octValue: typename(typeof( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{70016dec-711d-4100-badf-01254f3617c2}metricOct' )), novValue: typename(typeof( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{c37c7147-d162-448e-9214-70a00fee57a9}metricNov' )), /*decValue: todecimal(*/ /*'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{eef12a74-e692-43a7-9522-6c129fb90be7}metricDec'*/ /*),*/ /*janValue: todecimal(*/ /*'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a82c696e-5625-442a-9dbc-ed8937346e16}metricJan'*/ /*),*/ /*febValue: todecimal(*/ /*'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01b010b3-6024-45ff-bb9c-af63051c1bfc}metricFeb'*/ /*),*/ /*marValue: todecimal(*/ /*'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{f3a4e32e-b5cb-47d5-9603-b6e5cb1e708e}metricMar'*/ /*),*/ /*AprValue: todecimal(*/ /*'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{357755b0-72e5-4ab5-b4db-7821d8664506}metricApr'*/ /*),*/ /*mayValue: todecimal(*/ /*'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{943c7f35-2ac9-48f8-8548-0c24fa845cfe}metricMay'*/ /*),*/ /*junValue: todecimal(*/ /*'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6668ca17-e42b-4d5d-a6a3-c95c5c2ac442}metricJun'*/ /*),*/ /*julValue: todecimal(*/ /*'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a470706c-0e21-4676-94cd-81e40813af3b}metricJul'*/ /*),*/ /*augValue: todecimal(*/ /*'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{5e22a065-ae2a-4ecb-af14-57912734d816}metricAug'*/ /*),*/ /*sepValue: todecimal(*/ /*'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6cd71521-c5c5-41ef-9e3a-459d1db8d471}metricSep'*/ /*)*/ ), a!formLayout( label: "Manage STD YA Milestone Chart", contents: { rule!GAI_OpportunitySummaryRibbon( opportunity: local!application['recordType!{5f640b2a-afca-4569-92d3-9e2938c52816}GAI Application.relationships.{abdf1474-5557-4307-87ca-cebf6144aab0}gaiOpportunity'], showWhen: true(), showTopDivider: false() ), rule!SCO_SectionLayout( label: "STD YA Milestone Chart", contents: { a!columnsLayout( columns: { a!columnLayout( contents: { a!gridLayout( headerCells: { a!gridLayoutHeaderCell(label: "Objective"), a!gridLayoutHeaderCell(label: "Activity"), a!gridLayoutHeaderCell(label: "OCT"), a!gridLayoutHeaderCell(label: "NOV"), a!gridLayoutHeaderCell(label: "DEC"), a!gridLayoutHeaderCell(label: "JAN"), a!gridLayoutHeaderCell(label: "FEB"), a!gridLayoutHeaderCell(label: "MAR"), a!gridLayoutHeaderCell(label: "APR"), a!gridLayoutHeaderCell(label: "MAY"), a!gridLayoutHeaderCell(label: "JUN"), a!gridLayoutHeaderCell(label: "JUL"), a!gridLayoutHeaderCell(label: "AUG"), a!gridLayoutHeaderCell(label: "SEP"), a!gridLayoutHeaderCell(label: "TOTAL") }, columnConfigs: { a!gridLayoutColumnConfig(weight: 4), a!gridLayoutColumnConfig(weight: 4), a!gridLayoutColumnConfig(weight: 1), a!gridLayoutColumnConfig(weight: 1), a!gridLayoutColumnConfig(weight: 1), a!gridLayoutColumnConfig(weight: 1), a!gridLayoutColumnConfig(weight: 1), a!gridLayoutColumnConfig(weight: 1), a!gridLayoutColumnConfig(weight: 1), a!gridLayoutColumnConfig(weight: 1), a!gridLayoutColumnConfig(weight: 1), a!gridLayoutColumnConfig(weight: 1), a!gridLayoutColumnConfig(weight: 1), a!gridLayoutColumnConfig(weight: 1) }, rows: a!forEach( items: local!refGrantorProjActivities, expression: a!gridRowLayout( id: fv!index, contents: a!localVariables( local!currGrantorProjActEvalVarIndex: wherecontains( tointeger( index( fv!item, 'recordType!{0729ba89-2dd3-4b6e-aa32-e2b061920531}GAI Ref Grantor Project Activity.fields.{e59713f7-3917-4a4c-a212-471dc09ef7a8}grantorProjectActivityId', null ) ), tointeger( index( local!grantorProjectActivityEval, 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{13857a23-a441-4e51-a5a7-23a7112bd9a7}fkRefGrantorProjectActivityId', null ) ) ), local!currGrantorProjActEvalVar: index( local!grantorProjectActivityEval, local!currGrantorProjActEvalVarIndex, null ), local!currGrantorProjActEval: if( a!isNullOrEmpty(local!currGrantorProjActEvalVar), 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval'(), local!currGrantorProjActEvalVar ), { a!richTextDisplayField( label: "Activity" & fv!index, value: index( fv!item, 'recordType!{0729ba89-2dd3-4b6e-aa32-e2b061920531}GAI Ref Grantor Project Activity.fields.{a8baec49-afb4-494d-bc6c-876ccac1cfc5}projectObjective', null ) ), a!richTextDisplayField( label: "Activity" & fv!index, value: index( fv!item, 'recordType!{0729ba89-2dd3-4b6e-aa32-e2b061920531}GAI Ref Grantor Project Activity.fields.{8613bda3-4879-48d9-b747-5919755eb4f3}activity', null ) ), a!integerField( label: "OCT", value: local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{70016dec-711d-4100-badf-01254f3617c2}metricOct'], saveInto: { a!save( local!currGrantorProjActEval, a!update( data: local!currGrantorProjActEval, index: { 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{70016dec-711d-4100-badf-01254f3617c2}metricOct', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01bf909f-2833-4292-9714-84ce31731603}fkAppId', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{13857a23-a441-4e51-a5a7-23a7112bd9a7}fkRefGrantorProjectActivityId', }, value: { save!value, ri!appId, index( fv!item, 'recordType!{0729ba89-2dd3-4b6e-aa32-e2b061920531}GAI Ref Grantor Project Activity.fields.{e59713f7-3917-4a4c-a212-471dc09ef7a8}grantorProjectActivityId', null ), } ) ), a!save( local!grantorProjectActivityEval, if( a!isNullOrEmpty(local!currGrantorProjActEvalVarIndex), append( local!grantorProjectActivityEval, local!currGrantorProjActEval ), a!update( data: local!grantorProjectActivityEval, index: local!currGrantorProjActEvalVarIndex, value: local!currGrantorProjActEval ) ) ), a!save( local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{3fa1428e-6d55-4353-8dfc-8519a5c70b49}metricTotal'], rule!GAI_AddAllMetricsGrantorProjectActivityEval( octValue: typename(typeof( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{70016dec-711d-4100-badf-01254f3617c2}metricOct' )), novValue: typename(typeof( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{c37c7147-d162-448e-9214-70a00fee57a9}metricNov' )), decValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{eef12a74-e692-43a7-9522-6c129fb90be7}metricDec' ), janValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a82c696e-5625-442a-9dbc-ed8937346e16}metricJan' ), febValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01b010b3-6024-45ff-bb9c-af63051c1bfc}metricFeb' ), marValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{f3a4e32e-b5cb-47d5-9603-b6e5cb1e708e}metricMar' ), AprValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{357755b0-72e5-4ab5-b4db-7821d8664506}metricApr' ), mayValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{943c7f35-2ac9-48f8-8548-0c24fa845cfe}metricMay' ), junValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6668ca17-e42b-4d5d-a6a3-c95c5c2ac442}metricJun' ), julValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a470706c-0e21-4676-94cd-81e40813af3b}metricJul' ), augValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{5e22a065-ae2a-4ecb-af14-57912734d816}metricAug' ), sepValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6cd71521-c5c5-41ef-9e3a-459d1db8d471}metricSep' ) ) ) }, align: "CENTER" ), a!integerField( label: "NOV", value: local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{c37c7147-d162-448e-9214-70a00fee57a9}metricNov'], saveInto: { a!save( local!currGrantorProjActEval, a!update( data: local!currGrantorProjActEval, index: { 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{c37c7147-d162-448e-9214-70a00fee57a9}metricNov', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01bf909f-2833-4292-9714-84ce31731603}fkAppId', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{13857a23-a441-4e51-a5a7-23a7112bd9a7}fkRefGrantorProjectActivityId', }, value: { save!value, ri!appId, index( fv!item, 'recordType!{0729ba89-2dd3-4b6e-aa32-e2b061920531}GAI Ref Grantor Project Activity.fields.{e59713f7-3917-4a4c-a212-471dc09ef7a8}grantorProjectActivityId', null ), } ) ), a!save( local!grantorProjectActivityEval, if( a!isNullOrEmpty(local!currGrantorProjActEvalVarIndex), append( local!grantorProjectActivityEval, local!currGrantorProjActEval ), a!update( data: local!grantorProjectActivityEval, index: local!currGrantorProjActEvalVarIndex, value: local!currGrantorProjActEval ) ) ), a!save( local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{3fa1428e-6d55-4353-8dfc-8519a5c70b49}metricTotal'], rule!GAI_AddAllMetricsGrantorProjectActivityEval( octValue: typename(typeof( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{70016dec-711d-4100-badf-01254f3617c2}metricOct' )), novValue: typename(typeof( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{c37c7147-d162-448e-9214-70a00fee57a9}metricNov' )), decValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{eef12a74-e692-43a7-9522-6c129fb90be7}metricDec' ), janValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a82c696e-5625-442a-9dbc-ed8937346e16}metricJan' ), febValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01b010b3-6024-45ff-bb9c-af63051c1bfc}metricFeb' ), marValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{f3a4e32e-b5cb-47d5-9603-b6e5cb1e708e}metricMar' ), AprValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{357755b0-72e5-4ab5-b4db-7821d8664506}metricApr' ), mayValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{943c7f35-2ac9-48f8-8548-0c24fa845cfe}metricMay' ), junValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6668ca17-e42b-4d5d-a6a3-c95c5c2ac442}metricJun' ), julValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a470706c-0e21-4676-94cd-81e40813af3b}metricJul' ), augValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{5e22a065-ae2a-4ecb-af14-57912734d816}metricAug' ), sepValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6cd71521-c5c5-41ef-9e3a-459d1db8d471}metricSep' ) ) ) }, align: "CENTER" ), a!integerField( label: "DEC", value: local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{eef12a74-e692-43a7-9522-6c129fb90be7}metricDec'], saveInto: { a!save( local!currGrantorProjActEval, a!update( data: local!currGrantorProjActEval, index: { 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{eef12a74-e692-43a7-9522-6c129fb90be7}metricDec', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01bf909f-2833-4292-9714-84ce31731603}fkAppId', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{13857a23-a441-4e51-a5a7-23a7112bd9a7}fkRefGrantorProjectActivityId', }, value: { save!value, ri!appId, index( fv!item, 'recordType!{0729ba89-2dd3-4b6e-aa32-e2b061920531}GAI Ref Grantor Project Activity.fields.{e59713f7-3917-4a4c-a212-471dc09ef7a8}grantorProjectActivityId', null ), } ) ), a!save( local!grantorProjectActivityEval, if( a!isNullOrEmpty(local!currGrantorProjActEvalVarIndex), append( local!grantorProjectActivityEval, local!currGrantorProjActEval ), a!update( data: local!grantorProjectActivityEval, index: local!currGrantorProjActEvalVarIndex, value: local!currGrantorProjActEval ) ) ), a!save( local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{3fa1428e-6d55-4353-8dfc-8519a5c70b49}metricTotal'], rule!GAI_AddAllMetricsGrantorProjectActivityEval( octValue: 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{70016dec-711d-4100-badf-01254f3617c2}metricOct' , novValue: 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{c37c7147-d162-448e-9214-70a00fee57a9}metricNov' , decValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{eef12a74-e692-43a7-9522-6c129fb90be7}metricDec' ), janValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a82c696e-5625-442a-9dbc-ed8937346e16}metricJan' ), febValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01b010b3-6024-45ff-bb9c-af63051c1bfc}metricFeb' ), marValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{f3a4e32e-b5cb-47d5-9603-b6e5cb1e708e}metricMar' ), AprValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{357755b0-72e5-4ab5-b4db-7821d8664506}metricApr' ), mayValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{943c7f35-2ac9-48f8-8548-0c24fa845cfe}metricMay' ), junValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6668ca17-e42b-4d5d-a6a3-c95c5c2ac442}metricJun' ), julValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a470706c-0e21-4676-94cd-81e40813af3b}metricJul' ), augValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{5e22a065-ae2a-4ecb-af14-57912734d816}metricAug' ), sepValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6cd71521-c5c5-41ef-9e3a-459d1db8d471}metricSep' ) ) ) }, align: "CENTER" ), a!integerField( label: "JAN", value: local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a82c696e-5625-442a-9dbc-ed8937346e16}metricJan'], saveInto: { a!save( local!currGrantorProjActEval, a!update( data: local!currGrantorProjActEval, index: { 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a82c696e-5625-442a-9dbc-ed8937346e16}metricJan', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01bf909f-2833-4292-9714-84ce31731603}fkAppId', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{13857a23-a441-4e51-a5a7-23a7112bd9a7}fkRefGrantorProjectActivityId', }, value: { save!value, ri!appId, index( fv!item, 'recordType!{0729ba89-2dd3-4b6e-aa32-e2b061920531}GAI Ref Grantor Project Activity.fields.{e59713f7-3917-4a4c-a212-471dc09ef7a8}grantorProjectActivityId', null ), } ) ), a!save( local!grantorProjectActivityEval, if( a!isNullOrEmpty(local!currGrantorProjActEvalVarIndex), append( local!grantorProjectActivityEval, local!currGrantorProjActEval ), a!update( data: local!grantorProjectActivityEval, index: local!currGrantorProjActEvalVarIndex, value: local!currGrantorProjActEval ) ) ), a!save( local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{3fa1428e-6d55-4353-8dfc-8519a5c70b49}metricTotal'], local!metricTotal ) }, align: "CENTER" ), a!integerField( label: "FEB", value: local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01b010b3-6024-45ff-bb9c-af63051c1bfc}metricFeb'], saveInto: { a!save( local!currGrantorProjActEval, a!update( data: local!currGrantorProjActEval, index: { 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01b010b3-6024-45ff-bb9c-af63051c1bfc}metricFeb', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01bf909f-2833-4292-9714-84ce31731603}fkAppId', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{13857a23-a441-4e51-a5a7-23a7112bd9a7}fkRefGrantorProjectActivityId', }, value: { save!value, ri!appId, index( fv!item, 'recordType!{0729ba89-2dd3-4b6e-aa32-e2b061920531}GAI Ref Grantor Project Activity.fields.{e59713f7-3917-4a4c-a212-471dc09ef7a8}grantorProjectActivityId', null ), } ) ), a!save( local!grantorProjectActivityEval, if( a!isNullOrEmpty(local!currGrantorProjActEvalVarIndex), append( local!grantorProjectActivityEval, local!currGrantorProjActEval ), a!update( data: local!grantorProjectActivityEval, index: local!currGrantorProjActEvalVarIndex, value: local!currGrantorProjActEval ) ) ), a!save( local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{3fa1428e-6d55-4353-8dfc-8519a5c70b49}metricTotal'], rule!GAI_AddAllMetricsGrantorProjectActivityEval( octValue: 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{70016dec-711d-4100-badf-01254f3617c2}metricOct' , novValue: 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{c37c7147-d162-448e-9214-70a00fee57a9}metricNov' , decValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{eef12a74-e692-43a7-9522-6c129fb90be7}metricDec' ), janValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a82c696e-5625-442a-9dbc-ed8937346e16}metricJan' ), febValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01b010b3-6024-45ff-bb9c-af63051c1bfc}metricFeb' ), marValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{f3a4e32e-b5cb-47d5-9603-b6e5cb1e708e}metricMar' ), AprValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{357755b0-72e5-4ab5-b4db-7821d8664506}metricApr' ), mayValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{943c7f35-2ac9-48f8-8548-0c24fa845cfe}metricMay' ), junValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6668ca17-e42b-4d5d-a6a3-c95c5c2ac442}metricJun' ), julValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a470706c-0e21-4676-94cd-81e40813af3b}metricJul' ), augValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{5e22a065-ae2a-4ecb-af14-57912734d816}metricAug' ), sepValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6cd71521-c5c5-41ef-9e3a-459d1db8d471}metricSep' ) ) ) }, align: "CENTER" ), a!integerField( label: "MAR", value: local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{f3a4e32e-b5cb-47d5-9603-b6e5cb1e708e}metricMar'], saveInto: { a!save( local!currGrantorProjActEval, a!update( data: local!currGrantorProjActEval, index: { 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{f3a4e32e-b5cb-47d5-9603-b6e5cb1e708e}metricMar', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01bf909f-2833-4292-9714-84ce31731603}fkAppId', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{13857a23-a441-4e51-a5a7-23a7112bd9a7}fkRefGrantorProjectActivityId', }, value: { save!value, ri!appId, index( fv!item, 'recordType!{0729ba89-2dd3-4b6e-aa32-e2b061920531}GAI Ref Grantor Project Activity.fields.{e59713f7-3917-4a4c-a212-471dc09ef7a8}grantorProjectActivityId', null ), } ) ), a!save( local!grantorProjectActivityEval, if( a!isNullOrEmpty(local!currGrantorProjActEvalVarIndex), append( local!grantorProjectActivityEval, local!currGrantorProjActEval ), a!update( data: local!grantorProjectActivityEval, index: local!currGrantorProjActEvalVarIndex, value: local!currGrantorProjActEval ) ) ), a!save( local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{3fa1428e-6d55-4353-8dfc-8519a5c70b49}metricTotal'], rule!GAI_AddAllMetricsGrantorProjectActivityEval( octValue: 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{70016dec-711d-4100-badf-01254f3617c2}metricOct' , novValue: 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{c37c7147-d162-448e-9214-70a00fee57a9}metricNov' , decValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{eef12a74-e692-43a7-9522-6c129fb90be7}metricDec' ), janValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a82c696e-5625-442a-9dbc-ed8937346e16}metricJan' ), febValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01b010b3-6024-45ff-bb9c-af63051c1bfc}metricFeb' ), marValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{f3a4e32e-b5cb-47d5-9603-b6e5cb1e708e}metricMar' ), AprValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{357755b0-72e5-4ab5-b4db-7821d8664506}metricApr' ), mayValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{943c7f35-2ac9-48f8-8548-0c24fa845cfe}metricMay' ), junValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6668ca17-e42b-4d5d-a6a3-c95c5c2ac442}metricJun' ), julValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a470706c-0e21-4676-94cd-81e40813af3b}metricJul' ), augValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{5e22a065-ae2a-4ecb-af14-57912734d816}metricAug' ), sepValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6cd71521-c5c5-41ef-9e3a-459d1db8d471}metricSep' ) ) ) }, align: "CENTER" ), a!integerField( label: "APR", value: local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{357755b0-72e5-4ab5-b4db-7821d8664506}metricApr'], saveInto: { a!save( local!currGrantorProjActEval, a!update( data: local!currGrantorProjActEval, index: { 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{357755b0-72e5-4ab5-b4db-7821d8664506}metricApr', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01bf909f-2833-4292-9714-84ce31731603}fkAppId', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{13857a23-a441-4e51-a5a7-23a7112bd9a7}fkRefGrantorProjectActivityId', }, value: { save!value, ri!appId, index( fv!item, 'recordType!{0729ba89-2dd3-4b6e-aa32-e2b061920531}GAI Ref Grantor Project Activity.fields.{e59713f7-3917-4a4c-a212-471dc09ef7a8}grantorProjectActivityId', null ), } ) ), a!save( local!grantorProjectActivityEval, if( a!isNullOrEmpty(local!currGrantorProjActEvalVarIndex), append( local!grantorProjectActivityEval, local!currGrantorProjActEval ), a!update( data: local!grantorProjectActivityEval, index: local!currGrantorProjActEvalVarIndex, value: local!currGrantorProjActEval ) ) ), a!save( local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{3fa1428e-6d55-4353-8dfc-8519a5c70b49}metricTotal'], rule!GAI_AddAllMetricsGrantorProjectActivityEval( octValue: 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{70016dec-711d-4100-badf-01254f3617c2}metricOct' , novValue: 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{c37c7147-d162-448e-9214-70a00fee57a9}metricNov' , decValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{eef12a74-e692-43a7-9522-6c129fb90be7}metricDec' ), janValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a82c696e-5625-442a-9dbc-ed8937346e16}metricJan' ), febValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01b010b3-6024-45ff-bb9c-af63051c1bfc}metricFeb' ), marValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{f3a4e32e-b5cb-47d5-9603-b6e5cb1e708e}metricMar' ), AprValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{357755b0-72e5-4ab5-b4db-7821d8664506}metricApr' ), mayValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{943c7f35-2ac9-48f8-8548-0c24fa845cfe}metricMay' ), junValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6668ca17-e42b-4d5d-a6a3-c95c5c2ac442}metricJun' ), julValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a470706c-0e21-4676-94cd-81e40813af3b}metricJul' ), augValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{5e22a065-ae2a-4ecb-af14-57912734d816}metricAug' ), sepValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6cd71521-c5c5-41ef-9e3a-459d1db8d471}metricSep' ) ) ) }, align: "CENTER" ), a!integerField( label: "MAY", value: local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{943c7f35-2ac9-48f8-8548-0c24fa845cfe}metricMay'], saveInto: { a!save( local!currGrantorProjActEval, a!update( data: local!currGrantorProjActEval, index: { 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{943c7f35-2ac9-48f8-8548-0c24fa845cfe}metricMay', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01bf909f-2833-4292-9714-84ce31731603}fkAppId', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{13857a23-a441-4e51-a5a7-23a7112bd9a7}fkRefGrantorProjectActivityId', }, value: { save!value, ri!appId, index( fv!item, 'recordType!{0729ba89-2dd3-4b6e-aa32-e2b061920531}GAI Ref Grantor Project Activity.fields.{e59713f7-3917-4a4c-a212-471dc09ef7a8}grantorProjectActivityId', null ), } ) ), a!save( local!grantorProjectActivityEval, if( a!isNullOrEmpty(local!currGrantorProjActEvalVarIndex), append( local!grantorProjectActivityEval, local!currGrantorProjActEval ), a!update( data: local!grantorProjectActivityEval, index: local!currGrantorProjActEvalVarIndex, value: local!currGrantorProjActEval ) ) ), a!save( local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{3fa1428e-6d55-4353-8dfc-8519a5c70b49}metricTotal'], rule!GAI_AddAllMetricsGrantorProjectActivityEval( octValue: 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{70016dec-711d-4100-badf-01254f3617c2}metricOct' , novValue: 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{c37c7147-d162-448e-9214-70a00fee57a9}metricNov' , decValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{eef12a74-e692-43a7-9522-6c129fb90be7}metricDec' ), janValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a82c696e-5625-442a-9dbc-ed8937346e16}metricJan' ), febValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01b010b3-6024-45ff-bb9c-af63051c1bfc}metricFeb' ), marValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{f3a4e32e-b5cb-47d5-9603-b6e5cb1e708e}metricMar' ), AprValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{357755b0-72e5-4ab5-b4db-7821d8664506}metricApr' ), mayValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{943c7f35-2ac9-48f8-8548-0c24fa845cfe}metricMay' ), junValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6668ca17-e42b-4d5d-a6a3-c95c5c2ac442}metricJun' ), julValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a470706c-0e21-4676-94cd-81e40813af3b}metricJul' ), augValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{5e22a065-ae2a-4ecb-af14-57912734d816}metricAug' ), sepValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6cd71521-c5c5-41ef-9e3a-459d1db8d471}metricSep' ) ) ) }, align: "CENTER" ), a!integerField( label: "JUN", value: local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6668ca17-e42b-4d5d-a6a3-c95c5c2ac442}metricJun'], saveInto: { a!save( local!currGrantorProjActEval, a!update( data: local!currGrantorProjActEval, index: { 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6668ca17-e42b-4d5d-a6a3-c95c5c2ac442}metricJun', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01bf909f-2833-4292-9714-84ce31731603}fkAppId', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{13857a23-a441-4e51-a5a7-23a7112bd9a7}fkRefGrantorProjectActivityId', }, value: { save!value, ri!appId, index( fv!item, 'recordType!{0729ba89-2dd3-4b6e-aa32-e2b061920531}GAI Ref Grantor Project Activity.fields.{e59713f7-3917-4a4c-a212-471dc09ef7a8}grantorProjectActivityId', null ), } ) ), a!save( local!grantorProjectActivityEval, if( a!isNullOrEmpty(local!currGrantorProjActEvalVarIndex), append( local!grantorProjectActivityEval, local!currGrantorProjActEval ), a!update( data: local!grantorProjectActivityEval, index: local!currGrantorProjActEvalVarIndex, value: local!currGrantorProjActEval ) ) ), a!save( local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{3fa1428e-6d55-4353-8dfc-8519a5c70b49}metricTotal'], rule!GAI_AddAllMetricsGrantorProjectActivityEval( octValue: 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{70016dec-711d-4100-badf-01254f3617c2}metricOct' , novValue: 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{c37c7147-d162-448e-9214-70a00fee57a9}metricNov' , decValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{eef12a74-e692-43a7-9522-6c129fb90be7}metricDec' ), janValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a82c696e-5625-442a-9dbc-ed8937346e16}metricJan' ), febValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01b010b3-6024-45ff-bb9c-af63051c1bfc}metricFeb' ), marValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{f3a4e32e-b5cb-47d5-9603-b6e5cb1e708e}metricMar' ), AprValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{357755b0-72e5-4ab5-b4db-7821d8664506}metricApr' ), mayValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{943c7f35-2ac9-48f8-8548-0c24fa845cfe}metricMay' ), junValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6668ca17-e42b-4d5d-a6a3-c95c5c2ac442}metricJun' ), julValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a470706c-0e21-4676-94cd-81e40813af3b}metricJul' ), augValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{5e22a065-ae2a-4ecb-af14-57912734d816}metricAug' ), sepValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6cd71521-c5c5-41ef-9e3a-459d1db8d471}metricSep' ) ) ) }, align: "CENTER" ), a!integerField( label: "JUL", value: local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a470706c-0e21-4676-94cd-81e40813af3b}metricJul'], saveInto: { a!save( local!currGrantorProjActEval, a!update( data: local!currGrantorProjActEval, index: { 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a470706c-0e21-4676-94cd-81e40813af3b}metricJul', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01bf909f-2833-4292-9714-84ce31731603}fkAppId', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{13857a23-a441-4e51-a5a7-23a7112bd9a7}fkRefGrantorProjectActivityId', }, value: { save!value, ri!appId, index( fv!item, 'recordType!{0729ba89-2dd3-4b6e-aa32-e2b061920531}GAI Ref Grantor Project Activity.fields.{e59713f7-3917-4a4c-a212-471dc09ef7a8}grantorProjectActivityId', null ), } ) ), a!save( local!grantorProjectActivityEval, if( a!isNullOrEmpty(local!currGrantorProjActEvalVarIndex), append( local!grantorProjectActivityEval, local!currGrantorProjActEval ), a!update( data: local!grantorProjectActivityEval, index: local!currGrantorProjActEvalVarIndex, value: local!currGrantorProjActEval ) ) ), a!save( local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{3fa1428e-6d55-4353-8dfc-8519a5c70b49}metricTotal'], rule!GAI_AddAllMetricsGrantorProjectActivityEval( octValue: 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{70016dec-711d-4100-badf-01254f3617c2}metricOct' , novValue: 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{c37c7147-d162-448e-9214-70a00fee57a9}metricNov' , decValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{eef12a74-e692-43a7-9522-6c129fb90be7}metricDec' ), janValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a82c696e-5625-442a-9dbc-ed8937346e16}metricJan' ), febValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01b010b3-6024-45ff-bb9c-af63051c1bfc}metricFeb' ), marValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{f3a4e32e-b5cb-47d5-9603-b6e5cb1e708e}metricMar' ), AprValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{357755b0-72e5-4ab5-b4db-7821d8664506}metricApr' ), mayValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{943c7f35-2ac9-48f8-8548-0c24fa845cfe}metricMay' ), junValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6668ca17-e42b-4d5d-a6a3-c95c5c2ac442}metricJun' ), julValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a470706c-0e21-4676-94cd-81e40813af3b}metricJul' ), augValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{5e22a065-ae2a-4ecb-af14-57912734d816}metricAug' ), sepValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6cd71521-c5c5-41ef-9e3a-459d1db8d471}metricSep' ) ) ) }, align: "CENTER" ), a!integerField( label: "AUG", value: local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{5e22a065-ae2a-4ecb-af14-57912734d816}metricAug'], saveInto: { a!save( local!currGrantorProjActEval, a!update( data: local!currGrantorProjActEval, index: { 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{5e22a065-ae2a-4ecb-af14-57912734d816}metricAug', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01bf909f-2833-4292-9714-84ce31731603}fkAppId', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{13857a23-a441-4e51-a5a7-23a7112bd9a7}fkRefGrantorProjectActivityId', }, value: { save!value, ri!appId, index( fv!item, 'recordType!{0729ba89-2dd3-4b6e-aa32-e2b061920531}GAI Ref Grantor Project Activity.fields.{e59713f7-3917-4a4c-a212-471dc09ef7a8}grantorProjectActivityId', null ), } ) ), a!save( local!grantorProjectActivityEval, if( a!isNullOrEmpty(local!currGrantorProjActEvalVarIndex), append( local!grantorProjectActivityEval, local!currGrantorProjActEval ), a!update( data: local!grantorProjectActivityEval, index: local!currGrantorProjActEvalVarIndex, value: local!currGrantorProjActEval ) ) ), a!save( local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{3fa1428e-6d55-4353-8dfc-8519a5c70b49}metricTotal'], rule!GAI_AddAllMetricsGrantorProjectActivityEval( octValue: 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{70016dec-711d-4100-badf-01254f3617c2}metricOct' , novValue: 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{c37c7147-d162-448e-9214-70a00fee57a9}metricNov' , decValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{eef12a74-e692-43a7-9522-6c129fb90be7}metricDec' ), janValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a82c696e-5625-442a-9dbc-ed8937346e16}metricJan' ), febValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01b010b3-6024-45ff-bb9c-af63051c1bfc}metricFeb' ), marValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{f3a4e32e-b5cb-47d5-9603-b6e5cb1e708e}metricMar' ), AprValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{357755b0-72e5-4ab5-b4db-7821d8664506}metricApr' ), mayValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{943c7f35-2ac9-48f8-8548-0c24fa845cfe}metricMay' ), junValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6668ca17-e42b-4d5d-a6a3-c95c5c2ac442}metricJun' ), julValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{a470706c-0e21-4676-94cd-81e40813af3b}metricJul' ), augValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{5e22a065-ae2a-4ecb-af14-57912734d816}metricAug' ), sepValue: todecimal( 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6cd71521-c5c5-41ef-9e3a-459d1db8d471}metricSep' ) ) ) }, align: "CENTER" ), a!integerField( label: "SEP", value: local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6cd71521-c5c5-41ef-9e3a-459d1db8d471}metricSep'], saveInto: { a!save( local!currGrantorProjActEval, a!update( data: local!currGrantorProjActEval, index: { 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{6cd71521-c5c5-41ef-9e3a-459d1db8d471}metricSep', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01bf909f-2833-4292-9714-84ce31731603}fkAppId', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{13857a23-a441-4e51-a5a7-23a7112bd9a7}fkRefGrantorProjectActivityId', }, value: { save!value, ri!appId, index( fv!item, 'recordType!{0729ba89-2dd3-4b6e-aa32-e2b061920531}GAI Ref Grantor Project Activity.fields.{e59713f7-3917-4a4c-a212-471dc09ef7a8}grantorProjectActivityId', null ), } ) ), a!save( local!grantorProjectActivityEval, if( a!isNullOrEmpty(local!currGrantorProjActEvalVarIndex), append( local!grantorProjectActivityEval, local!currGrantorProjActEval ), a!update( data: local!grantorProjectActivityEval, index: local!currGrantorProjActEvalVarIndex, value: local!currGrantorProjActEval ) ) ), a!save( local!currGrantorProjActEval, local!metricTotal ) }, align: "CENTER" ), a!integerField( label: "TOTAL", value: local!currGrantorProjActEval['recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{3fa1428e-6d55-4353-8dfc-8519a5c70b49}metricTotal'], readOnly: true(), saveInto: { a!save( local!currGrantorProjActEval, a!update( data: local!currGrantorProjActEval, index: { 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{3fa1428e-6d55-4353-8dfc-8519a5c70b49}metricTotal', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{01bf909f-2833-4292-9714-84ce31731603}fkAppId', 'recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{13857a23-a441-4e51-a5a7-23a7112bd9a7}fkRefGrantorProjectActivityId', }, value: { save!value, ri!appId, index( fv!item, 'recordType!{0729ba89-2dd3-4b6e-aa32-e2b061920531}GAI Ref Grantor Project Activity.fields.{e59713f7-3917-4a4c-a212-471dc09ef7a8}grantorProjectActivityId', null ), } ) ), a!save( local!grantorProjectActivityEval, if( a!isNullOrEmpty(local!currGrantorProjActEvalVarIndex), append( local!grantorProjectActivityEval, local!currGrantorProjActEval ), a!update( data: local!grantorProjectActivityEval, index: local!currGrantorProjActEvalVarIndex, value: local!currGrantorProjActEval ) ) ) }, align: "CENTER" ), } ) ) ), rowHeader: 1 ) }, width: "2X" ) } ) } ), rule!GAI_Common_CompletionTrackingSection( completionTracking: ri!completionTracking, applicationId: ri!appId, sectionNm: cons!GAI_SCREEN_STD_YA_MILISTONE_CHART, functionalityNm: cons!GAI_FUNCTIONALITY_NM_APPLY_FOR_OPP ) }, buttons: a!buttonLayout( primaryButtons: { a!buttonWidget( label: "Save and Close", value: cons!GAI_USER_ACTION_SAVE_AND_CLOSE_DEPRECATED, saveInto: { ri!userAction, a!save( ri!grantorProjectActivityEval, local!grantorProjectActivityEval ) }, submit: true(), style: "PRIMARY", validate: if( toboolean( ri!completionTracking['recordType!{6122d913-f801-4c02-b140-6c23b1f20881}GAI Completion Tracking.fields.{b4c94891-a10f-4744-9305-ea6d4c57b75d}isCompleted'] ) = true(), true(), false() ), confirmMessage: "Are you sure you want to save and close?" ) }, secondaryButtons: { a!buttonWidget( label: "Cancel", icon: "times", value: cons!GAI_USER_ACTION_CANCEL_DEPRECATED, saveInto: ri!userAction, submit: true(), style: "DESTRUCTIVE", validate: false(), confirmMessage: "Are you sure you want to cancel?" ) } ), showWhen: true ))
Discussion posts and replies are publicly visible
When calling todecimal() you need to pass an actual value, but not the name of the field.
todecimal('recordType!{77bb2799-e688-4cbf-b949-5cc16ca63684}GAI Grantor Project Activity Eval.fields.{eef12a74-e692-43a7-9522-6c129fb90be7}metricDec'),
And BTW, nobody enjoys reading hundreds of lines of code! The error message tells you the problematic line.
I like the resize. Considering the length of this OP i would've gone maybe a factor of 2x (or 3x) higher