portal = context.getPortalObject()

reference = "SUBREQ-%s" % portal.portal_ids.generateNewId(
    id_group='slap_subscription_request_reference',
    id_generator='uid')

context.edit(reference=reference)

3ad09c06d5508043229a2aec4e15bd74f5008bb9
<mask token>

<mask token>
context.edit(reference=reference)

portal = context.getPortalObject()
reference = 'SUBREQ-%s' % portal.portal_ids.generateNewId(id_group=
    'slap_subscription_request_reference', id_generator='uid')
context.edit(reference=reference)

portal = context.getPortalObject()

reference = "SUBREQ-%s" % portal.portal_ids.generateNewId(
    id_group='slap_subscription_request_reference',
    id_generator='uid')

context.edit(reference=reference)
