Search Results for

    Show / Hide Table of Contents

    Class StocktakingRecord

    StocktakingRecord

    Inheritance
    System.Object
    StocktakingRecord
    Implements
    System.IEquatable<StocktakingRecord>
    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 StocktakingRecord : IEquatable<StocktakingRecord>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    StocktakingRecord()

    Initializes a new instance of the StocktakingRecord class.

    Declaration
    protected StocktakingRecord()
    | Improve this Doc View Source

    StocktakingRecord(String, Nullable<Int32>, String, Nullable<Int32>, DatevGeneralLedgerAccountMinimal, String, String, Nullable<Int32>, Nullable<DateTime>, String, Nullable<Decimal>, Nullable<Decimal>, Nullable<DateTime>, String, String, String, String, String, String, String, String, String)

    Initializes a new instance of the StocktakingRecord class.

    Declaration
    public StocktakingRecord(string id = null, int? assetNumber = null, string inventoryNumber = null, int? accountingReason = null, DatevGeneralLedgerAccountMinimal generalLedgerAccount = null, string inventoryName = null, string kost1CostCenterId = null, int? branch = null, DateTime? orderDate = null, string originType = null, decimal? price = null, decimal? quantity = null, DateTime? stocktakingDate = null, string unit = null, string farmlandNumber = null, string serialNumber = null, string location = null, string contractNumber = null, string typeOfUse = null, string condition = null, string isin = null, string explanationOfDepreciation = null)
    Parameters
    Type Name Description
    System.String id

    ID comprising the accounting reason and the asset ID.

    System.Nullable<System.Int32> assetNumber

    (Wirtschaftsgut-ID) Asset ID (required).

    System.String inventoryNumber

    (Inventarnummer) Inventory number (required).

    System.Nullable<System.Int32> accountingReason

    (Bereich) Accounting reason (50: commercial law, 30: tax law, 40: for calculation, 64: ifrs, 11: reserved1, 12: reserved2)..

    DatevGeneralLedgerAccountMinimal generalLedgerAccount

    (Sachkonto) General ledger account.

    System.String inventoryName

    (Inventarbezeichnung) Inventory name.

    System.String kost1CostCenterId

    (Kostenstelle 1) Cost center 1.

    System.Nullable<System.Int32> branch

    (Filiale) Branch.

    System.Nullable<System.DateTime> orderDate

    (Bestelldatum) Order date.

    System.String originType

    (Herkunftsart) Origin type.

    System.Nullable<System.Decimal> price

    (Preis) Price (max. 2 decimal places).

    System.Nullable<System.Decimal> quantity

    (Menge) Quantity (max. 2 decimal places).

    System.Nullable<System.DateTime> stocktakingDate

    (Inventurdatum) Stocktaking date.

    System.String unit

    (Einheit) Unit.

    System.String farmlandNumber

    (Flurnummer) Farmland number.

    System.String serialNumber

    (Seriennummer) Serial number.

    System.String location

    (Standort) Location.

    System.String contractNumber

    (Vertragsnummer) Contract number.

    System.String typeOfUse

    (Nutzungsart) Type of use.

    System.String condition

    (Zustand) Condition (new/used).

    System.String isin

    (WKN/ISIN) WKN/ISIN, codes used to identify securities.

    System.String explanationOfDepreciation

    (Erläuterung zur AfA-Art) Explanation of depreciation.

    Properties

    | Improve this Doc View Source

    AccountingReason

    (Bereich) Accounting reason (50: commercial law, 30: tax law, 40: for calculation, 64: ifrs, 11: reserved1, 12: reserved2).

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

    (Bereich) Accounting reason (50: commercial law, 30: tax law, 40: for calculation, 64: ifrs, 11: reserved1, 12: reserved2).

    | Improve this Doc View Source

    AcquisitionDate

    (Anschaffungs- und Herstellungsdatum) Acquisition and manufacturing date

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

    (Anschaffungs- und Herstellungsdatum) Acquisition and manufacturing date

    | Improve this Doc View Source

    AssetNumber

    (Wirtschaftsgut-ID) Asset ID

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

    (Wirtschaftsgut-ID) Asset ID

    | Improve this Doc View Source

    Branch

    (Filiale) Branch

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

    (Filiale) Branch

    | Improve this Doc View Source

    Condition

    (Zustand) Condition (new/used)

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

    (Zustand) Condition (new/used)

    | Improve this Doc View Source

    ContractNumber

    (Vertragsnummer) Contract number

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

    (Vertragsnummer) Contract number

    | Improve this Doc View Source

    EconomicLifetime

    (Nutzungsdauer) Economic lifetime

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

    (Nutzungsdauer) Economic lifetime

    | Improve this Doc View Source

    ExplanationOfDepreciation

    (Erläuterung zur AfA-Art) Explanation of depreciation

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

    (Erläuterung zur AfA-Art) Explanation of depreciation

    | Improve this Doc View Source

    FarmlandNumber

    (Flurnummer) Farmland number

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

    (Flurnummer) Farmland number

    | Improve this Doc View Source

    GeneralLedgerAccount

    (Sachkonto) General ledger account

    Declaration
    [DataMember(Name = "general_ledger_account", EmitDefaultValue = false)]
    public DatevGeneralLedgerAccountMinimal GeneralLedgerAccount { get; set; }
    Property Value
    Type Description
    DatevGeneralLedgerAccountMinimal

    (Sachkonto) General ledger account

    | Improve this Doc View Source

    Id

    ID comprising the accounting reason and the asset ID

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

    ID comprising the accounting reason and the asset ID

    | Improve this Doc View Source

    InventoryName

    (Inventarbezeichnung) Inventory name

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

    (Inventarbezeichnung) Inventory name

    | Improve this Doc View Source

    InventoryNumber

    (Inventarnummer) Inventory number

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

    (Inventarnummer) Inventory number

    | Improve this Doc View Source

    Isin

    (WKN/ISIN) WKN/ISIN, codes used to identify securities

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

    (WKN/ISIN) WKN/ISIN, codes used to identify securities

    | Improve this Doc View Source

    Kost1CostCenterId

    (Kostenstelle 1) Cost center 1

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

    (Kostenstelle 1) Cost center 1

    | Improve this Doc View Source

    Location

    (Standort) Location

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

    (Standort) Location

    | Improve this Doc View Source

    OrderDate

    (Bestelldatum) Order date

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

    (Bestelldatum) Order date

    | Improve this Doc View Source

    OriginType

    (Herkunftsart) Origin type

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

    (Herkunftsart) Origin type

    | Improve this Doc View Source

    Price

    (Preis) Price (max. 2 decimal places)

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

    (Preis) Price (max. 2 decimal places)

    | Improve this Doc View Source

    Quantity

    (Menge) Quantity (max. 2 decimal places)

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

    (Menge) Quantity (max. 2 decimal places)

    | Improve this Doc View Source

    SerialNumber

    (Seriennummer) Serial number

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

    (Seriennummer) Serial number

    | Improve this Doc View Source

    StocktakingDate

    (Inventurdatum) Stocktaking date

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

    (Inventurdatum) Stocktaking date

    | Improve this Doc View Source

    TypeOfUse

    (Nutzungsart) Type of use

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

    (Nutzungsart) Type of use

    | Improve this Doc View Source

    Unit

    (Einheit) Unit

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

    (Einheit) Unit

    Methods

    | Improve this Doc View Source

    Equals(StocktakingRecord)

    Returns true if StocktakingRecord instances are equal

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

    Instance of StocktakingRecord 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