This change creates the GeneralLedgerAccount entity for the V2 client, the primary entity concerning the new (and upcoming) RevRec API features.
Examples
// creating: (account type can be Liability or Revenue)
var gla = new GeneralLedgerAccount("my accounting code", GeneralLedgerAccountType.Revenue);
gla.Create();
// getting:
var glaJustCreated = GeneralLedgerAccounts.Get(gla.Id);
// updating: (can also update the Code, but _not_ the AccountType)
gla.Description = "This is a new description";
gla.Update();
// listing:
var glas = GeneralLedgerAccounts.List();
// in addition to FilterCriteria, can also filter by account type:
var glas = GeneralLedgerAccounts.List(GeneralLedgerAccountType.Liability);
This change creates the
GeneralLedgerAccount
entity for the V2 client, the primary entity concerning the new (and upcoming) RevRec API features.Examples