If AccountRolePk is zero, this will return the DefaultAccountRolePk from the Account Application Type or, if this is not specified, an Account object will be created and this will return the default Account Type based on the Account's Product Type (therefore, it is a good idea to cache this value where possible).