<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Readonly Grid</title><link>https://community.appian.com/discussions/f/user-interface/35441/readonly-grid</link><description>I have a read-only grid that displays data retrieved using the record data function. The data appears as expected. However, I need to calculate the Total Amount based on the &amp;quot;Amount&amp;quot; column in the grid, and this total should be displayed outside the grid</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Readonly Grid</title><link>https://community.appian.com/thread/138095?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2024 13:38:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:37acfb81-feae-4770-85dd-0ee257dbc4c5</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="89589" url="~/discussions/f/user-interface/35441/readonly-grid/138045"]querying the record type will fetch all the data into the interface[/quote]
&lt;p&gt;But if you&amp;#39;re only wanting the column sum for the first page, then you would only be querying the current page of data.&amp;nbsp; And if you want some calculation of a sum of the entire (5000+ row) data set, then the &amp;quot;current page&amp;quot; thing is irrelevant anyway and you should just be using a query with Aggregation parameters added in order to perform that calculation.&lt;/p&gt;
&lt;p&gt;In no case would there be a need to query all 5000 rows of data into any interface.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Readonly Grid</title><link>https://community.appian.com/thread/138066?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2024 04:34:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c6581e4-db21-496e-b979-e0faf94c26e1</guid><dc:creator>laxmipavanik0001</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Please find below code,

