Example #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">GUID that identifies this financial class.</param>
 ///<param name="name">Name of the financial class.</param>
 ///<param name="classType">Values: Asset, Liability, Revenue, Expense</param>
 ///
 public FinancialClass( string refId, string name, FinancialClassType classType )
     : base(Adk.SifVersion, HrfinDTD.FINANCIALCLASS)
 {
     this.RefId = refId;
     this.Name = name;
     this.SetClassType( classType );
 }
Example #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">GUID that identifies this financial class.</param>
 ///<param name="name">Name of the financial class.</param>
 ///<param name="classType">Values: Asset, Liability, Revenue, Expense</param>
 ///
 public FinancialClass(string refId, string name, FinancialClassType classType) : base(Adk.SifVersion, HrfinDTD.FINANCIALCLASS)
 {
     this.RefId = refId;
     this.Name  = name;
     this.SetClassType(classType);
 }
Example #3
0
 /// <summary>
 /// Sets the value of the <c>&lt;ClassType&gt;</c> element.
 /// </summary>
 /// <param name="val">A FinancialClassType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Values: Asset, Liability, Revenue, Expense"</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetClassType( FinancialClassType val )
 {
     SetField( HrfinDTD.FINANCIALCLASS_CLASSTYPE, val );
 }
Example #4
0
 /// <summary>
 /// Sets the value of the <c>&lt;ClassType&gt;</c> element.
 /// </summary>
 /// <param name="val">A FinancialClassType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Values: Asset, Liability, Revenue, Expense"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetClassType(FinancialClassType val)
 {
     SetField(HrfinDTD.FINANCIALCLASS_CLASSTYPE, val);
 }