• Piotr@Pronto
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 25
    Replies

Hi everyone,

 

We're looking to implement a trigger that's based on certain criteria from Subscription object (custom): Zuora__SubscriptionProductCharge__c , updates will be made to Account object (standard). Here's the logic:

 

- if Product_SKU__c equals "A-100001" and Status__c equals "Active" (both under Subscription object) then Social_Media__c (checkbox field under Account equals "True")

- of course after the update, if Status_cc becomes "Inactive", Social_Media__c should become "False"

- please note there could be a few subscriptions with the same data

 

Could someone help come up with the code as well as test code?

 

I'm new to Apex code and since last month I'm trying to learn and find my way around it. So far, my knowledge is very limited.

 

I'd appreciate anyone's help!

 

Thanks

Piotr

Hi everyone,

 

Lately we began sending Email Alerts to our Contacts from SFDC. The problem we're facing now is the unsubscribe link that we need to include in each email. At the moment once you click on "unsubscribe" it takes you to a little form that asks you for your email address and once it's filled out and submitted, we get notified and personally unsusbcribe or check "email opt out" checkbox for a contact.

 

This is obviously inconvenient and requires a lot of manual work. Is there any way we can somehow get that integrated so once someone clicks on "unsubscribe" email opt out becomes "true"?

 

We don't want to send those emails from another platform and workflows are a way to go here. It makes it easy, but the unsubscribe is a bit tough...

 

Thanks,

Piotr

Hello everyone,

 

Im a total newbie to the Apex World but really keen on learning!

 

We're trying to build a code that would let us connect two fields under standard objects namely Account and Contact.

 

e.g. if "A" field (checkbox) under "Account" object is TRUE - "A" field (checkbox) under "Contact" object is also TRUE.

 

We're also trying to get the same work with the "date" field e.g. if I insert a date 5/5/2012 in "Test Date" field under "Account" object, the exact same date will appear under "Test Date" field under "Contact" object.

 

Why we want to do that? We'd like this to trigger certain workflows built on "Contact" object but want to do updated under "Account" object only.

 

Would someone be able to help me out?

 

Thanks you all

Piotr

Hi everyone,

 

We're looking to implement a trigger that's based on certain criteria from Subscription object (custom): Zuora__SubscriptionProductCharge__c , updates will be made to Account object (standard). Here's the logic:

 

- if Product_SKU__c equals "A-100001" and Status__c equals "Active" (both under Subscription object) then Social_Media__c (checkbox field under Account equals "True")

- of course after the update, if Status_cc becomes "Inactive", Social_Media__c should become "False"

- please note there could be a few subscriptions with the same data

 

Could someone help come up with the code as well as test code?

 

I'm new to Apex code and since last month I'm trying to learn and find my way around it. So far, my knowledge is very limited.

 

I'd appreciate anyone's help!

 

Thanks

Piotr

Hi everyone,

 

Lately we began sending Email Alerts to our Contacts from SFDC. The problem we're facing now is the unsubscribe link that we need to include in each email. At the moment once you click on "unsubscribe" it takes you to a little form that asks you for your email address and once it's filled out and submitted, we get notified and personally unsusbcribe or check "email opt out" checkbox for a contact.

 

This is obviously inconvenient and requires a lot of manual work. Is there any way we can somehow get that integrated so once someone clicks on "unsubscribe" email opt out becomes "true"?

 

We don't want to send those emails from another platform and workflows are a way to go here. It makes it easy, but the unsubscribe is a bit tough...

 

Thanks,

Piotr

Hello everyone,

 

Im a total newbie to the Apex World but really keen on learning!

 

We're trying to build a code that would let us connect two fields under standard objects namely Account and Contact.

 

e.g. if "A" field (checkbox) under "Account" object is TRUE - "A" field (checkbox) under "Contact" object is also TRUE.

 

We're also trying to get the same work with the "date" field e.g. if I insert a date 5/5/2012 in "Test Date" field under "Account" object, the exact same date will appear under "Test Date" field under "Contact" object.

 

Why we want to do that? We'd like this to trigger certain workflows built on "Contact" object but want to do updated under "Account" object only.

 

Would someone be able to help me out?

 

Thanks you all

Piotr