C General Ledger Accounts

From Sage Evolution SDK | Documentation Portal
Revision as of 15:31, 22 October 2015 by Admin (Talk | contribs)

Jump to: navigation, search

The supplier class is used to create General Ledger Accounts which can be used on Ledger related processes.

The following code displays how a new GL Account is created with the basic necessary properties like Code and Account Type specified. //Assign variable gl to GLAccount class GLAccount gl = new GLAccount(); //Specify Account properties like code and Account Type gl.Code = "SDKAccount"; gl.Type = GLAccount.AccountType.CurrentAsset; //Use the save method to Save the Account gl.Save(); - See more at: http://kb.pastel.co.za/article.php?id=1988#sthash.qmXhje5v.dpuf