Skip to content

Instantly share code, notes, and snippets.

View hpmohan's full-sized avatar

Hareesh Mohan hpmohan

View GitHub Profile
@hpmohan
hpmohan / RecordTypeID.text
Last active December 20, 2022 20:47
Record type id by developer name
Id businessRecordTypeId = Schema.SObjectType.Account.getRecordTypeInfosByName().get('Business').getRecordTypeId();
Id partnerRecordTypeId = Schema.SObjectType.Account.getRecordTypeInfosByName().get('Business').getRecordTypeId();
@hpmohan
hpmohan / Deploy.yaml
Last active January 25, 2021 22:11
Run test on pull request
name: Deploy on Push
on:
push:
branches:
- Dev
jobs:
test: