Exemplo n.º 1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="financialAccountAccountingPeriodLocationInfoRefId">Account.</param>
 ///<param name="type">Values: Debit, Credit</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;FTAmount&amp;gt; element</param>
 ///
 public FTAmount( string financialAccountAccountingPeriodLocationInfoRefId, FTAmountType type, decimal? value )
     : base(HrfinDTD.FTAMOUNT)
 {
     this.FinancialAccountAccountingPeriodLocationInfoRefId = financialAccountAccountingPeriodLocationInfoRefId;
     this.SetType( type );
     this.Value = value;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="financialAccountAccountingPeriodLocationInfoRefId">Account.</param>
 ///<param name="type">Values: Debit, Credit</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;FTAmount&amp;gt; element</param>
 ///
 public FTAmount(string financialAccountAccountingPeriodLocationInfoRefId, FTAmountType type, decimal?value) : base(HrfinDTD.FTAMOUNT)
 {
     this.FinancialAccountAccountingPeriodLocationInfoRefId = financialAccountAccountingPeriodLocationInfoRefId;
     this.SetType(type);
     this.Value = value;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A FTAmountType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Values: Debit, Credit"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetType(FTAmountType val)
 {
     SetField(HrfinDTD.FTAMOUNT_TYPE, val);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A FTAmountType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Values: Debit, Credit"</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetType( FTAmountType val )
 {
     SetField( HrfinDTD.FTAMOUNT_TYPE, val );
 }
Exemplo n.º 5
0
 ///<summary>Adds the value of the <c>&lt;Amount&gt;</c> element.</summary>
 /// <param name="FinancialAccountAccountingPeriodLocationInfoRefId">Account.</param>
 /// <param name="Type">Values: Debit, Credit</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;FTAmount&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setAmount</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddAmount</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void AddAmount(string FinancialAccountAccountingPeriodLocationInfoRefId, FTAmountType Type, decimal?Value)
 {
     AddChild(HrfinDTD.FTAMOUNTS_AMOUNT, new FTAmount(FinancialAccountAccountingPeriodLocationInfoRefId, Type, Value));
 }