Skip to main content

Recode Account Cards

This tool renumbers the codes of the sub accounts under a main account you choose. Each sub account takes the code of its main account followed by a sequence number. For the steps, see Recode accounts.

Opening the window​

  • From the ribbon: Accounts > Tools > Tools > Recode Account Cards. The icon appears if your licence includes the extended reports feature.
  • You need the Recode Account Cards permission in Users Management. It is one check box that allows running the tool.
  • From the Chart of Accounts: right-click an account that has sub accounts and choose Recode Accounts. The window opens with the account already chosen.

The Recode Account Cards window with the Account field and the Ok and Cancel buttons

Field and buttons​

FieldDescriptionRequiredValues and rules
AccountThe main account whose sub accounts will be recoded.YesChoose an account that has sub accounts. Example: 132. The code of this account does not change.
ButtonWhat it does
OkAsks for confirmation, then recodes the sub accounts.
CancelCloses the window with no change.

What the program does​

The program recodes from the chosen account downward, level by level:

  1. It takes the direct children of the account and sorts them by their current codes.
  2. It gives each child a new code: the code of its parent followed by the child's sequence number.
  3. It writes the sequence number with enough digits for the number of children: one digit up to 9 children, two up to 99, three up to 999, and four after that.
  4. It repeats the steps for the children of each child, down to the last level.
  5. If an account gets the same code as another account, the program adds the character * at the end of its code.

Example: the account 11 has three sub accounts with the codes 1105, 1102 and 1109. After the command, 1102 becomes 111, 1105 becomes 112 and 1109 becomes 113. If it had twelve sub accounts, their codes would be 1101 to 1112.

The program does not change account names, balances or entries. It changes the code only. If you choose an account with no sub accounts, nothing changes, and the success message still appears.

Messages​

MessageWhy it appearsWhat to do
Account must be selectedYou clicked Ok and Account is empty.Choose an account.
This operation will re-code the sub account cards. Do you want to continue?You clicked Ok after choosing an account.Choose Yes to continue, or No to cancel.
Operation successfully completedThe recoding finished.Nothing.
You don't have the appropriate authority to perform this operationYou do not have the Recode Account Cards permission.Ask the users administrator for it.
Error in PrcReorderAccountsCodesThe command failed in the database.Try again. If the error repeats, contact technical support.

After success, the program records the operation in the operations log with the code and name of the account.

This page applies to alameen ERP 10, version 10.1.79.764.