How codes of Organisation and Organisation Group are determined in Confirm

Product Feature: Street Works

Operating System: Not stated

Database: Not stated

Configuration: Not stated
In Confirm you may notice that the codes for Organisations and Organisation groups are different. To clarify, If it is a brand new Organisation then:

"Organisation code is generated with the concatenation of external_ref_1 (DFT ref1) and last three integer digits of external_ref_2 (DFT ref2)"

If it is a new Organisation Group then the Organisation Group code is generated as same as the Organisation ID
UPDATED:  November 19, 2017