Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ef0bb1e
FogBugz integration - Use cases 1 and 2
Nov 15, 2012
9301e25
Fixed e-mail dispatch on opportunity creation
Nov 15, 2012
e051f99
Replaced mail mechanism for new opptys with workflow rules
Nov 16, 2012
57dcb53
Added mail task to FB note
Nov 16, 2012
7be67f5
Verify Oppty is a FB case before calling the @future method
Nov 16, 2012
2144add
Put latest FB case event on oppty description when synchronizing FB->SF
Nov 20, 2012
eb268fe
Added FB->SF sync using URL trigger plugin
Nov 21, 2012
4545aaa
Forgot updated package.xml
Nov 21, 2012
be57628
Fixed opportunity workflow to send email after FB ticket number is set
Nov 21, 2012
c30a19c
Modified sync script to run as a batch job to avoid Apex limits. Chan…
Dec 13, 2012
0bb30f6
Increased FB's API timeout to 60 secs
Dec 20, 2012
c5d513e
Updating GitHub with latest stuff
Apr 4, 2013
d17c9e8
Opportunity Country piece. Pushing modified artifacts.
Apr 5, 2013
a967e22
Merge pull request #4 from agrassi/fb_integration
czue Apr 8, 2013
0657357
Merge pull request #5 from grilo/gabriel_work
czue Apr 8, 2013
136e21f
Merge pull request #8 from virginiafernandez/task698
czue Apr 16, 2013
bb49cb9
Updating stff
virginiafernandez Apr 16, 2013
5149e6f
Merged with remote dimagi/master
virginiafernandez Apr 16, 2013
38724b4
(@ #704) merge with task704
virginiafernandez Apr 16, 2013
afd387b
code review
virginiafernandez Apr 16, 2013
c140183
(@ #702) fixed issue
virginiafernandez Apr 17, 2013
2a51390
(@ #704 and #703) fixed issue with batch and future calls
virginiafernandez Apr 17, 2013
69039bf
(@ #713) probability/amount update
virginiafernandez Apr 18, 2013
18e4949
@ #713 added update tag on amount update
virginiafernandez Apr 29, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/classes/AccountOpenContactsController.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
public class AccountOpenContactsController {

public Contact contact;

public AccountOpenContactsController() {

contact = [SELECT Id, Name FROM Contact WHERE Id = '003g000000250sJ'];

}

public Contact getContact() {
return contact;
}

}
5 changes: 5 additions & 0 deletions src/classes/AccountOpenContactsController.cls-meta.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>27.0</apiVersion>
<status>Active</status>
</ApexClass>
29 changes: 29 additions & 0 deletions src/classes/ContactOppsController.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
public class ContactOppsController {

private List<Account> accts;
private Contact cntact;
private List<String> children;

public ContactOppsController(ApexPages.StandardController controller) {
this.cntact = (Contact)controller.getRecord();
}

public List<Account> getAccts() {
Contact con = [SELECT id, Account.id, Account.parentId FROM Contact where id = :cntact.id];
if (con.Account == null)
return null;

children = this.getChildAccounts(con.Account);
accts = [SELECT id, Name, Country__c from Account];
return accts;
}

public List<String> getChildAccounts(Account parentAccount) {

List<String> testing;
Account pAcct = [SELECT id from Account where id = :parentAccount.Id];
testing.add(pAcct.Id);
return testing;
}

}
5 changes: 5 additions & 0 deletions src/classes/ContactOppsController.cls-meta.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>27.0</apiVersion>
<status>Active</status>
</ApexClass>
18 changes: 18 additions & 0 deletions src/classes/CountryAccounts.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
public with sharing class CountryAccounts {

/* Constructor does nothing */
public CountryAccounts(ApexPages.StandardController controller) {

}

/* Return Open Accounts */

public Account[] getOpenAccounts() {

Account[] openAccountList;
openAccountList = [SELECT Name, Id, Phone, Country__c FROM Account];

return openAccountList;
}

}
5 changes: 5 additions & 0 deletions src/classes/CountryAccounts.cls-meta.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>27.0</apiVersion>
<status>Active</status>
</ApexClass>
Loading