- node.js
- Installation paths: use one of these techniques to install node and npm without having to sudo.
- Node.js HOWTO: Install Node+NPM as user (not root) under Unix OSes
- Felix's Node.js Guide
- Creating a REST API using Node.js, Express, and MongoDB
- Node Cellar Sample Application with Backbone.js, Twitter Bootstrap, Node.js, Express, and MongoDB
- JavaScript Event Loop
- Node.js for PHP programmers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trigger DirectContactProhibited on Contract__c (after insert, after update) { | |
Contract__c Con = Trigger.new[0]; | |
// Pull the parent account | |
Account TheAccount = [Select id, Direct_Contact_Prohibited__c from Account where id =:Con.Contracting_Entity__c]; | |
// There will be no related contracts/accounts at the time a new contract is created, so only need to update the Account object | |
if (Trigger.isInsert){ | |
if (Con.Direct_Contact_Prohibited__c == TRUE){ | |
TheAccount.Direct_Contact_Prohibited__c = TRUE; |