Skip to main content

1. Create Payment in SF

This job was provided by an OpenFn.org user via the job library API.

Metadata

Key Functions

create, dataValue, field, fields, relationship

Expression

create('Payment__c', fields(
field('Name', dataValue('reference_number')),
field('Amount__c', dataValue('amount')),
field('Phone_Number__c', dataValue('sender_number')),
relationship('Contract__r', 'ContractNumber', dataValue('contract_number'))
));