Five new variables in ARM reports to get organisation or branch name and corporate ID

Accounting: GL Reconciliation Version 9.05

In ARM reports, there are 5 new variables to use in the Column set headings to get the organisation or branch name and corporate ID.

=Report.GetOrganizationNameFromId(organizationId):
where you replace the organizationId with @Organisation, will return the selected company and it must be used together with request for company. If the request is off, it returns the main company name.

=Report.GetBranchName(branchId):
where you replase branchId with @StartBranch or @EndBranch, will return the requested branch corporate ID. If the request is off, it returns nothing.

=Report.GetOrganizationNameFromBranch(branchId)
where you replace branchId with @StartBranch ore @EndBranch, will return the company name for the branch

=Report.GetCorporateIDFromBranch(branchId):
where you replase branchId with @StartBranch or @EndBranch, will return the requested branch corporate ID. If the request is off, it returns the active branch corporate ID.

=Report.GetCorporateIDFromOrganization(organizationId):
where you replace organizationId with @Organization, will return the requested company’s corporate ID. If the request is off, it returns the active branch corporate ID.

Existing customers using multi-branch have to update the column set they use to get the new methods in the formulas. These are the formulas used in new created companies

Update company name so it prints the selected
=IIf(@Organization>‘0’,Report.GetOrganizationNameFromId(@Organization), IIf(@StartBranch>‘0’,Report.GetOrganizationNameFromBranch(@StartBranch), Report.GetDefUI(‘RowCompanyBAccount.AcctName’)))

Update corporate ID so it print branch ID/name or company corporate ID
=IIf( @EndBranch > ‘0’ and @StartBranch @EndBranch, ‘Branch ’ + @StartBranch + ’ - ’ + @EndBranch ,IIf( @StartBranch > ‘0’ and @StartBranch = @EndBranch, Report.GetBranchName(@StartBranch), ‘Corporate ID: ’ + Report.GetCorporateIDFromOrganization(@Organization)) )

Add corporate ID for branch
=IIf( @Organization> ‘0’ and @StartBranch @EndBranch, ‘Corporate ID: ’ + Report.GetCorporateIDFromOrganization(@Organization), IIf( @EndBranch > ‘0’ and @EndBranch @StartBranch, ‘Corporate ID: N/A’ , IIf( @StartBranch > ‘0’ and @StartBranch = @EndBranch , ‘Corporate ID: ’ + Report.GetCorporateIDFromBranch(@StartBranch),’ ‘)))

Replace corporate ID and branch with your local language.