Skip to content

Commit

Permalink
SFDC: add owner.isactive to CAMPAIGN_FIELDS
Browse files Browse the repository at this point in the history
  • Loading branch information
brmeyer committed Jul 28, 2023
1 parent 189a472 commit a9d5df3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
import com.impactupgrade.nucleus.util.HttpClient;
import com.sforce.soap.partner.sobject.SObject;
import com.sforce.ws.ConnectionException;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.jruby.embed.LocalContextScope;
import org.jruby.embed.PathType;
import org.jruby.embed.ScriptingContainer;
Expand Down Expand Up @@ -103,7 +101,7 @@ public SfdcClient(Environment env, String username, String password, boolean isS
boolean npsp = env.getConfig().salesforce.npsp;

ACCOUNT_FIELDS = "id, OwnerId, name, phone, BillingStreet, BillingCity, BillingPostalCode, BillingState, BillingCountry, ShippingStreet, ShippingCity, ShippingPostalCode, ShippingState, ShippingCountry";
CAMPAIGN_FIELDS = "id, name, parentid, ownerid";
CAMPAIGN_FIELDS = "id, name, parentid, ownerid, owner.isactive";
// TODO: Finding a few clients with no homephone, so taking that out for now.
CONTACT_FIELDS = "Id, AccountId, OwnerId, Owner.Id, Owner.Name, FirstName, LastName, Account.Id, Account.Name, Account.BillingStreet, Account.BillingCity, Account.BillingPostalCode, Account.BillingState, Account.BillingCountry, Account.ShippingStreet, Account.ShippingCity, Account.ShippingPostalCode, Account.ShippingState, Account.ShippingCountry, name, email, mailingstreet, mailingcity, mailingstate, mailingpostalcode, mailingcountry, CreatedDate, MobilePhone, Phone";
LEAD_FIELDS = "Id, FirstName, LastName, Email";
Expand Down

0 comments on commit a9d5df3

Please sign in to comment.