-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
14Questions
-
27Replies
adding months to dates
i have an old post on here (http://community.salesforce.com/sforce/board/message?board.id=custom_formula&message.id=4416)
where I was attempting to add 1 or 2 months to a date. For instance, if my date was 3/4/2010, I wanted to be able to add one month and get 4/4/2010.
there was a link to a page (successforce i think) that had a series of formulas that would allow me to do this. however, i need to be able to access this page again and it's gone.
does anyone know where this page is, or if there is an easier way to accomplish this now?
thanks,
miss v
-
- miss v
- March 04, 2010
- Like
- 0
- Continue reading or reply
download existing class
-
- miss v
- July 09, 2009
- Like
- 0
- Continue reading or reply
replace document button
i have a custom object with a time line attached in the notes & attachments section, and it will be updated often. i'm wondering if there is way to recreate the 'replace document' button to easily update here?
-
- miss v
- May 14, 2009
- Like
- 0
- Continue reading or reply
Need to Contract APEX project - COMPLETED
Original message:
I have a small project (I believe some APEX coding is required) that should not take more than a couple hours to complete. I am looking within a budget - I need someone that is priced $20-$25/hour.
Although this is a smaller project, if you provide what we need at that rate, I would have larger projects in the future. Please contact me if you are within this rate and have experience working with APEX and are interested in becoming a contracted consultant for our project needs. Thank you,
Valerie Thompson
vthompson@bcinsourcing.com
-
- miss v
- May 13, 2009
- Like
- 0
- Continue reading or reply
trigger to relate objects
I think I need a trigger to relate two objects,
i have two custom objects, (Product Info and Revenue)... both are the child object of Account.
In Product Info, I have a picklist of values (Organes, Apples, etc). and then a bunch of price data about each product, including my commission rate. So if the Account is Trader Joes, Oranges may .59 each. If the Account is Whole Foods, Oranges may be .69 each. Each accout has about 4 or 5 records depending on what I sell to them.
In the Revenue Object, I enter Oranges Revenue - $100,000 for May (related by Master Detail to Account - Trader Joes). That is the amount of revenue Trader Joes earned on Oranges I sold them.
Now, I want to write a formula that allows me to calculate the commisions i recieve based on each product for each month's revene. I wrote this cross object formula for the Revenue Object:
IF(ISPICKVAL(Product_Info_r.Product_c., "Oranges"), (Product_Info_r.Commision_Rate_c*Orange Revenue), null)
However, the fomula doesn't calculate correctly because when it tries to find the Commission Rate from Product_Info, it doesn't now which Orange picklist value to associate - because there is a different orange commission value under each account page.
I find this odd - consdsidering both are child objects under Account, but this seems to be the problem. I even tried adding some additional formula that said IF(Product_Info_r.AccountID=Revenue_AccountID....
Is there any way to write an Apex trigger that would associate the two object based on the account they are under? Is this is even the right way to go about this?
-
- miss v
- March 06, 2009
- Like
- 0
- Continue reading or reply
ISPICKVAL in a Cross Object not working
Basically, I just want the formula to display 1 if the Benefit Year is 2008 (text string), and 0 if anything else.
Any ideas?
IF(ISPICKVAL(Benefit__r.Benefit_Year__c, "2008"), 1,0)
-
- miss v
- January 09, 2009
- Like
- 0
- Continue reading or reply
Deploy or Create New Fields based on Data
If we have the each state listed with a checkbox, and a particular state is checked as active, can we activate new fields regarding details to that state (how many employees, languages needed,etc). So that we have the data for each "active" state, but we are bogged down with all these fields for every state - they are only visible (either by hyperlink, or in the page layout iself) if the checkbox is checked?
I tried looking up information on Apex triggers, but I don't think that is what I should be looking at.
Any help?
-
- miss v
- August 14, 2008
- Like
- 0
- Continue reading or reply
Custom Formula using IF, AND?
IF(ISPICKVAL(Payroll_Cycle__c, "Weekly"), 52,
IF( ISPICKVAL(Payroll_Cycle__c, "Semi Monthly"), 24,
IF( ISPICKVAL(Payroll_Cycle__c, "Monthly"), 12,
IF( ISPICKVAL(Payroll_Cycle__c, "Biweekly"), 26, null
)
)
)
)
I tried to add this in, but it still calculates Biweekly as 26 instead of 24: IF(AND(ISPICKVAL(Payroll_Cycle__c, "Biweekly"), Account__c: ="Test"), 24,
Does anyone have any suggestions?
Message Edited by miss v on 04-14-2008 07:38 AM
Message Edited by miss v on 04-14-2008 07:44 AM
-
- miss v
- April 14, 2008
- Like
- 0
- Continue reading or reply
mail merge - user permissions?
thanks.
-
- miss v
- February 08, 2008
- Like
- 0
- Continue reading or reply
Date Range - Reporting
However, this is not an option in the date range area. I thought about using advanced filters, but this report will be run every month, always pulling up the data from 2 months ago... I don't want to have to update my filters every month...
Any advice?
-
- miss v
- February 05, 2008
- Like
- 0
- Continue reading or reply
Mail Merge - Custom Objects
-
- miss v
- October 19, 2007
- Like
- 0
- Continue reading or reply
Formula Not working - why?
IF(AND(MONTH(Date_Seen__c)=2,YEAR(Date_Seen__c)=2007 ),20,
IF(AND(MONTH(Date_Seen__c)=3,YEAR(Date_Seen__c)=2007 ),22,
IF(AND(MONTH(Date_Seen__c)=4,YEAR(Date_Seen__c)=2007 ),21,
IF(AND(MONTH(Date_Seen__c)=5,YEAR(Date_Seen__c)=2007 ),22,
IF(AND(MONTH(Date_Seen__c)=6,YEAR(Date_Seen__c)=2007 ),21,
IF(AND(MONTH(Date_Seen__c)=7,YEAR(Date_Seen__c)=2007 ),22,
IF(AND(MONTH(Date_Seen__c)=8,YEAR(Date_Seen__c)=2007 ),23,
IF(AND(MONTH(Date_Seen__c)=9,YEAR(Date_Seen__c)=2007 ),19,
IF(AND(MONTH(Date_Seen__c)=10,YEAR(Date_Seen__c)=2007 ),23,
IF(AND(MONTH(Date_Seen__c)=11,YEAR(Date_Seen__c)=2007 ),20,
IF(AND(MONTH(Date_Seen__c)=12,YEAR(Date_Seen__c)=2007 ),20, null
)
)
)
)
)
)
)
)
)
)
)
)
-
- miss v
- September 05, 2007
- Like
- 0
- Continue reading or reply
Day of the Week - excluding Saturday and Sunday
-
- miss v
- August 13, 2007
- Like
- 0
- Continue reading or reply
"IF" Formula Field not calculating
-
- miss v
- June 21, 2007
- Like
- 0
- Continue reading or reply
Office Toolkit 4.0 and Excel Connector?
I have a user who just installed the Office Connector from inside SF (in the Desktop Integration section of Personal Setup), and it appears to have installed a version 4.0 of the toolkit.
He's getting the "Can't find project or library" error that others have reported getting as a result of a mismatch between Version 2.0 of the toolkit and Version 6.16 of the Excel Connector.
Has there been an updated version of the Excel Connector that will work with Version 4.0 of the toolkit? If not, how do I downgrade him back to Version 3.0, since the only version that will download from SF setup is version 4.0?
This is not the most technical of users, and I'm supporting him from 200 miles away, so I can't just go to his computer and do it for him. So asking him to go to the Developer Toolkit type sites and figure out what to do is asking for disaster. Please help!
- Datajunkie
- December 07, 2009
- Like
- 0
- Continue reading or reply
download existing class
- miss v
- July 09, 2009
- Like
- 0
- Continue reading or reply
Need to Contract APEX project - COMPLETED
Original message:
I have a small project (I believe some APEX coding is required) that should not take more than a couple hours to complete. I am looking within a budget - I need someone that is priced $20-$25/hour.
Although this is a smaller project, if you provide what we need at that rate, I would have larger projects in the future. Please contact me if you are within this rate and have experience working with APEX and are interested in becoming a contracted consultant for our project needs. Thank you,
Valerie Thompson
vthompson@bcinsourcing.com
- miss v
- May 13, 2009
- Like
- 0
- Continue reading or reply
trigger to relate objects
I think I need a trigger to relate two objects,
i have two custom objects, (Product Info and Revenue)... both are the child object of Account.
In Product Info, I have a picklist of values (Organes, Apples, etc). and then a bunch of price data about each product, including my commission rate. So if the Account is Trader Joes, Oranges may .59 each. If the Account is Whole Foods, Oranges may be .69 each. Each accout has about 4 or 5 records depending on what I sell to them.
In the Revenue Object, I enter Oranges Revenue - $100,000 for May (related by Master Detail to Account - Trader Joes). That is the amount of revenue Trader Joes earned on Oranges I sold them.
Now, I want to write a formula that allows me to calculate the commisions i recieve based on each product for each month's revene. I wrote this cross object formula for the Revenue Object:
IF(ISPICKVAL(Product_Info_r.Product_c., "Oranges"), (Product_Info_r.Commision_Rate_c*Orange Revenue), null)
However, the fomula doesn't calculate correctly because when it tries to find the Commission Rate from Product_Info, it doesn't now which Orange picklist value to associate - because there is a different orange commission value under each account page.
I find this odd - consdsidering both are child objects under Account, but this seems to be the problem. I even tried adding some additional formula that said IF(Product_Info_r.AccountID=Revenue_AccountID....
Is there any way to write an Apex trigger that would associate the two object based on the account they are under? Is this is even the right way to go about this?
- miss v
- March 06, 2009
- Like
- 0
- Continue reading or reply
ISPICKVAL in a Cross Object not working
Basically, I just want the formula to display 1 if the Benefit Year is 2008 (text string), and 0 if anything else.
Any ideas?
IF(ISPICKVAL(Benefit__r.Benefit_Year__c, "2008"), 1,0)
- miss v
- January 09, 2009
- Like
- 0
- Continue reading or reply
Calculate Working days through Apex
sorry if this has already been posted.
I am working on the Customer Service part of Salesforce.
When logging Cases, the system should calculate a due date based on the SLA and on the Customer Service Center Calendar (meaning, without holidays, bank holidays, week-ends, etc.).
Since there are no standard feature to enable this feature, I have been told this is feasible through Apex.
I'm pretty new in the Apex world: I've done some developments, but nothing too fancy, so if you could help me out on this one, I would really appreciate.
Not mentioning I'm sure it's the kind of issue Customers face all the time...
Thanks in advance,
Free
- Free
- August 29, 2008
- Like
- 0
- Continue reading or reply
Deploy or Create New Fields based on Data
If we have the each state listed with a checkbox, and a particular state is checked as active, can we activate new fields regarding details to that state (how many employees, languages needed,etc). So that we have the data for each "active" state, but we are bogged down with all these fields for every state - they are only visible (either by hyperlink, or in the page layout iself) if the checkbox is checked?
I tried looking up information on Apex triggers, but I don't think that is what I should be looking at.
Any help?
- miss v
- August 14, 2008
- Like
- 0
- Continue reading or reply
How to make a Date formula field which will add Months?
I have a formula field named Contract End Date and the value of this field should be calucated based on Contract Start Date and the Contract Duration. Contract Start Date is of type Date and Contract Duration is the number of months. Id I just add both the fields it considers Contract Duration as number of days instead of month. How do I achieve this?
Thanks
Jina
- Jina Chetia
- July 16, 2008
- Like
- 1
- Continue reading or reply
Custom Formula using IF, AND?
IF(ISPICKVAL(Payroll_Cycle__c, "Weekly"), 52,
IF( ISPICKVAL(Payroll_Cycle__c, "Semi Monthly"), 24,
IF( ISPICKVAL(Payroll_Cycle__c, "Monthly"), 12,
IF( ISPICKVAL(Payroll_Cycle__c, "Biweekly"), 26, null
)
)
)
)
I tried to add this in, but it still calculates Biweekly as 26 instead of 24: IF(AND(ISPICKVAL(Payroll_Cycle__c, "Biweekly"), Account__c: ="Test"), 24,
Does anyone have any suggestions?
Message Edited by miss v on 04-14-2008 07:38 AM
Message Edited by miss v on 04-14-2008 07:44 AM
- miss v
- April 14, 2008
- Like
- 0
- Continue reading or reply
mail merge - user permissions?
thanks.
- miss v
- February 08, 2008
- Like
- 0
- Continue reading or reply
Date Range - Reporting
However, this is not an option in the date range area. I thought about using advanced filters, but this report will be run every month, always pulling up the data from 2 months ago... I don't want to have to update my filters every month...
Any advice?
- miss v
- February 05, 2008
- Like
- 0
- Continue reading or reply
Formula Not working - why?
IF(AND(MONTH(Date_Seen__c)=2,YEAR(Date_Seen__c)=2007 ),20,
IF(AND(MONTH(Date_Seen__c)=3,YEAR(Date_Seen__c)=2007 ),22,
IF(AND(MONTH(Date_Seen__c)=4,YEAR(Date_Seen__c)=2007 ),21,
IF(AND(MONTH(Date_Seen__c)=5,YEAR(Date_Seen__c)=2007 ),22,
IF(AND(MONTH(Date_Seen__c)=6,YEAR(Date_Seen__c)=2007 ),21,
IF(AND(MONTH(Date_Seen__c)=7,YEAR(Date_Seen__c)=2007 ),22,
IF(AND(MONTH(Date_Seen__c)=8,YEAR(Date_Seen__c)=2007 ),23,
IF(AND(MONTH(Date_Seen__c)=9,YEAR(Date_Seen__c)=2007 ),19,
IF(AND(MONTH(Date_Seen__c)=10,YEAR(Date_Seen__c)=2007 ),23,
IF(AND(MONTH(Date_Seen__c)=11,YEAR(Date_Seen__c)=2007 ),20,
IF(AND(MONTH(Date_Seen__c)=12,YEAR(Date_Seen__c)=2007 ),20, null
)
)
)
)
)
)
)
)
)
)
)
)
- miss v
- September 05, 2007
- Like
- 0
- Continue reading or reply