I found the web control "EPPurchCORReceive" for the unconfirmed product receipts in the AOT and I just now need to figure out how to make the field mandatory by modifying the code.
the part of the code that relates to the field that I need to make mandatory is:
<dynamics:AxBoundField DataField="editReceiptId**" DataSet="dsEPPurchCORAction" DataSetView="PurchLine" HeaderText="<%$ axlabel:@SYS342654%>"/>
Below is the complete code:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="EPPurchCORReceive.ascx.cs" Inherits="EPPurchCORReceive" %>
<%@ Register Assembly="Microsoft.Dynamics.Framework.Portal, Version=6.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="Microsoft.Dynamics.Framework.Portal.UI.WebControls" TagPrefix="dynamics" %>
<%@ Register Src="AxBaseUserControl.ascx" TagName="AxBaseUserControl" TagPrefix="Ax" %>
<dynamics:AxDataSource ID="dsEPPurchCORReceive" runat="server" DataSetName="EPPurchCORReceive"/>
<dynamics:AxForm ID="AxForm" runat="server" DataSourceID="dsEPPurchCORReceive" DataMember="PurchLine_Current"
AutoGenerateEditButton="true" DefaultMode="Edit" >
<table>
<tr>
<td>
<asp:Label ID="lblInitialText" runat="server" Text="<%$ axlabel:@SYS332466%>"></asp:Label>
</td>
</tr>
<tr style="height:5"><td></td></tr>
<tr>
<td>
<asp:Label ID="lblText" runat="server" Text="<%$ axlabel:@SYS332467%>"></asp:Label>
</td>
</tr>
</table>
<dynamics:AxGroup ID="AxGroup" runat="server" Caption="<%$ axlabel:@SYS59970%>">
<Fields>
<dynamics:AxBoundField DataField="editRemainPurchPhysical**" DataSet="dsEPPurchCORAction" DataSetView="PurchLine" HeaderText="<%$ axlabel:@SYS303371%>"/>
<dynamics:AxBoundField DataField="editReceiptId**" DataSet="dsEPPurchCORAction" DataSetView="PurchLine" HeaderText="<%$ axlabel:@SYS342654%>"/>
<dynamics:AxCheckBoxBoundField DataField="editCloseLine**" DataSet="dsEPPurchCORAction" DataSetView="PurchLine" HeaderText="<%$ axlabel:@SYS303372%>"/>
</Fields>
</dynamics:AxGroup>
<dynamics:AxGroup ID="AssetGroup" runat="server" Caption="<%$ axlabel:@SYS25653%>" Visible="false">
<Fields>
<dynamics:AxBoundField DataField="editAssetName**" DataSet="dsEPPurchCORAction" DataSetView="PurchLine" HeaderText="<%$ axlabel:@SYS7399%>" />
<dynamics:AxBoundField DataField="editMake**" DataSet="dsEPPurchCORAction" DataSetView="PurchLine" HeaderText="<%$ axlabel:@SYS67389%>"/>
<dynamics:AxBoundField DataField="editModel**" DataSet="dsEPPurchCORAction" DataSetView="PurchLine" HeaderText="<%$ axlabel:@SYS9923%>" />
<dynamics:AxBoundField DataField="editSerialNumber**" DataSet="dsEPPurchCORAction" DataSetView="PurchLine" HeaderText="<%$ axlabel:@SYS477%>" />
</Fields>
</dynamics:AxGroup>
</dynamics:AxForm>
I hope someone can help me make this change.
Regards,
Farokh