LedgerEntry class

From Catglobe Wiki
Revision as of 04:30, 21 January 2021 by Administrator (talk | contribs)
Jump to: navigation, search

LedgerEntry



Represents a ledger entry in the budget for a resource.

Parent class

Inherits from object

Constructors

  • (string ledgerName "Name of the ledger that this entry belongs to", Invoice invoice "Invoice to associate the Ledger Entry with") - Create new Ledger Entry
  • (string ledgerName "Name of the ledger that this entry belongs to", CostBill invoice "Invoice to associate the Ledger Entry with") - Create new Ledger Entry

Methods

  • (From object) string ToString() - The string representation of the object.

Properties

  • string AccountName { get; } - Gets the account name for the ledger entry.
  • int AccountNumber { get; } - Gets the account number for the ledger entry.
  • number Actual { get; } - Gets the actual amount for the ledger entry.
  • number Budget { get; } - Gets the budgetted amount for the ledger entry.
  • string Description { get; set; } - Description of this ledger entry
  • int Description { get; set; } - Description of this ledger entry
  • int EntryId { get; } - Unique id for this ledger entry
  • number ExchangeRate { get; set; } - Exchange rate between selected currency and default currency
  • LedgerType constant LedgerType { get; } - Type of ledger entry, Asset = 1, Liablility = 2, Revenue = 3, Cost = 4
  • int NumberOfUnits { get; set; } - Number of units
  • string ObjectTypeName { get; } - The name of the type of object.
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.
  • number UnitCost { get; set; } - Cost per unit in the selected currency