a!localVariables(
local!year,

local!selectedCategory,
local!requestBudgetLinelist: if(
a!isNullOrEmpty(local!selectedCategory),
{},
rule!EPR_QR_RequestBudgetLine_get(
fields: {
&amp;#39;recordType!{f66f4f62-183f-4e87-8731-b20bf5be78a3}EPR Request Budget Line.fields.{37a05598-b3b8-46ed-a761-0fcc5e3e4807}budgetCategoryId&amp;#39;,
&amp;#39;recordType!{f66f4f62-183f-4e87-8731-b20bf5be78a3}EPR Request Budget Line.fields.{28838483-16bf-46de-a666-6aa54709fb29}requestBudgetLineId&amp;#39;,
&amp;#39;recordType!{f66f4f62-183f-4e87-8731-b20bf5be78a3}EPR Request Budget Line.fields.{f0a15775-3c4d-4f30-ab8e-382dc0da7af4}name&amp;#39;
},
budgetCategoryId: local!selectedCategory
)
),
local!selectedSubCategory,
local!selectedCountry,
local!branchList: rule!EPR_QR_Branch_get(
fields: {
&amp;#39;recordType!{9097fb9b-efab-4780-b83a-4109e13adddb}EPR Branch.fields.{dd815073-9331-407e-a59d-837e1ebaeaf5}branchId&amp;#39;,
&amp;#39;recordType!{9097fb9b-efab-4780-b83a-4109e13adddb}EPR Branch.fields.{25ae227f-6ad7-4365-824a-9eb5b17c23c2}branchName&amp;#39;
},
countryIdList: a!defaultValue(local!selectedCountry, - 1)
),
local!selectedBranch,
local!arcode,
local!selectedCurrency,
local!selectedFrom,
local!selectedTo,



local!requestData: a!recordData(

recordType: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request&amp;#39;,
filters: a!queryLogicalExpression(

operator: &amp;quot;AND&amp;quot;,
filters: {
a!queryFilter(
field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{8de859a5-8eb3-4c2c-a310-bef11ba5c795}isActive&amp;#39;,
operator: &amp;quot;=&amp;quot;,
value: true()
),
a!queryFilter(
field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{f54f4838-25c6-4095-86d3-c19504dc8c57}createdDate&amp;#39;,
operator: &amp;quot;between&amp;quot;,
value: {
datetime(
year(local!selectedFrom),
month(local!selectedFrom),
day(local!selectedFrom - 1),
- 5,
- 30,
0
),
datetime(
year(local!selectedTo),
month(local!selectedTo),
day(local!selectedTo),
- 5,
- 31,
0
)
},
applyWhen: and(
a!isNotNullOrEmpty(local!selectedFrom),
a!isNotNullOrEmpty(local!selectedTo)
)
),
/*a!queryFilter(*/
/*field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{f54f4838-25c6-4095-86d3-c19504dc8c57}createdDate&amp;#39;,*/
/*operator: &amp;quot;in&amp;quot;,*/
/*value:local!data[&amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{f54f4838-25c6-4095-86d3-c19504dc8c57}createdDate&amp;#39;],*/
/*applyWhen: a!isNotNullOrEmpty(local!year)*/
/*),*/
a!queryFilter(
field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.relationships.{e9a52fd3-6feb-44a0-a536-1042805c8e6b}requestBudgetLine.fields.{37a05598-b3b8-46ed-a761-0fcc5e3e4807}budgetCategoryId&amp;#39;,
operator: &amp;quot;=&amp;quot;,
value: local!selectedCategory
),
a!queryFilter(
field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.relationships.{e9a52fd3-6feb-44a0-a536-1042805c8e6b}requestBudgetLine.fields.{28838483-16bf-46de-a666-6aa54709fb29}requestBudgetLineId&amp;#39;,
operator: &amp;quot;=&amp;quot;,
value: local!selectedSubCategory
),
a!queryFilter(
field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.relationships.{582d839c-dc17-4d04-a5ec-5786e2bd4538}country.fields.{d9a40a5f-a42d-4539-8e0f-903514acd825}countryId&amp;#39;,
operator: &amp;quot;=&amp;quot;,
value: local!selectedCountry
),
a!queryFilter(
field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.relationships.{66ddee70-135a-4dd4-b7c7-bfb941ae75ab}branch.fields.{dd815073-9331-407e-a59d-837e1ebaeaf5}branchId&amp;#39;,
operator: &amp;quot;=&amp;quot;,
value: local!selectedBranch
),
a!queryFilter(
field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{de2b9ddd-2f59-4cf1-86a9-e7feff435481}requestId&amp;#39;,
operator: &amp;quot;=&amp;quot;,
value: local!arcode[1],
applyWhen: a!isNotNullOrEmpty(local!arcode)
),

},
ignoreFiltersWithEmptyValues: true()
),

),

{
a!cardLayout(
contents: {
a!columnsLayout(
columns: {
a!columnLayout(
contents: {
a!textField(
label: &amp;quot;Year&amp;quot;,
value: local!year,
saveInto: { local!year },
validations: {
if(len(local!year)&amp;gt;4,&amp;quot;It should allow only 4 digits&amp;quot;,{})
}
),

}
),
a!columnLayout(
contents: {
a!dateField(
label: &amp;quot;Date From&amp;quot;,
labelPosition: &amp;quot;ABOVE&amp;quot;,
value: local!selectedFrom,
saveInto: { local!selectedFrom },
validations: {}
)
}
),
a!columnLayout(
contents: {
a!dateField(
label: &amp;quot;Date To&amp;quot;,
labelPosition: &amp;quot;ABOVE&amp;quot;,
value: local!selectedTo,
saveInto: { local!selectedTo },
validations: {
if(
or(
a!isNullOrEmpty(local!selectedFrom),
a!isNullOrEmpty(local!selectedTo)
),
{},
if(
local!selectedFrom &amp;lt;= local!selectedTo,
{},
&amp;quot;Please Enter Valid date&amp;quot;
)
)
}
)
}
)
}
),
a!columnsLayout(
columns: {
a!columnLayout(
contents: {
a!pickerFieldRecords(
label: &amp;quot;AR Code&amp;quot;,
recordType: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request&amp;#39;,
value: local!arcode,
saveInto: { local!arcode }
)
}
),
a!columnLayout(
contents: {
a!dropdownField(
choiceLabels: &amp;#39;recordType!{3b7959c6-f9e0-4ce0-a2ea-de3598487622}EPR Country.fields.{d9b15464-7fb0-435b-845f-4134d856ea68}countryName&amp;#39;,
choiceValues: &amp;#39;recordType!{3b7959c6-f9e0-4ce0-a2ea-de3598487622}EPR Country.fields.{d9a40a5f-a42d-4539-8e0f-903514acd825}countryId&amp;#39;,
label: &amp;quot;Country&amp;quot;,
labelPosition: &amp;quot;ABOVE&amp;quot;,
placeholder: &amp;quot;--- Select a Value ---&amp;quot;,
value: local!selectedCountry,
saveInto: {
local!selectedCountry,
a!save(local!selectedBranch, null())
},
searchDisplay: &amp;quot;AUTO&amp;quot;,
validations: {},
data: &amp;#39;recordType!{3b7959c6-f9e0-4ce0-a2ea-de3598487622}EPR Country&amp;#39;
)
}
),
a!columnLayout(
contents: {
a!dropdownField(
choiceLabels: &amp;#39;recordType!{e4963960-42b8-4145-8739-4cd348862bc0}EPR Budget Category.fields.{b4305307-abe1-43cd-a9a3-3df0ca27f440}category&amp;#39;,
choiceValues: &amp;#39;recordType!{e4963960-42b8-4145-8739-4cd348862bc0}EPR Budget Category.fields.{293e54f5-0758-46bd-bdde-564a97480a91}id&amp;#39;,
label: &amp;quot;Category&amp;quot;,
labelPosition: &amp;quot;ABOVE&amp;quot;,
placeholder: &amp;quot;--- Select a Category ---&amp;quot;,
value: local!selectedCategory,
saveInto: {
local!selectedCategory,
a!save(local!selectedSubCategory, null())
},
searchDisplay: &amp;quot;AUTO&amp;quot;,
validations: {},
data: &amp;#39;recordType!{e4963960-42b8-4145-8739-4cd348862bc0}EPR Budget Category&amp;#39;
)
}
)
}
),
a!columnsLayout(
columns: {
a!columnLayout(
contents: {
a!dropdownField(
choiceLabels: { &amp;quot;LOCAL&amp;quot;, &amp;quot;USD&amp;quot; },
choiceValues: { &amp;quot;LOCAL&amp;quot;, &amp;quot;USD&amp;quot; },
label: &amp;quot;Currency&amp;quot;,
placeholder: &amp;quot;---Select local currency---&amp;quot;,
value: local!selectedCurrency,
saveInto: { local!selectedCurrency }
)
}
),
a!columnLayout(
contents: {
a!dropdownField(
choiceLabels: local!branchList[&amp;#39;recordType!{9097fb9b-efab-4780-b83a-4109e13adddb}EPR Branch.fields.{25ae227f-6ad7-4365-824a-9eb5b17c23c2}branchName&amp;#39;],
choiceValues: local!branchList[&amp;#39;recordType!{9097fb9b-efab-4780-b83a-4109e13adddb}EPR Branch.fields.{dd815073-9331-407e-a59d-837e1ebaeaf5}branchId&amp;#39;],
label: &amp;quot;Branch&amp;quot;,
labelPosition: &amp;quot;ABOVE&amp;quot;,
placeholder: &amp;quot;--- Select a Value ---&amp;quot;,
value: local!selectedBranch,
saveInto: { local!selectedBranch },
searchDisplay: &amp;quot;AUTO&amp;quot;,
showWhen: a!isNotNullOrEmpty(local!selectedCountry),
validations: {},

)
}
),
a!columnLayout(
contents: {
a!dropdownField(
choiceLabels: local!requestBudgetLinelist[&amp;#39;recordType!{f66f4f62-183f-4e87-8731-b20bf5be78a3}EPR Request Budget Line.fields.{f0a15775-3c4d-4f30-ab8e-382dc0da7af4}name&amp;#39;],
choiceValues: local!requestBudgetLinelist[&amp;#39;recordType!{f66f4f62-183f-4e87-8731-b20bf5be78a3}EPR Request Budget Line.fields.{28838483-16bf-46de-a666-6aa54709fb29}requestBudgetLineId&amp;#39;],
label: &amp;quot;Sub Category&amp;quot;,
labelPosition: &amp;quot;ABOVE&amp;quot;,
placeholder: &amp;quot;--- Select a Sub Category ---&amp;quot;,
value: local!selectedSubCategory,
saveInto: { local!selectedSubCategory },
searchDisplay: &amp;quot;AUTO&amp;quot;,
showWhen: if(
a!isNullOrEmpty(local!selectedCategory),
false(),
true()
),
validations: {}
)
}
)
}
)
},
height: &amp;quot;AUTO&amp;quot;,
style: &amp;quot;TRANSPARENT&amp;quot;,
marginBelow: &amp;quot;STANDARD&amp;quot;,
showBorder: false
),
a!cardLayout(
contents: {
a!gridField(
data: local!requestData,

columns: {
a!gridColumn(
label: &amp;quot;Year&amp;quot;,
value: year(
fv!row[&amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{f54f4838-25c6-4095-86d3-c19504dc8c57}createdDate&amp;#39;]
)
),
a!gridColumn(
label: &amp;quot;AR Code&amp;quot;,
value: fv!row[&amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{d5a2fc06-d4aa-4dbc-b367-a94033d73740}requestNum&amp;#39;]
),
a!gridColumn(
label: &amp;quot;Country&amp;quot;,
value:fv!row[&amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.relationships.{582d839c-dc17-4d04-a5ec-5786e2bd4538}country.fields.{d9b15464-7fb0-435b-845f-4134d856ea68}countryName&amp;#39;]
),
a!gridColumn(
label: &amp;quot;Branch&amp;quot;,
value: fv!row[&amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.relationships.{66ddee70-135a-4dd4-b7c7-bfb941ae75ab}branch.fields.{25ae227f-6ad7-4365-824a-9eb5b17c23c2}branchName&amp;#39;]
),
a!gridColumn(
label: &amp;quot;Category&amp;quot;,
value: fv!row[&amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.relationships.{e9a52fd3-6feb-44a0-a536-1042805c8e6b}requestBudgetLine.relationships.{f197b60f-be19-48ca-83fc-7685c2183760}budgetCategory.fields.{b4305307-abe1-43cd-a9a3-3df0ca27f440}category&amp;#39;]

),
a!gridColumn(
label: &amp;quot;Sub Category&amp;quot;,
value: fv!row[&amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.relationships.{e9a52fd3-6feb-44a0-a536-1042805c8e6b}requestBudgetLine.fields.{f0a15775-3c4d-4f30-ab8e-382dc0da7af4}name&amp;#39;]


),
a!gridColumn(
label: &amp;quot;Subject&amp;quot;,
value: fv!row[&amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{17648ffb-78ef-45bb-8e34-b8a998a67042}subject&amp;#39;]
),
a!gridColumn(
label: &amp;quot;Amount&amp;quot;,
value: if(
a!isNullOrEmpty(fv!row[&amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{042ab0e7-d6bd-4989-9b3d-83cfddd7f912}requestAmount&amp;#39;]),
&amp;quot;&amp;quot;,
if(
a!isNullOrEmpty(local!selectedCurrency),
{
fv!row[&amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{042ab0e7-d6bd-4989-9b3d-83cfddd7f912}requestAmount&amp;#39;],
fv!row[&amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{158b8d02-bea6-42fa-af6c-3a8805755ba0}requestAmountUsd&amp;#39;]
},
if(
local!selectedCurrency = &amp;quot;LOCAL&amp;quot;,
concat(
rule!EPR_CMPT_ConcatCurrencyFromCountryId(countryId: local!selectedCountry),
&amp;quot; &amp;quot;,
fv!row[&amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{042ab0e7-d6bd-4989-9b3d-83cfddd7f912}requestAmount&amp;#39;]
),
concat(
rule!EPR_CMPT_ConcatCurrencyFromCountryId(countryId: local!selectedCountry),
&amp;quot; &amp;quot;,
fv!row[&amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{158b8d02-bea6-42fa-af6c-3a8805755ba0}requestAmountUsd&amp;#39;]
)
)
)
)
)
},

)
},
showBorder: false
),
a!columnsLayout(
columns: {
a!columnLayout(contents: {}),
a!columnLayout(contents: {}),
a!columnLayout(
contents: {
a!cardLayout(
contents: {
a!kpiField(
data: local!requestData,
primaryMeasure: a!measure(
function: &amp;quot;SUM&amp;quot;,
field: if(local!selectedCurrency = &amp;quot;LOCAL&amp;quot;,
&amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{042ab0e7-d6bd-4989-9b3d-83cfddd7f912}requestAmount&amp;#39;,
if(local!selectedCurrency = &amp;quot;USD&amp;quot;,
&amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{158b8d02-bea6-42fa-af6c-3a8805755ba0}requestAmountUsd&amp;#39;,
{})
),
filters: {
a!queryFilter(
field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{8de859a5-8eb3-4c2c-a310-bef11ba5c795}isActive&amp;#39;,
operator: &amp;quot;=&amp;quot;,
value: true()
)
}
)
)



},
height: &amp;quot;AUTO&amp;quot;,
style: &amp;quot;TRANSPARENT&amp;quot;,
marginBelow: &amp;quot;STANDARD&amp;quot;,
showBorder: false
)
}
)
}
),
a!buttonLayout(
primaryButtons: a!buttonWidget(
label: &amp;quot;Exit&amp;quot;,
submit: true(),
style: &amp;quot;SOLID&amp;quot;
)
)
}
)



&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1721018056685v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Readonly Grid</title><link>https://community.appian.com/thread/138048?ContentTypeID=1</link><pubDate>Sat, 13 Jul 2024 15:54:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f222f1e1-d198-4b22-9320-b7421afc42fc</guid><dc:creator>rishabh982812</dc:creator><description>&lt;p&gt;In your case, the custom grid seems to be the only option to use the same data&amp;nbsp;reference at multiple places.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Readonly Grid</title><link>https://community.appian.com/thread/138045?ContentTypeID=1</link><pubDate>Sat, 13 Jul 2024 09:08:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fc323b4f-ff0f-4b82-bbda-e8f9f5d52a99</guid><dc:creator>laxmipavanik0001</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/mikes0011"&gt;Mike Schmitt&lt;/a&gt;&amp;nbsp;,&lt;br /&gt;If we have a large amount of data in record type (over 5000 rows), querying the record type will fetch all the data into the interface, which will impact performance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Readonly Grid</title><link>https://community.appian.com/thread/138017?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 13:36:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f8d81ee2-aa27-4668-b2fa-086f3f09f6ea</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="89589" url="~/discussions/f/user-interface/35441/readonly-grid"]Although I can use the query record type function to obtain the data and calculate the total amount, this approach is not considered best practice.[/quote]
&lt;p&gt;According to whom?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Readonly Grid</title><link>https://community.appian.com/thread/138016?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 13:33:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:82bc8e6f-d883-4051-b5d5-fb101d7680b8</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1720791185167v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Readonly Grid</title><link>https://community.appian.com/thread/138014?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 12:35:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1fb62720-f9c4-4d2d-96ac-b4dacca9bd98</guid><dc:creator>laxmipavanik0001</dc:creator><description>&lt;p&gt;Please find below code,&lt;/p&gt;
&lt;p&gt;a!localVariables(&lt;br /&gt; local!year,&lt;br /&gt; &lt;br /&gt; local!selectedCategory,&lt;br /&gt; local!requestBudgetLinelist: if(&lt;br /&gt; a!isNullOrEmpty(local!selectedCategory),&lt;br /&gt; {},&lt;br /&gt; rule!EPR_QR_RequestBudgetLine_get(&lt;br /&gt; fields: {&lt;br /&gt; &amp;#39;recordType!{f66f4f62-183f-4e87-8731-b20bf5be78a3}EPR Request Budget Line.fields.{37a05598-b3b8-46ed-a761-0fcc5e3e4807}budgetCategoryId&amp;#39;,&lt;br /&gt; &amp;#39;recordType!{f66f4f62-183f-4e87-8731-b20bf5be78a3}EPR Request Budget Line.fields.{28838483-16bf-46de-a666-6aa54709fb29}requestBudgetLineId&amp;#39;,&lt;br /&gt; &amp;#39;recordType!{f66f4f62-183f-4e87-8731-b20bf5be78a3}EPR Request Budget Line.fields.{f0a15775-3c4d-4f30-ab8e-382dc0da7af4}name&amp;#39;&lt;br /&gt; },&lt;br /&gt; budgetCategoryId: local!selectedCategory&lt;br /&gt; )&lt;br /&gt; ),&lt;br /&gt; local!selectedSubCategory,&lt;br /&gt; local!selectedCountry,&lt;br /&gt; local!branchList: rule!EPR_QR_Branch_get(&lt;br /&gt; fields: {&lt;br /&gt; &amp;#39;recordType!{9097fb9b-efab-4780-b83a-4109e13adddb}EPR Branch.fields.{dd815073-9331-407e-a59d-837e1ebaeaf5}branchId&amp;#39;,&lt;br /&gt; &amp;#39;recordType!{9097fb9b-efab-4780-b83a-4109e13adddb}EPR Branch.fields.{25ae227f-6ad7-4365-824a-9eb5b17c23c2}branchName&amp;#39;&lt;br /&gt; },&lt;br /&gt; countryIdList: a!defaultValue(local!selectedCountry, - 1)&lt;br /&gt; ),&lt;br /&gt; local!selectedBranch,&lt;br /&gt; local!arcode,&lt;br /&gt; local!selectedCurrency,&lt;br /&gt; local!selectedFrom,&lt;br /&gt; local!selectedTo,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; &lt;br /&gt; local!requestData: a!recordData(&lt;br /&gt; &lt;br /&gt; recordType: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request&amp;#39;,&lt;br /&gt; filters: a!queryLogicalExpression(&lt;br /&gt; &lt;br /&gt; operator: &amp;quot;AND&amp;quot;,&lt;br /&gt; filters: {&lt;br /&gt; a!queryFilter(&lt;br /&gt; field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{8de859a5-8eb3-4c2c-a310-bef11ba5c795}isActive&amp;#39;,&lt;br /&gt; operator: &amp;quot;=&amp;quot;,&lt;br /&gt; value: true()&lt;br /&gt; ),&lt;br /&gt; a!queryFilter(&lt;br /&gt; field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{f54f4838-25c6-4095-86d3-c19504dc8c57}createdDate&amp;#39;,&lt;br /&gt; operator: &amp;quot;between&amp;quot;,&lt;br /&gt; value: {&lt;br /&gt; datetime(&lt;br /&gt; year(local!selectedFrom),&lt;br /&gt; month(local!selectedFrom),&lt;br /&gt; day(local!selectedFrom - 1),&lt;br /&gt; - 5,&lt;br /&gt; - 30,&lt;br /&gt; 0&lt;br /&gt; ),&lt;br /&gt; datetime(&lt;br /&gt; year(local!selectedTo),&lt;br /&gt; month(local!selectedTo),&lt;br /&gt; day(local!selectedTo),&lt;br /&gt; - 5,&lt;br /&gt; - 31,&lt;br /&gt; 0&lt;br /&gt; )&lt;br /&gt; },&lt;br /&gt; applyWhen: and(&lt;br /&gt; a!isNotNullOrEmpty(local!selectedFrom),&lt;br /&gt; a!isNotNullOrEmpty(local!selectedTo)&lt;br /&gt; )&lt;br /&gt; ),&lt;br /&gt; /*a!queryFilter(*/&lt;br /&gt; /*field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{f54f4838-25c6-4095-86d3-c19504dc8c57}createdDate&amp;#39;,*/&lt;br /&gt; /*operator: &amp;quot;in&amp;quot;,*/&lt;br /&gt; /*value:local!data['recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{f54f4838-25c6-4095-86d3-c19504dc8c57}createdDate'],*/&lt;br /&gt; /*applyWhen: a!isNotNullOrEmpty(local!year)*/&lt;br /&gt; /*),*/&lt;br /&gt; a!queryFilter(&lt;br /&gt; field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.relationships.{e9a52fd3-6feb-44a0-a536-1042805c8e6b}requestBudgetLine.fields.{37a05598-b3b8-46ed-a761-0fcc5e3e4807}budgetCategoryId&amp;#39;,&lt;br /&gt; operator: &amp;quot;=&amp;quot;,&lt;br /&gt; value: local!selectedCategory&lt;br /&gt; ),&lt;br /&gt; a!queryFilter(&lt;br /&gt; field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.relationships.{e9a52fd3-6feb-44a0-a536-1042805c8e6b}requestBudgetLine.fields.{28838483-16bf-46de-a666-6aa54709fb29}requestBudgetLineId&amp;#39;,&lt;br /&gt; operator: &amp;quot;=&amp;quot;,&lt;br /&gt; value: local!selectedSubCategory&lt;br /&gt; ),&lt;br /&gt; a!queryFilter(&lt;br /&gt; field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.relationships.{582d839c-dc17-4d04-a5ec-5786e2bd4538}country.fields.{d9a40a5f-a42d-4539-8e0f-903514acd825}countryId&amp;#39;,&lt;br /&gt; operator: &amp;quot;=&amp;quot;,&lt;br /&gt; value: local!selectedCountry&lt;br /&gt; ),&lt;br /&gt; a!queryFilter(&lt;br /&gt; field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.relationships.{66ddee70-135a-4dd4-b7c7-bfb941ae75ab}branch.fields.{dd815073-9331-407e-a59d-837e1ebaeaf5}branchId&amp;#39;,&lt;br /&gt; operator: &amp;quot;=&amp;quot;,&lt;br /&gt; value: local!selectedBranch&lt;br /&gt; ),&lt;br /&gt; a!queryFilter(&lt;br /&gt; field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{de2b9ddd-2f59-4cf1-86a9-e7feff435481}requestId&amp;#39;,&lt;br /&gt; operator: &amp;quot;=&amp;quot;,&lt;br /&gt; value: local!arcode[1],&lt;br /&gt; applyWhen: a!isNotNullOrEmpty(local!arcode)&lt;br /&gt; ),&lt;br /&gt; &lt;br /&gt; },&lt;br /&gt; ignoreFiltersWithEmptyValues: true()&lt;br /&gt; ),&lt;br /&gt; &lt;br /&gt; ),&lt;/p&gt;
&lt;p&gt;{&lt;br /&gt; a!cardLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!columnsLayout(&lt;br /&gt; columns: {&lt;br /&gt; a!columnLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!textField(&lt;br /&gt; label: &amp;quot;Year&amp;quot;,&lt;br /&gt; value: local!year,&lt;br /&gt; saveInto: { local!year },&lt;br /&gt; validations: {&lt;br /&gt; if(len(local!year)&amp;gt;4,&amp;quot;It should allow only 4 digits&amp;quot;,{})&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; &lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; a!columnLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!dateField(&lt;br /&gt; label: &amp;quot;Date From&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; value: local!selectedFrom,&lt;br /&gt; saveInto: { local!selectedFrom },&lt;br /&gt; validations: {}&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; a!columnLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!dateField(&lt;br /&gt; label: &amp;quot;Date To&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; value: local!selectedTo,&lt;br /&gt; saveInto: { local!selectedTo },&lt;br /&gt; validations: {&lt;br /&gt; if(&lt;br /&gt; or(&lt;br /&gt; a!isNullOrEmpty(local!selectedFrom),&lt;br /&gt; a!isNullOrEmpty(local!selectedTo)&lt;br /&gt; ),&lt;br /&gt; {},&lt;br /&gt; if(&lt;br /&gt; local!selectedFrom &amp;lt;= local!selectedTo,&lt;br /&gt; {},&lt;br /&gt; &amp;quot;Please Enter Valid date&amp;quot;&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; a!columnsLayout(&lt;br /&gt; columns: {&lt;br /&gt; a!columnLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!pickerFieldRecords(&lt;br /&gt; label: &amp;quot;AR Code&amp;quot;,&lt;br /&gt; recordType: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request&amp;#39;,&lt;br /&gt; value: local!arcode,&lt;br /&gt; saveInto: { local!arcode }&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; a!columnLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!dropdownField(&lt;br /&gt; choiceLabels: &amp;#39;recordType!{3b7959c6-f9e0-4ce0-a2ea-de3598487622}EPR Country.fields.{d9b15464-7fb0-435b-845f-4134d856ea68}countryName&amp;#39;,&lt;br /&gt; choiceValues: &amp;#39;recordType!{3b7959c6-f9e0-4ce0-a2ea-de3598487622}EPR Country.fields.{d9a40a5f-a42d-4539-8e0f-903514acd825}countryId&amp;#39;,&lt;br /&gt; label: &amp;quot;Country&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; placeholder: &amp;quot;--- Select a Value ---&amp;quot;,&lt;br /&gt; value: local!selectedCountry,&lt;br /&gt; saveInto: {&lt;br /&gt; local!selectedCountry,&lt;br /&gt; a!save(local!selectedBranch, null())&lt;br /&gt; },&lt;br /&gt; searchDisplay: &amp;quot;AUTO&amp;quot;,&lt;br /&gt; validations: {},&lt;br /&gt; data: &amp;#39;recordType!{3b7959c6-f9e0-4ce0-a2ea-de3598487622}EPR Country&amp;#39;&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; a!columnLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!dropdownField(&lt;br /&gt; choiceLabels: &amp;#39;recordType!{e4963960-42b8-4145-8739-4cd348862bc0}EPR Budget Category.fields.{b4305307-abe1-43cd-a9a3-3df0ca27f440}category&amp;#39;,&lt;br /&gt; choiceValues: &amp;#39;recordType!{e4963960-42b8-4145-8739-4cd348862bc0}EPR Budget Category.fields.{293e54f5-0758-46bd-bdde-564a97480a91}id&amp;#39;,&lt;br /&gt; label: &amp;quot;Category&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; placeholder: &amp;quot;--- Select a Category ---&amp;quot;,&lt;br /&gt; value: local!selectedCategory,&lt;br /&gt; saveInto: {&lt;br /&gt; local!selectedCategory,&lt;br /&gt; a!save(local!selectedSubCategory, null())&lt;br /&gt; },&lt;br /&gt; searchDisplay: &amp;quot;AUTO&amp;quot;,&lt;br /&gt; validations: {},&lt;br /&gt; data: &amp;#39;recordType!{e4963960-42b8-4145-8739-4cd348862bc0}EPR Budget Category&amp;#39;&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; a!columnsLayout(&lt;br /&gt; columns: {&lt;br /&gt; a!columnLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!dropdownField(&lt;br /&gt; choiceLabels: { &amp;quot;LOCAL&amp;quot;, &amp;quot;USD&amp;quot; },&lt;br /&gt; choiceValues: { &amp;quot;LOCAL&amp;quot;, &amp;quot;USD&amp;quot; },&lt;br /&gt; label: &amp;quot;Currency&amp;quot;,&lt;br /&gt; placeholder: &amp;quot;---Select local currency---&amp;quot;,&lt;br /&gt; value: local!selectedCurrency,&lt;br /&gt; saveInto: { local!selectedCurrency }&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; a!columnLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!dropdownField(&lt;br /&gt; choiceLabels: local!branchList['recordType!{9097fb9b-efab-4780-b83a-4109e13adddb}EPR Branch.fields.{25ae227f-6ad7-4365-824a-9eb5b17c23c2}branchName'],&lt;br /&gt; choiceValues: local!branchList['recordType!{9097fb9b-efab-4780-b83a-4109e13adddb}EPR Branch.fields.{dd815073-9331-407e-a59d-837e1ebaeaf5}branchId'],&lt;br /&gt; label: &amp;quot;Branch&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; placeholder: &amp;quot;--- Select a Value ---&amp;quot;,&lt;br /&gt; value: local!selectedBranch,&lt;br /&gt; saveInto: { local!selectedBranch },&lt;br /&gt; searchDisplay: &amp;quot;AUTO&amp;quot;,&lt;br /&gt; showWhen: a!isNotNullOrEmpty(local!selectedCountry),&lt;br /&gt; validations: {},&lt;br /&gt; &lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; a!columnLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!dropdownField(&lt;br /&gt; choiceLabels: local!requestBudgetLinelist['recordType!{f66f4f62-183f-4e87-8731-b20bf5be78a3}EPR Request Budget Line.fields.{f0a15775-3c4d-4f30-ab8e-382dc0da7af4}name'],&lt;br /&gt; choiceValues: local!requestBudgetLinelist['recordType!{f66f4f62-183f-4e87-8731-b20bf5be78a3}EPR Request Budget Line.fields.{28838483-16bf-46de-a666-6aa54709fb29}requestBudgetLineId'],&lt;br /&gt; label: &amp;quot;Sub Category&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; placeholder: &amp;quot;--- Select a Sub Category ---&amp;quot;,&lt;br /&gt; value: local!selectedSubCategory,&lt;br /&gt; saveInto: { local!selectedSubCategory },&lt;br /&gt; searchDisplay: &amp;quot;AUTO&amp;quot;,&lt;br /&gt; showWhen: if(&lt;br /&gt; a!isNullOrEmpty(local!selectedCategory),&lt;br /&gt; false(),&lt;br /&gt; true()&lt;br /&gt; ),&lt;br /&gt; validations: {}&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; )&lt;br /&gt; },&lt;br /&gt; height: &amp;quot;AUTO&amp;quot;,&lt;br /&gt; style: &amp;quot;TRANSPARENT&amp;quot;,&lt;br /&gt; marginBelow: &amp;quot;STANDARD&amp;quot;,&lt;br /&gt; showBorder: false&lt;br /&gt; ),&lt;br /&gt; a!cardLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!gridField(&lt;br /&gt; data: local!requestData,&lt;br /&gt; &lt;br /&gt; columns: {&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Year&amp;quot;,&lt;br /&gt; value: year(&lt;br /&gt; fv!row['recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{f54f4838-25c6-4095-86d3-c19504dc8c57}createdDate']&lt;br /&gt; )&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;AR Code&amp;quot;,&lt;br /&gt; value: fv!row['recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{d5a2fc06-d4aa-4dbc-b367-a94033d73740}requestNum']&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Country&amp;quot;,&lt;br /&gt; value:fv!row['recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.relationships.{582d839c-dc17-4d04-a5ec-5786e2bd4538}country.fields.{d9b15464-7fb0-435b-845f-4134d856ea68}countryName']&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Branch&amp;quot;,&lt;br /&gt; value: fv!row['recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.relationships.{66ddee70-135a-4dd4-b7c7-bfb941ae75ab}branch.fields.{25ae227f-6ad7-4365-824a-9eb5b17c23c2}branchName']&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Category&amp;quot;,&lt;br /&gt; value: fv!row['recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.relationships.{e9a52fd3-6feb-44a0-a536-1042805c8e6b}requestBudgetLine.relationships.{f197b60f-be19-48ca-83fc-7685c2183760}budgetCategory.fields.{b4305307-abe1-43cd-a9a3-3df0ca27f440}category']&lt;br /&gt; &lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Sub Category&amp;quot;,&lt;br /&gt; value: fv!row['recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.relationships.{e9a52fd3-6feb-44a0-a536-1042805c8e6b}requestBudgetLine.fields.{f0a15775-3c4d-4f30-ab8e-382dc0da7af4}name']&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Subject&amp;quot;,&lt;br /&gt; value: fv!row['recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{17648ffb-78ef-45bb-8e34-b8a998a67042}subject']&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Amount&amp;quot;,&lt;br /&gt; value: if(&lt;br /&gt; a!isNullOrEmpty(fv!row['recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{042ab0e7-d6bd-4989-9b3d-83cfddd7f912}requestAmount']),&lt;br /&gt; &amp;quot;&amp;quot;,&lt;br /&gt; if(&lt;br /&gt; a!isNullOrEmpty(local!selectedCurrency),&lt;br /&gt; {&lt;br /&gt; fv!row['recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{042ab0e7-d6bd-4989-9b3d-83cfddd7f912}requestAmount'],&lt;br /&gt; fv!row['recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{158b8d02-bea6-42fa-af6c-3a8805755ba0}requestAmountUsd']&lt;br /&gt; },&lt;br /&gt; if(&lt;br /&gt; local!selectedCurrency = &amp;quot;LOCAL&amp;quot;,&lt;br /&gt; concat(&lt;br /&gt; rule!EPR_CMPT_ConcatCurrencyFromCountryId(countryId: local!selectedCountry),&lt;br /&gt; &amp;quot; &amp;quot;,&lt;br /&gt; fv!row['recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{042ab0e7-d6bd-4989-9b3d-83cfddd7f912}requestAmount']&lt;br /&gt; ),&lt;br /&gt; concat(&lt;br /&gt; rule!EPR_CMPT_ConcatCurrencyFromCountryId(countryId: local!selectedCountry),&lt;br /&gt; &amp;quot; &amp;quot;,&lt;br /&gt; fv!row['recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{158b8d02-bea6-42fa-af6c-3a8805755ba0}requestAmountUsd']&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt; },&lt;br /&gt; &lt;br /&gt; )&lt;br /&gt; },&lt;br /&gt; showBorder: false&lt;br /&gt; ),&lt;br /&gt; a!columnsLayout(&lt;br /&gt; columns: {&lt;br /&gt; a!columnLayout(contents: {}),&lt;br /&gt; a!columnLayout(contents: {}),&lt;br /&gt; a!columnLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!cardLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!kpiField(&lt;br /&gt; data: local!requestData,&lt;br /&gt; primaryMeasure: a!measure(&lt;br /&gt; function: &amp;quot;SUM&amp;quot;,&lt;br /&gt; field: if(local!selectedCurrency = &amp;quot;LOCAL&amp;quot;,&lt;br /&gt; &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{042ab0e7-d6bd-4989-9b3d-83cfddd7f912}requestAmount&amp;#39;,&lt;br /&gt; if(local!selectedCurrency = &amp;quot;USD&amp;quot;,&lt;br /&gt; &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{158b8d02-bea6-42fa-af6c-3a8805755ba0}requestAmountUsd&amp;#39;,&lt;br /&gt; {})&lt;br /&gt; ),&lt;br /&gt; filters: {&lt;br /&gt; a!queryFilter(&lt;br /&gt; field: &amp;#39;recordType!{3452d15a-2c70-4fd8-af3b-9faa21536750}EPR Request.fields.{8de859a5-8eb3-4c2c-a310-bef11ba5c795}isActive&amp;#39;,&lt;br /&gt; operator: &amp;quot;=&amp;quot;,&lt;br /&gt; value: true()&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; },&lt;br /&gt; height: &amp;quot;AUTO&amp;quot;,&lt;br /&gt; style: &amp;quot;TRANSPARENT&amp;quot;,&lt;br /&gt; marginBelow: &amp;quot;STANDARD&amp;quot;,&lt;br /&gt; showBorder: false&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; a!buttonLayout(&lt;br /&gt; primaryButtons: a!buttonWidget(&lt;br /&gt; label: &amp;quot;Exit&amp;quot;,&lt;br /&gt; submit: true(),&lt;br /&gt; style: &amp;quot;SOLID&amp;quot;&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1720787732768v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Readonly Grid</title><link>https://community.appian.com/thread/138009?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 12:29:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9a61ff03-0443-4c20-8ea1-65070a75ed6e</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Could you please share the code where you have tried to use KPI and the output&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Readonly Grid</title><link>https://community.appian.com/thread/138008?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 12:26:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:212f7624-26d5-47ff-8c2e-cc08f4d95d89</guid><dc:creator>laxmipavanik0001</dc:creator><description>&lt;p&gt;Hi &amp;nbsp;,&lt;br /&gt;It works fine when I use the &lt;code&gt;Kpifield()&lt;/code&gt; function, but I have to write nested &lt;code&gt;if&lt;/code&gt; statements in the field parameter, which is not producing the expected results.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Readonly Grid</title><link>https://community.appian.com/thread/138007?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 11:49:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:21595bcd-65b7-4e07-93c0-4f7ce70c372b</guid><dc:creator>laxmipavanik0001</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/jakubf0002"&gt;Furman&lt;/a&gt;&amp;nbsp;,&lt;br /&gt;I have tried but the data is coming in grid by using Record data,&lt;br /&gt;so I need to take sum from amount which is in grid&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Readonly Grid</title><link>https://community.appian.com/thread/138006?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 11:40:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d063d5b9-0a4e-430e-a0ba-aa3b812a5544</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Do you have any requirement of showing this in a card specifically or is it possible to use the a!kpiField() provided the record data and the measure?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Readonly Grid</title><link>https://community.appian.com/thread/138005?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 11:18:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:51323932-3974-43b1-a50b-bc45400ee22e</guid><dc:creator>laxmipavanik0001</dc:creator><description>&lt;p&gt;Hi &amp;nbsp;,&lt;br /&gt;Amount column is there in grid, I want to do sum of amounts which are present in my grid&amp;nbsp;&lt;br /&gt;and display the total amount field in rich text field.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Readonly Grid</title><link>https://community.appian.com/thread/138003?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 11:13:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2c971542-e187-410f-b20c-6c9d8f591635</guid><dc:creator>Furman</dc:creator><description>&lt;p&gt;i think you can still have local variable that will be just sum of index of property. Try this Sum(index(yourecordtype, recordtype.fileds.fieldname)).&lt;/p&gt;
&lt;p&gt;I would avoid query db again as this may have negative impact on page performance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Readonly Grid</title><link>https://community.appian.com/thread/138000?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 10:54:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:692527b2-2cde-4f4b-8fbd-9f4a3de0e1c2</guid><dc:creator>rishabh982812</dc:creator><description>&lt;p&gt;Do you want to do a total of all rows available in table or page wise total?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>