<?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>Change a value of selected rows by clicking a button</title><link>https://community.appian.com/discussions/f/user-interface/29839/change-a-value-of-selected-rows-by-clicking-a-button</link><description>Hi! I&amp;#180;ve made a read-only grid and used it in another interface. The read-only grid contains Purchase Order Lines. I would want to select some or all the rows (PO lines) and change their &amp;quot;Estado Recepci&amp;#243;n&amp;quot; value from &amp;quot;No Recepcionada&amp;quot; to &amp;quot;Recepcionada</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Change a value of selected rows by clicking a button</title><link>https://community.appian.com/thread/118428?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2023 14:15:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7b087468-17dc-48d4-9248-cb0dc054179f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Two things.&lt;/p&gt;
&lt;p&gt;First, you already know about the foreach() function. That&amp;#39;s your loop.&lt;/p&gt;
&lt;p&gt;Second, you cannot call more than a single smart service function in a saveInto. As far as I can remember, this UI is assigned as a task to a user. Why not just modify the data in UI and write it to DB in process. We had this conversation already a while ago.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change a value of selected rows by clicking a button</title><link>https://community.appian.com/thread/118427?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2023 14:10:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9aec88f1-a929-4624-8291-749805399a00</guid><dc:creator>carlosp5114</dc:creator><description>&lt;p&gt;To begin, I was trying to do another thing. By clicking a button (received Purchase Order --&amp;gt; Recepcionar Pedido), I want all the PO lines to be changed to the same status (&amp;quot;Accepted&amp;quot;), or what is the same, field &amp;quot;recepcionado&amp;quot; = true&lt;/p&gt;
&lt;p&gt;Now, the button is working for one of my records (in record 1 it changes the field &amp;quot;recepcionado&amp;quot; into true), but not for the record of PO lines, which is in a read-only grid (R2)&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1693490766711v4.png" /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;acute;m trying to save the values into the purchase order lines record but I think I&amp;acute;m missing a loop in the second save (I want multiple lines to be updated).&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;Error: Interface Definition: Expression evaluation error [evaluation ID = MBB01] : An error occurred while executing a save: Expression evaluation error: Field with [identifier=a24a3b63-46ab-4829-a453-3ee10195424d] not found on the Record Type&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;How can I introduce the loop in my code? Or is there another way to do it?&lt;/p&gt;
&lt;p&gt;Here is my code (line 259)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1693490418928v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
  a!sectionLayout(
    label: &amp;quot;Detalle de informaci&amp;#243;n del pedido&amp;quot;,
    labelIcon: &amp;quot;eye&amp;quot;,
    labelSize: &amp;quot;MEDIUM&amp;quot;,
    labelHeadingTag: &amp;quot;H2&amp;quot;,
    labelColor: &amp;quot;#980000&amp;quot;,
    contents: {
      a!columnsLayout(
        columns: {
          a!columnLayout(
            contents: {
              a!textField(
                label: &amp;quot;Nombre Proveedor&amp;quot;,
                labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                value: a!defaultValue(
                  ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{e11e6206-fc23-4a4b-9819-4db5a5bab685}nomProveedor&amp;#39;],
                  &amp;quot;–&amp;quot;
                ),
                readOnly: true
              ),
              a!sideBySideLayout(
                items: if(
                  or(
                    isnull(
                      ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{176562ae-61d0-4316-bf57-a380b422e2dc}creadoPor&amp;#39;]
                    ),
                    not(
                      isusernametaken(
                        ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{176562ae-61d0-4316-bf57-a380b422e2dc}creadoPor&amp;#39;]
                      )
                    )
                  ),
                  a!sideBySideItem(
                    item: a!textField(
                      label: &amp;quot;Creado Por&amp;quot;,
                      labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                      value: &amp;quot;–&amp;quot;,
                      readOnly: true
                    )
                  ),
                  {
                    a!sideBySideItem(
                      item: a!imageField(
                        label: &amp;quot;Creado Por&amp;quot;,
                        labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                        images: a!userImage(
                          user: ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{176562ae-61d0-4316-bf57-a380b422e2dc}creadoPor&amp;#39;]
                        ),
                        size: &amp;quot;TINY&amp;quot;,
                        style: &amp;quot;AVATAR&amp;quot;
                      ),
                      width: &amp;quot;MINIMIZE&amp;quot;
                    ),
                    a!sideBySideItem(
                      item: a!richTextDisplayField(
                        labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                        value: a!richTextItem(
                          text: {
                            user(
                              ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{176562ae-61d0-4316-bf57-a380b422e2dc}creadoPor&amp;#39;],
                              &amp;quot;firstName&amp;quot;
                            ),
                            &amp;quot; &amp;quot;,
                            user(
                              ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{176562ae-61d0-4316-bf57-a380b422e2dc}creadoPor&amp;#39;],
                              &amp;quot;lastName&amp;quot;
                            )
                          },
                          link: a!userRecordLink(
                            user: ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{176562ae-61d0-4316-bf57-a380b422e2dc}creadoPor&amp;#39;]
                          )
                        )
                      )
                    )
                  }
                ),
                alignVertical: &amp;quot;MIDDLE&amp;quot;
              ),
              a!richTextDisplayField(
                label: &amp;quot;Creado En&amp;quot;,
                labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                value: if(
                  isnull(
                    ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{6696e0ac-747d-4892-aacf-427e190ef104}creadoEn&amp;#39;]
                  ),
                  &amp;quot;–&amp;quot;,
                  {
                    a!richTextIcon(
                      icon: &amp;quot;calendar-o&amp;quot;,
                      color: &amp;quot;SECONDARY&amp;quot;
                    ),
                    &amp;quot; &amp;quot;,
                    a!richTextItem(
                      text: text(
                        ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{6696e0ac-747d-4892-aacf-427e190ef104}creadoEn&amp;#39;],
                        &amp;quot;mmmm d, yyyy h:mm AM/PM&amp;quot;
                      )
                    )
                  }
                )
              ),
              a!richTextDisplayField(
                label: &amp;quot;Estado Pedido&amp;quot;,
                labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                value: if(
                  isnull(
                    ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{5fd66fe8-d4d2-48c3-b549-8074304081d1}Estado&amp;#39;]
                  ),
                  &amp;quot;–&amp;quot;,
                  {
                    a!richTextIcon(
                      icon: if(
                        ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{eeea3ae1-9516-46e3-8caa-327a9154b43d}recepcionado&amp;#39;],
                        &amp;quot;check-circle&amp;quot;,
                        &amp;quot;times-circle&amp;quot;
                      ),
                      color: if(
                        ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{eeea3ae1-9516-46e3-8caa-327a9154b43d}recepcionado&amp;#39;],
                        &amp;quot;POSITIVE&amp;quot;,
                        &amp;quot;NEGATIVE&amp;quot;
                      )
                    ),
                    if(
                      ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{eeea3ae1-9516-46e3-8caa-327a9154b43d}recepcionado&amp;#39;],
                      &amp;quot; Pedido Recepcionado&amp;quot;,
                      &amp;quot; Pedido No Recepcionado&amp;quot;
                    )
                  }
                )
              )
            }
          ),
          a!columnLayout(
            contents: {
              a!textField(
                label: &amp;quot;Importe Total&amp;quot;,
                labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                value: if(
                  isnull(
                    ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{c450a9fc-1970-4f80-9735-899d5ca951e9}ImporteSumLineasPedido&amp;#39;]
                  ),
                  &amp;quot;–&amp;quot;,
                  text(
                    ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{c450a9fc-1970-4f80-9735-899d5ca951e9}ImporteSumLineasPedido&amp;#39;],
                    &amp;quot;#.##&amp;quot;
                  )
                ),
                readOnly: true
              ),
              a!sideBySideLayout(
                items: if(
                  or(
                    isnull(
                      ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{ac8d9480-4ab2-4e47-a941-4c4a28338512}editadoPor&amp;#39;]
                    ),
                    not(
                      isusernametaken(
                        ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{ac8d9480-4ab2-4e47-a941-4c4a28338512}editadoPor&amp;#39;]
                      )
                    )
                  ),
                  a!sideBySideItem(
                    item: a!textField(
                      label: &amp;quot;Editado Por&amp;quot;,
                      labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                      value: &amp;quot;–&amp;quot;,
                      readOnly: true
                    )
                  ),
                  {
                    a!sideBySideItem(
                      item: a!imageField(
                        label: &amp;quot;Editado Por&amp;quot;,
                        labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                        images: a!userImage(
                          user: ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{ac8d9480-4ab2-4e47-a941-4c4a28338512}editadoPor&amp;#39;]
                        ),
                        size: &amp;quot;TINY&amp;quot;,
                        style: &amp;quot;AVATAR&amp;quot;
                      ),
                      width: &amp;quot;MINIMIZE&amp;quot;
                    ),
                    a!sideBySideItem(
                      item: a!richTextDisplayField(
                        labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                        value: a!richTextItem(
                          text: {
                            user(
                              ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{ac8d9480-4ab2-4e47-a941-4c4a28338512}editadoPor&amp;#39;],
                              &amp;quot;firstName&amp;quot;
                            ),
                            &amp;quot; &amp;quot;,
                            user(
                              ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{ac8d9480-4ab2-4e47-a941-4c4a28338512}editadoPor&amp;#39;],
                              &amp;quot;lastName&amp;quot;
                            )
                          },
                          link: a!userRecordLink(
                            user: ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{ac8d9480-4ab2-4e47-a941-4c4a28338512}editadoPor&amp;#39;]
                          )
                        )
                      )
                    )
                  }
                ),
                alignVertical: &amp;quot;MIDDLE&amp;quot;
              ),
              a!richTextDisplayField(
                label: &amp;quot;Editado En&amp;quot;,
                labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                value: if(
                  isnull(
                    ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{1bafd378-a589-4d67-9f46-bd2b7208aa37}editadoEn&amp;#39;]
                  ),
                  &amp;quot;–&amp;quot;,
                  {
                    a!richTextIcon(
                      icon: &amp;quot;calendar-o&amp;quot;,
                      color: &amp;quot;SECONDARY&amp;quot;
                    ),
                    &amp;quot; &amp;quot;,
                    a!richTextItem(
                      text: text(
                        ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{1bafd378-a589-4d67-9f46-bd2b7208aa37}editadoEn&amp;#39;],
                        &amp;quot;mmmm d, yyyy h:mm AM/PM&amp;quot;
                      )
                    )
                  }
                )
              ),
              a!richTextDisplayField(
                label: &amp;quot;Fecha de Emisi&amp;#243;n&amp;quot;,
                labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                value: if(
                  isnull(
                    ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{4097e2aa-8ce4-4ed1-9224-2ece219ef208}fechaEmision&amp;#39;]
                  ),
                  &amp;quot;–&amp;quot;,
                  {
                    a!richTextIcon(
                      icon: &amp;quot;calendar&amp;quot;,
                      color: &amp;quot;SECONDARY&amp;quot;
                    ),
                    &amp;quot; &amp;quot;,
                    a!richTextItem(
                      text: text(
                        ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{4097e2aa-8ce4-4ed1-9224-2ece219ef208}fechaEmision&amp;#39;],
                        &amp;quot;mmmm d, yyyy&amp;quot;
                      )
                    )
                  }
                )
              )
            }
          )
        }
      ),
      a!buttonArrayLayout(
        buttons: {
          a!buttonWidget(
            label: &amp;quot;Completar RECEPCI&amp;#211;N PEDIDO&amp;quot;,
            saveInto: {
              a!save(
                ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{eeea3ae1-9516-46e3-8caa-327a9154b43d}recepcionado&amp;#39;],
                true()
              ),
              a!save(
                ri!record[&amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{a24a3b63-46ab-4829-a453-3ee10195424d}recepcionada&amp;#39;],
                true()
              ),
              a!writeRecords(
                records: ri!record
              ),
              a!writeRecords(
                records: ri!recordLineasPedido
              )
            },
            submit: true,
            style: &amp;quot;PRIMARY&amp;quot;,
            validate:true
          )
        },
        align: &amp;quot;START&amp;quot;
      ),
      a!sectionLayout(
        label: &amp;quot;Desglose L&amp;#237;neas de Pedido&amp;quot;,
        contents: {
          a!columnsLayout(
            columns: {
              a!columnLayout(
                contents: {
                  a!textField(
                    label: &amp;quot;Identificador de Pedido&amp;quot;,
                    labelPosition: &amp;quot;ABOVE&amp;quot;,
                    value: ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{7309402c-2312-4a4e-bdaa-5654789bffb2}idPedido&amp;#39;],
                    saveInto: {},
                    refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
                    readOnly: true,
                    validations: {}
                  )
                }
              ),
              a!columnLayout(
                contents: {
                  a!floatingPointField(
                    label: &amp;quot;Total Pedido&amp;quot;,
                    labelPosition: &amp;quot;ABOVE&amp;quot;,
                    value: ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{c450a9fc-1970-4f80-9735-899d5ca951e9}ImporteSumLineasPedido&amp;#39;],
                    saveInto: {},
                    refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
                    readOnly: true,
                    validations: {}
                  )
                }
              )
            }
          ),
          a!gridField(
            label: &amp;quot;&amp;quot;,
            labelPosition: &amp;quot;ABOVE&amp;quot;,
            data: a!recordData(
              recordType: &amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido&amp;#39;,
              filters: a!queryLogicalExpression(
                operator: &amp;quot;AND&amp;quot;,
                filters: {
                  a!queryFilter(
                    field: &amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{71427dbb-12db-4f83-bd99-f625bf9af271}idPedido&amp;#39;,
                    operator: &amp;quot;=&amp;quot;,
                    value: ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{7309402c-2312-4a4e-bdaa-5654789bffb2}idPedido&amp;#39;]
                  
                  )
                },
                ignoreFiltersWithEmptyValues: true
              )
            ),
            columns: {
              a!gridColumn(
                label: &amp;quot;Id Linea Pedido&amp;quot;,
                sortField: &amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{fcfa4b36-4398-4430-8055-ecfa59daf13a}idLineaPedido&amp;#39;,
                value: fv!row[&amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{fcfa4b36-4398-4430-8055-ecfa59daf13a}idLineaPedido&amp;#39;],
                align: &amp;quot;START&amp;quot;
              ),
              a!gridColumn(
                label: &amp;quot;Material&amp;quot;,
                sortField: &amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{69e9a834-b2fb-4f35-a36d-3c526c97f4ac}Material&amp;#39;,
                value: fv!row[&amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{69e9a834-b2fb-4f35-a36d-3c526c97f4ac}Material&amp;#39;]
              ),
              a!gridColumn(
                label: &amp;quot;Proveedor&amp;quot;,
                sortField: &amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{464f0883-d6d5-4c58-b054-4de8e9e99902}Proveedor&amp;#39;,
                value: fv!row[&amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{464f0883-d6d5-4c58-b054-4de8e9e99902}Proveedor&amp;#39;]
              ),
              a!gridColumn(
                label: &amp;quot;Precio Unit&amp;quot;,
                sortField: &amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{47f4bf32-2e41-4c5a-a7e7-9fc7786bd753}PrecioUnit&amp;#39;,
                value: if(
                isnull(fv!row[&amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{47f4bf32-2e41-4c5a-a7e7-9fc7786bd753}PrecioUnit&amp;#39;]),
                fv!row[&amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{47f4bf32-2e41-4c5a-a7e7-9fc7786bd753}PrecioUnit&amp;#39;],
                fixed(fv!row[&amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{47f4bf32-2e41-4c5a-a7e7-9fc7786bd753}PrecioUnit&amp;#39;], 2)
                ),
                align: &amp;quot;END&amp;quot;
              ),
              a!gridColumn(
                label: &amp;quot;Cantidad&amp;quot;,
                sortField: &amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{e78c5b35-026f-4713-8404-05077c6c9152}Cantidad&amp;#39;,
                value: fv!row[&amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{e78c5b35-026f-4713-8404-05077c6c9152}Cantidad&amp;#39;],
                align: &amp;quot;END&amp;quot;
              ),
              a!gridColumn(
                label: &amp;quot;Importe&amp;quot;,
                sortField: &amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{beb59a89-a332-46d3-b718-a8285f58f942}Importe&amp;#39;,
                value: if(
                isnull(fv!row[&amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{beb59a89-a332-46d3-b718-a8285f58f942}Importe&amp;#39;]),
                fv!row[&amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{beb59a89-a332-46d3-b718-a8285f58f942}Importe&amp;#39;],
                fixed(fv!row[&amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{beb59a89-a332-46d3-b718-a8285f58f942}Importe&amp;#39;], 2)
                ),
                align: &amp;quot;END&amp;quot;
              ),
              a!gridColumn(
                label: &amp;quot;Estado Recepcion&amp;quot;,
                sortField: &amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{ad1487f4-4ab4-4af6-8d4b-373e3864484a}EstadoRecepcion&amp;#39;,
                value: fv!row[&amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{ad1487f4-4ab4-4af6-8d4b-373e3864484a}EstadoRecepcion&amp;#39;],
                align: &amp;quot;START&amp;quot;,
                width: &amp;quot;NARROW_PLUS&amp;quot;
              ),
              a!gridColumn(
                label: &amp;quot;&amp;quot;,
                sortField: &amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{a24a3b63-46ab-4829-a453-3ee10195424d}recepcionada&amp;#39;,
                value: a!richTextDisplayField(
                  value: if(
                    fv!row[&amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{a24a3b63-46ab-4829-a453-3ee10195424d}recepcionada&amp;#39;]=true,
                    {a!richTextIcon(
                      icon: &amp;quot;check-circle-o&amp;quot;,
                      caption: &amp;quot;Overdue&amp;quot;,
                      color: &amp;quot;POSITIVE&amp;quot;,
                      size: &amp;quot;MEDIUM&amp;quot;
                    )},
                    if(
                      fv!row[&amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{a24a3b63-46ab-4829-a453-3ee10195424d}recepcionada&amp;#39;]=false,
                      {a!richTextIcon(
                        icon: &amp;quot;times-circle-o&amp;quot;,
                        caption: &amp;quot;Overdue&amp;quot;,
                        color: &amp;quot;NEGATIVE&amp;quot;,
                        size: &amp;quot;MEDIUM&amp;quot;
                      )},
                      {a!richTextIcon(
                        icon: &amp;quot;times-circle-o&amp;quot;,
                        caption: &amp;quot;Overdue&amp;quot;,
                        color: &amp;quot;NEGATIVE&amp;quot;,
                        size: &amp;quot;MEDIUM&amp;quot;
                      )}
                    )
                  )
                ),
                align: &amp;quot;START&amp;quot;,
                width: &amp;quot;ICON&amp;quot;
              )
            },
            selectable: true,
            selectionValue: ri!recordLineasPedido[&amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.fields.{a24a3b63-46ab-4829-a453-3ee10195424d}recepcionada&amp;#39;],
            validations: {},
            spacing: &amp;quot;STANDARD&amp;quot;,
            refreshAfter: &amp;quot;RECORD_ACTION&amp;quot;,
            showSearchBox: false,
            showRefreshButton: true,
            recordActions: {
              a!recordActionItem(
                action: &amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.actions.{e98cfccd-1224-45ec-ac8f-115ea8bbe233}updateMaestroPedidos1&amp;#39;,
                identifier: ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{7309402c-2312-4a4e-bdaa-5654789bffb2}idPedido&amp;#39;]
              ),
              a!recordActionItem(
                action: /*&amp;lt;add record action reference here&amp;gt;*/ null
              ),
              a!recordActionItem(
                action: &amp;#39;recordType!{495578a9-1b23-4253-8145-6418faabe727}CPF Lineas Pedido.actions.{38bf8162-7cde-4fa7-a6a4-4b780ba9a6de}newLineasPedido&amp;#39;
              )
            }
          )
        },
        marginAbove: &amp;quot;MORE&amp;quot;
      ),
      a!documentViewerField(
        label: &amp;quot; &amp;quot;,
        labelPosition: &amp;quot;ABOVE&amp;quot;,
        document: ri!record[&amp;#39;recordType!{3c95c0e4-e69d-43f6-b485-e72b24252af7}CPF Maestro Pedidos.fields.{eb7c0b96-8c37-4e52-bb0d-04a12be5abab}pedidoPDF&amp;#39;],
        height: &amp;quot;MEDIUM&amp;quot;
      )
    },
    divider: &amp;quot;ABOVE&amp;quot;,
    dividerWeight: &amp;quot;MEDIUM&amp;quot;,
    dividerColor: &amp;quot;#980000&amp;quot;,
    marginAbove: &amp;quot;STANDARD&amp;quot;,
    marginBelow: &amp;quot;MORE&amp;quot;
  )
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change a value of selected rows by clicking a button</title><link>https://community.appian.com/thread/118395?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2023 10:46:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ebe2c664-e7fc-4145-9d7e-6654a80daaa2</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I would add two&amp;nbsp;buttons on top of the grid to accept/reject selected rows.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/recipe-use-selection-for-bulk-actions-in-an-inline-editable-grid.html"&gt;docs.appian.com/.../recipe-use-selection-for-bulk-actions-in-an-inline-editable-grid.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>