You can consider 9N go to an ARS that sends Company Main, and 8N go to a separate ARS that sends the DID
Or if you don't want the users to think about it (or they can't), use 2 separate User Rights, and assign Users as needed. Set the 9N Shortcode to go to the appropriate ARS table
ARS for Company Main is
N; / Dial 3K1 / Ns1112223333 / PRI Line Group
If the Incoming Call Route has the full 10 digit number, and not just the last 4 digit, AND there are no Users with more than one DID assigned to them, the ARS entry is just
N; / Dial 3K1 / N / PRI Line Group
If the ICR has just the last 4 digits, not the entire 10 digit number, the ARS entry is
N; / Dial 3K1 / Ns111222E / PRI Line Group
And the *DCP stuff on the user is auto generated by the system as needed