TransactionsAccountBalance Method
Retrieves SUM of all amounts for a single account for a data range
Namespace: MbcsCentral.WinGLAssembly: MbcsCentral (in MbcsCentral.exe) Version: 2.0.1.15 (2.0.1.15)
public static decimal AccountBalance(
int Company,
int Account,
DateTime StartDate,
DateTime EndDate,
int Department = 0
)
- Company Int32
- The CompanyNumber for which to retrieve balance
- Account Int32
- The Account Key for which to retrieve balance
- StartDate DateTime
- The start of the date range
- EndDate DateTime
- The end of the date range
- Department Int32 (Optional)
- The DepartmentNumber for which to retrieve balance
DecimalThe decimal balance value