Hi All,
I have create Project DICD3FO_VASPackage inheritance Application Suite model
- Add Forms extension LedgerJournalTransDaily.Extension to my Project
- Add DataSource "DICVASFields" to DataSource of Form Extension
- New tab in the Design pattern
- Add some fields of DICVASFields datasource to this TAB
- Input Data Method (DICVASFields_Extension::editAddress) and DataSource (DICVASFields) in to Field (Address) attribute
- Create class Name: DICVASFields_Extension
public static class DICVASFields_Extension
{
[SysClientCacheDataMethodAttribute(true)]
public static edit DICAddress editAddress(boolean _set,DICVASFields _this,DICAddress _address)
{
LedgerJournalTrans ledgerJournalTrans;
return _this.setAddress(_set,_address,ledgerJournalTrans);
}
}
- Build & Compile everything OK.
- When run form: General journal have the Error Unable to cast object of type 'System.Boolean' to type 'Microsoft.Dynamics.Ax.Xpp.Common'.
Please view this pics in attach.
![]()
![]()
Please help me find out the solutions
Thanks,
DonTran