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...
-
CriteriaOperator criteria = new BinaryOperator("Age", 30, BinaryOperatorType.Greater); CriteriaOperator criteria = CriteriaOperato...
-
SortingCollection sc = new SortingCollection(); sc.Add (new SortProperty("field on which you want to sort",DevExpress.Xpo.DB.Sorti...
-
Minification and Uglyfication in Angular Deployement Minification : While building Angular Application white spaces , unused variable , u...
No comments:
Post a Comment