SetDictVariable is used to set variable values using an index or a key.
SetDictVariable('Name of variable', 'Key', value)
SetDictVariable('Addresss', 'Addr1', Addresses[@value = '1'])
SetDictVariable('Addresss', 'Partner', Addresses[@value = '2'])
SetDictVariable('Addresss', 'DocNr', @DocNumber)