I'm adding a user field to the Task screen called UsrCuryId, similar to the CuryID field on the Bills and Adjustments screen:
I've modified the ASPX to include the following (taken from the Bills and Adjustments screen):
<px:PXDSCallbackCommand Visible="False" Name="CurrencyView" />
<pxa:PXCurrencyRate ID="edUsrCury" DataField="UsrCuryID" runat="server" RateTypeView="currencyinfo" DataMember="_Currency_" DataSourceID="ds"/>
And I've added the view for the 'RateTypeView' as follows in my Graph extension code:
public PXSelect<CurrencyInfo,
Where<CurrencyInfo.curyInfoID, Equal<Current<CRActivity.UsrCuryInfoID>>>>currencyinfo;
This does NOT result in the same control style as seen on the Bills and Adjustments screen:
What am I doing wrong? What needs to be added? Thanks...