• Amanda Hollowell
  • NEWBIE
  • 10 Points
  • Member since 2015
  • Sales Operations Analyst
  • Carbon, Inc.


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 1
    Replies
Hi,

We have a custom visualforce page for our Opportunity object.

I am able to add new fields to this Opportunity object in our refreshed sandbox without issue. However, adding new fields breaks one of our validation rules. I'm not sure why this is, given the validation rule,requiring certain fields to be filled out before going from stage A to stage B, does not have anything to do with the newly added fields. I still briefly see the error messages that should be received before the record is saved as Stage B. Any ideas what might be causing this?

Or at minimum, where would this validation rule live? On the visualforce page? On the Apex Controller for the page?

Any help appreciated!
This is my first attempt to deploy something from one sandbox to another.

All changes are on a custome Visualforce Opportunity page.

I have only added three new fields and removed some fields and related lists from the visualforce page. Although everything is working perfectly in the Sandbox 1 environment, when I deployed it to Sandbox 2 it does not look the same. In-line editing is no longer possible and these fields are missing from our "edit" visualforce page.

Am I missing something simple during the deployment process? It seems to me if:

1. Things are working in the Sandbox 1 this should imply that pushing these changes to Sandbox 2 should also work. 
2. If I add all the components that I changed to the change set, then check for dependencies and add those, that should cover all of the things I need to add to the change set.

Any help appreciated!
Is the ROUND() function available in SOQL?

I am using a SOQL query to average all the records in a formula field (This formula field calculates the time between two date fields)
Currently when I calculate the average for the formula field it includes two decimal places. I would prefer the result only include whole numbers.

Thanks in advance for your help!
This is my first attempt to deploy something from one sandbox to another.

All changes are on a custome Visualforce Opportunity page.

I have only added three new fields and removed some fields and related lists from the visualforce page. Although everything is working perfectly in the Sandbox 1 environment, when I deployed it to Sandbox 2 it does not look the same. In-line editing is no longer possible and these fields are missing from our "edit" visualforce page.

Am I missing something simple during the deployment process? It seems to me if:

1. Things are working in the Sandbox 1 this should imply that pushing these changes to Sandbox 2 should also work. 
2. If I add all the components that I changed to the change set, then check for dependencies and add those, that should cover all of the things I need to add to the change set.

Any help appreciated!