|
@@ -141,5 +141,14 @@ namespace Comal.Classes
|
|
|
{
|
|
|
return Name;
|
|
|
}
|
|
|
+
|
|
|
+ static Customer()
|
|
|
+ {
|
|
|
+ LinkedProperties.Register<Customer,PaymentTermsLink,Guid>(x=>x.Account.Terms,x=>x.ID, x=>x.Terms.ID);
|
|
|
+ LinkedProperties.Register<Customer,PaymentTermsLink,String>(x=>x.Account.Terms,x=>x.Code, x=>x.Terms.Code);
|
|
|
+ LinkedProperties.Register<Customer,PaymentTermsLink,String>(x=>x.Account.Terms,x=>x.Description, x=>x.Terms.Description);
|
|
|
+ LinkedProperties.Register<Customer,PaymentTermsLink,String>(x=>x.Account.Terms,x=>x.Calculation, x=>x.Terms.Calculation);
|
|
|
+ LinkedProperties.Register<Customer,SalesGLCodeLink,Guid>(x=>x.Account.GLCode,x=>x.ID, x=>x.GLCode.ID);
|
|
|
+ }
|
|
|
}
|
|
|
}
|