Question

Approval Setup Assignment Map column Show ID

  • 9 June 2023
  • 2 replies
  • 56 views

Hi Team,

 

When i customize my own approval setup screen it is always showing ID number not text value of the number. It suppose to show map name. Attached my graph , dac and aspx

 

 

 

<%@ Page Language="C#" MasterPageFile="~/MasterPages/FormDetail.master" AutoEventWireup="true" ValidateRequest="false" CodeFile="YTPCAS01.aspx.cs" Inherits="Page_YTPCAS01" Title="Untitled Page" %>
<%@ MasterType VirtualPath="~/MasterPages/FormDetail.master" %>

<asp:Content ID="cont1" ContentPlaceHolderID="phDS" Runat="Server">
<px:PXDataSource ID="ds" runat="server" Visible="True" Width="100%"
TypeName="YTLProjectCode.ProjectCodeApprovalSetupMaint"
PrimaryView="Setup"
>
<CallbackCommands>

</CallbackCommands>
</px:PXDataSource>
</asp:Content>
<asp:Content ID="cont2" ContentPlaceHolderID="phF" Runat="Server">
<px:PXFormView ID="form" runat="server" DataSourceID="ds" DataMember="Setup" Width="100%" Height="100px" AllowAutoHide="false">
<Template>
<px:PXLayoutRule ID="PXLayoutRule1" runat="server" StartRow="True"></px:PXLayoutRule>
<px:PXCheckBox runat="server" ID="CstPXCheckBox1" DataField="TimeRequestApproval" ></px:PXCheckBox></Template>
</px:PXFormView>
</asp:Content>
<asp:Content ID="cont3" ContentPlaceHolderID="phG" Runat="Server">
<px:PXGrid SyncPosition="True" ID="grid" runat="server" DataSourceID="ds" Width="100%" Height="150px" SkinID="Details" >
<AutoSize Enabled="True" ></AutoSize>
<Levels>
<px:PXGridLevel DataMember="SetupApproval" >
<RowTemplate>
<px:PXLayoutRule runat="server" StartColumn="True" LabelsWidth="M" ControlSize="XM" ></px:PXLayoutRule>
<px:PXCheckBox ID="edIsActive" runat="server" DataField="IsActive" ></px:PXCheckBox>
<px:PXSelector ID="edAssignmentMapID" runat="server" DataField="AssignmentMapID" AutoRefresh="True" ></px:PXSelector>
<px:PXSelector ID="edAssignmentNotificationID" runat="server" DataField="AssignmentNotificationID" AutoRefresh="True" ></px:PXSelector>
</RowTemplate>
<Columns>
<px:PXGridColumn DataField="IsActive" TextAlign="Center" Type="CheckBox"></px:PXGridColumn>
<px:PXGridColumn DataField="AssignmentMapID" RenderEditorText="True" TextField="AssignmentMapID_EPAssignmentMap_Name" ></px:PXGridColumn>
<px:PXGridColumn DataField="AssignmentNotificationID" RenderEditorText="True" ></px:PXGridColumn>
</Columns>
</px:PXGridLevel>
</Levels>
</px:PXGrid>
</asp:Content>

 

Regards,

Sakthi


2 replies

Userlevel 7
Badge +10

Hi @sakthi61 ,

 

Could you please try to replace below line in your code?

 TextField="AssignmentMapID_EPAssignmentMap_Name" 

with

TextField="EPAssignmentMap.name"

Hope, it helps!

Regards,

Sweta

Hi @sakthi61 ,

 

Could you please try to replace below line in your code?

 TextField="AssignmentMapID_EPAssignmentMap_Name" 

with

TextField="EPAssignmentMap.name"

Hope, it helps!

Regards,

Sweta

Actually it is working fine in my local instance. When i publish to acumatica cloud it is not working

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved