Skip to content

Instantly share code, notes, and snippets.

View julianperezpesce's full-sized avatar

Julián Pérez Pesce julianperezpesce

  • Programador Jr Fulltstack JavaScript (React - NodeJs)
  • San Rafael, Mza, Argentina
View GitHub Profile
@julianperezpesce
julianperezpesce / bck.20190326175140.navigator.settings.json
Last active November 28, 2021 20:44
Visual Studio Code Settings Sync Gist
{
"python.pythonPath": "C:\\Users\\Julian\\Anaconda3\\pythonw.exe",
"editor.fontSize": 16,
"workbench.sideBar.location": "left"
}
public with sharing class AccountManager {
// createAccount: Creates an account by receiving the name, number of employees, document
// type and document number. Returns the id of the new account
// Este esta bien, había que resolver try and catch, pero es mejor opción Database Save Result
public static Id createAccount(String name, Integer numberOfEmployees, String documentType, String documentNumber) {
Account anAccount = new Account(
Name = name,
NumberOfEmployees = numberOfEmployees,
Identification_Type__c = documentType,