I have a template for UNSAccountB and when I create an account manually the template works fine, but when I do it using a business role it doesn't work.
This is the relevant portion of the template (they are identical between FullManaged and Unmanaged):
Else Dim CentralAccount As String = $FK(UID_Person).CentralAccount$ If $FK(UID_Person).CCC_ImportSource$ = "ACME" Then CentralAccount = CentralAccount.Substring(0, CentralAccount.Length - 4) End If Value = CentralAccount End If