Search Results for

    Show / Hide Table of Contents

    Class CostAccountingRecord

    CostAccountingRecord

    Inheritance
    System.Object
    CostAccountingRecord
    Implements
    System.IEquatable<CostAccountingRecord>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.Datev.Swagger.Model
    Assembly: Simplic.Datev.IO.Swagger.dll
    Syntax
    [DataContract]
    public class CostAccountingRecord : IEquatable<CostAccountingRecord>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    CostAccountingRecord()

    Initializes a new instance of the CostAccountingRecord class.

    Declaration
    protected CostAccountingRecord()
    | Improve this Doc View Source

    CostAccountingRecord(String, Nullable<Decimal>, Nullable<Int32>, String, Nullable<Int32>, String, Nullable<DateTime>, Nullable<CostAccountingRecord.DebitCreditIdentifierEnum>, String, String, Nullable<DateTime>, Nullable<Decimal>, String)

    Initializes a new instance of the CostAccountingRecord class.

    Declaration
    public CostAccountingRecord(string id = null, decimal? amount = null, int? accountNumber = null, string alternativeCostCenter = null, int? contraAccountNumber = null, string costCenter = null, DateTime? date = null, CostAccountingRecord.DebitCreditIdentifierEnum? debitCreditIdentifier = CostAccountingRecord.DebitCreditIdentifierEnum.S, string documentField1 = null, string documentField2 = null, DateTime? kostDate = null, decimal? kostQuantity = null, string text = null)
    Parameters
    Type Name Description
    System.String id

    (Satznummer) Block number.

    System.Nullable<System.Decimal> amount

    (Betrag) Amount, technically required field, either amount and/or cost amount is required for processing; commercial rounding when more than two decimal places.

    System.Nullable<System.Int32> accountNumber

    (Sach- oder Personen-Kontonummer) General ledger or subledger account number shown in maximum length, 8 digits for general ledger accounts, 9 digits for subledger accounts (technical length) (required).

    System.String alternativeCostCenter

    (Kostenstelle/-träger) Alternative cost center, alphanumeric without special characters and umlauts.

    System.Nullable<System.Int32> contraAccountNumber

    (Gegenkontonummer) Contra account number, general ledger or subledger account number shown in maximum length, 8 digits for general ledger accounts, 9 digits for subledger accounts (technical length), contra account is not relevant for cost.

    System.String costCenter

    (Kostenstelle/-träger) Cost center, alphanumeric without special characters and umlauts.

    System.Nullable<System.DateTime> date

    (Belegdatum) Document date (required).

    System.Nullable<CostAccountingRecord.DebitCreditIdentifierEnum> debitCreditIdentifier

    (Soll-/Haben-Kennzeichen) Debit/credit identifier of the amount/quantity, pertaining to the account (default to DebitCreditIdentifierEnum.S).

    System.String documentField1

    (Beleg) Document field 1 (allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + - /).

    System.String documentField2

    (Beleg 2) Document field 2 (allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + - /).

    System.Nullable<System.DateTime> kostDate

    (KOST-Datum) Cost date.

    System.Nullable<System.Decimal> kostQuantity

    (KOST-Menge) Cost quantity, the cost quantity field is used to record the value of a cost center's specific reference parameter, technically required field, either amount and/or cost amount is required for processing; commercial rounding when more than four decimal places.

    System.String text

    (Textfeld) Text box, longer values will be truncated when using POST.

    Properties

    | Improve this Doc View Source

    AccountNumber

    (Sach- oder Personen-Kontonummer) General ledger or subledger account number shown in maximum length, 8 digits for general ledger accounts, 9 digits for subledger accounts (technical length)

    Declaration
    [DataMember(Name = "account_number", EmitDefaultValue = false)]
    public int? AccountNumber { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    (Sach- oder Personen-Kontonummer) General ledger or subledger account number shown in maximum length, 8 digits for general ledger accounts, 9 digits for subledger accounts (technical length)

    | Improve this Doc View Source

    AlternativeCostCenter

    (Kostenstelle/-träger) Alternative cost center, alphanumeric without special characters and umlauts

    Declaration
    [DataMember(Name = "alternative_cost_center", EmitDefaultValue = false)]
    public string AlternativeCostCenter { get; set; }
    Property Value
    Type Description
    System.String

    (Kostenstelle/-träger) Alternative cost center, alphanumeric without special characters and umlauts

    | Improve this Doc View Source

    Amount

    (Betrag) Amount, technically required field, either amount and/or cost amount is required for processing; commercial rounding when more than two decimal places

    Declaration
    [DataMember(Name = "amount", EmitDefaultValue = false)]
    public decimal? Amount { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Decimal>

    (Betrag) Amount, technically required field, either amount and/or cost amount is required for processing; commercial rounding when more than two decimal places

    | Improve this Doc View Source

    ContraAccountNumber

    (Gegenkontonummer) Contra account number, general ledger or subledger account number shown in maximum length, 8 digits for general ledger accounts, 9 digits for subledger accounts (technical length), contra account is not relevant for cost

    Declaration
    [DataMember(Name = "contra_account_number", EmitDefaultValue = false)]
    public int? ContraAccountNumber { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    (Gegenkontonummer) Contra account number, general ledger or subledger account number shown in maximum length, 8 digits for general ledger accounts, 9 digits for subledger accounts (technical length), contra account is not relevant for cost

    | Improve this Doc View Source

    CostCenter

    (Kostenstelle/-träger) Cost center, alphanumeric without special characters and umlauts

    Declaration
    [DataMember(Name = "cost_center", EmitDefaultValue = false)]
    public string CostCenter { get; set; }
    Property Value
    Type Description
    System.String

    (Kostenstelle/-träger) Cost center, alphanumeric without special characters and umlauts

    | Improve this Doc View Source

    Date

    (Belegdatum) Document date

    Declaration
    [DataMember(Name = "date", EmitDefaultValue = false)]
    public DateTime? Date { get; set; }
    Property Value
    Type Description
    System.Nullable<System.DateTime>

    (Belegdatum) Document date

    | Improve this Doc View Source

    DebitCreditIdentifier

    (Soll-/Haben-Kennzeichen) Debit/credit identifier of the amount/quantity, pertaining to the account

    Declaration
    [DataMember(Name = "debit_credit_identifier", EmitDefaultValue = false)]
    public CostAccountingRecord.DebitCreditIdentifierEnum? DebitCreditIdentifier { get; set; }
    Property Value
    Type Description
    System.Nullable<CostAccountingRecord.DebitCreditIdentifierEnum>

    (Soll-/Haben-Kennzeichen) Debit/credit identifier of the amount/quantity, pertaining to the account

    | Improve this Doc View Source

    DocumentField1

    (Beleg) Document field 1 (allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + - /)

    Declaration
    [DataMember(Name = "document_field1", EmitDefaultValue = false)]
    public string DocumentField1 { get; set; }
    Property Value
    Type Description
    System.String

    (Beleg) Document field 1 (allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + - /)

    | Improve this Doc View Source

    DocumentField2

    (Beleg 2) Document field 2 (allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + - /)

    Declaration
    [DataMember(Name = "document_field2", EmitDefaultValue = false)]
    public string DocumentField2 { get; set; }
    Property Value
    Type Description
    System.String

    (Beleg 2) Document field 2 (allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + - /)

    | Improve this Doc View Source

    Id

    (Satznummer) Block number

    Declaration
    [DataMember(Name = "id", EmitDefaultValue = false)]
    public string Id { get; set; }
    Property Value
    Type Description
    System.String

    (Satznummer) Block number

    | Improve this Doc View Source

    KostDate

    (KOST-Datum) Cost date

    Declaration
    [DataMember(Name = "kost_date", EmitDefaultValue = false)]
    public DateTime? KostDate { get; set; }
    Property Value
    Type Description
    System.Nullable<System.DateTime>

    (KOST-Datum) Cost date

    | Improve this Doc View Source

    KostQuantity

    (KOST-Menge) Cost quantity, the cost quantity field is used to record the value of a cost center's specific reference parameter, technically required field, either amount and/or cost amount is required for processing; commercial rounding when more than four decimal places

    Declaration
    [DataMember(Name = "kost_quantity", EmitDefaultValue = false)]
    public decimal? KostQuantity { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Decimal>

    (KOST-Menge) Cost quantity, the cost quantity field is used to record the value of a cost center's specific reference parameter, technically required field, either amount and/or cost amount is required for processing; commercial rounding when more than four decimal places

    | Improve this Doc View Source

    Text

    (Textfeld) Text box, longer values will be truncated when using POST

    Declaration
    [DataMember(Name = "text", EmitDefaultValue = false)]
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    (Textfeld) Text box, longer values will be truncated when using POST

    Methods

    | Improve this Doc View Source

    Equals(CostAccountingRecord)

    Returns true if CostAccountingRecord instances are equal

    Declaration
    public bool Equals(CostAccountingRecord input)
    Parameters
    Type Name Description
    CostAccountingRecord input

    Instance of CostAccountingRecord to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    | Improve this Doc View Source

    Equals(Object)

    Returns true if objects are equal

    Declaration
    public override bool Equals(object input)
    Parameters
    Type Name Description
    System.Object input

    Object to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Hash code

    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    System.String

    JSON string presentation of the object

    | Improve this Doc View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    String presentation of the object

    Overrides
    System.Object.ToString()

    Explicit Interface Implementations

    | Improve this Doc View Source

    IValidatableObject.Validate(ValidationContext)

    To validate all properties of the instance

    Declaration
    IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    System.ComponentModel.DataAnnotations.ValidationContext validationContext

    Validation context

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult>

    Validation Result

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx