Thursday, October 1, 2009
Aassociassion with Module Base
Suppose you have two module
1. Cevious.Xpert.Account
2. Cevious.Xpert.Statutory.In
TCSNature.cs
VAT.cs
In Statutory Module we have used Accounts DLL
In Account module there is a class Ledger in which I want a Lookup of VAT to do this
We go in Cevious.Xpert.Statutory.In =>Module.cs=>
public override void CustomizeTypesInfo(DevExpress.ExpressApp.DC.ITypesInfo typesInfo)
{
base.CustomizeTypesInfo(typesInfo);
XPDictionary xpDCT = XafTypesInfo.XpoTypeInfoSource.XPDictionary;
if (xpDCT.GetClassInfo(typeof(Ledger)).FindMember("PropertyName") == null)
{
xpDCT.GetClassInfo(typeof(Ledger)).CreateMember("PropertyName", typeof(Class Name),new DisplayNameAttribute("Display Name"),new ImmediatePostDataAttribute(),new VisibleInListViewAttribute (false));
Example //xpDCT.GetClassInfo(typeof(Ledger)).CreateMember("Nature", typeof(TypeOfNature));
}
XafTypesInfo.Instance.RefreshInfo(typeof(Ledger));
}
Subscribe to:
Post Comments (Atom)
Mat Table Angular
Mat Table in Angular Mat table is used to display data . its a material designed styled data-table . For using Material Table MatTableMo...
-
Angular is a JavaScript open-source front-end web application framework. Learn and Start Angular 6 https://youtu.be/iCczsazLY-E ...
-
SortingCollection sc = new SortingCollection(); sc.Add (new SortProperty("field on which you want to sort",DevExpress.Xpo.DB.Sorti...
-
Build Angular App for Production while you plan for production release then keep these things in Mind ng build --prod --base--hre...
No comments:
Post a Comment