Arithmetic Error Division Undefined Salesforce
account to access Salesforce. You'll be able to search for Marketing Cloud documents and take training Marketing Cloud Login Close Salesforce Login Marketing Cloud Login Close Answers Help & Training Events Collaboration Ideas User Groups Trust Known Issues Print this page Why do I get an error stating 'Division undefined System Code External entry point'? Knowledge Article Number 000003605 Description When you see this error or a permutation of this error - CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY. The formula in the “SomeWorkflowOrValidationOrFomulaField” rule or process is invalid due to the following: Division undefined: (System Code) External entry pointIt does not have anything to do with your organization having the Divisions feature enabled but rather it's referring to a formula field involved somewhere within the configuration that is dividing a number by zero because the Blank Field Handling is set to "Treat blank fields as zeroes". So, for example, if you had a formula field which was used as the criteria for a workflow rule that specified 'FieldA / FieldB' and the value that was calculated for FieldB ended up as 0, at runtime this calculation would cause an error similar to the one above. Resolution The solution to this issue is to change the formulas to "Treat blank fields as blank". promote demote Submit Salesforce Success Community Answers Dreamforce Help & Training Collaboration Ideas Featured Groups Known Issues More Places Salesforce.com AppExchange Salesforce Developers Follow us on Facebook Follow us on Twitter Visit our Channel on YouTube Follow us on Google+ Check us out on LinkedIn Contact Us 1-800-NO-SOFTWARE 1-800-667-6389 One Market St. Suite 300 San Francisco, CA, 94105 United States Need More Help? If you still can't find what you're looking for try searching H&T. Need More Help? Powered by the Salesforce Communities platform. Learn More › Privacy Statement Security Statement Terms of Use Participation Guidelines © 2000-2016, salesforce.com, inc Language English Franç
Release Overview Trailhead Books & Cheat Sheets On-Demand Webinars Certification Blogs Tools Force.com IDE Lightning Design System Source Code Scanner More Tools & Toolkits By Topic App Distribution App Logic Architect Database Lightning Mobile Integration Security User Interface Websites Community Developer Forums Events Calendar Developer MVPs Developer Groups Developer Success Stories Blogs Blog All Blogs Developer Relations Engineering Force.com Labs Tech Docs Trailhead Trailhead - Trails - Modules - Projects Get Help Join the Community Login https://help.salesforce.com/HTViewSolution?id=000003605 with Salesforce Don't have an account? Signup for a Developer Edition Browse by Topic Apex Code Development (55919) General Development (42558) Visualforce Development (28947) Formulas & Validation Rules Discussion (6911) APIs and Integration (6541) Jobs Board (6100) Other Salesforce Applications (5549) Force.com Sites & Site.com (3579) Java Development (3489) .NET Development (3326) Mobile (1748) Lightning (1499) Trailhead (3200) Perl, PHP, Python & https://developer.salesforce.com/forums/?id=906F00000008xmMIAQ Ruby Development (1893) AppExchange Directory & Packaging (1800) Mobile (1748) Security (1720) Lightning (1499) Chatter and Chatter API Development (1432) Visual Workflow (1082) Salesforce Labs & Open Source Projects (1006) Desktop Integration (967) Apple, Mac and OS X (707) VB and Office Development (613) Schema Development (600) Architecture (423) Salesforce Summer of Hacks (132) Salesforce $1 Million Hackathon (126) Predictive Services (2) View More Topics See All Posts Welcome to Support! Search for an answer or ask a question of the zone or Customer Support. Need help? Dismiss ShowAll Questionssorted byDate Posted ShowAll QuestionsUnanswered QuestionsUnsolved QuestionsSolved Questions sorted byDate PostedRecent ActivityMost Popular + Start a Discussion You need to sign in to do that Sign in to start a discussion Don't have an account? Signup for a Developer Edition Solved QuestionsThis Question pmozz01Trigger Help Please - Using AggregateResult to Compare ValuesGood morning, I am hoping someone can set me straight on what I am attempting to do here. I have a custom object Work Order that has a lookup relationship to Opportunity. There can be many Work Orders related to one opportunity. On
Sessions Ideas Apps Consulting Developers Jobs Answers Help & Training Events Collaboration Ideas Featured Groups Known Issues New here? Sign https://success.salesforce.com/answers?id=90630000000D51aAAC Up Have an account? Sign In Browse by categories All Collaboration http://stackoverflow.com/questions/11227008/salesforce-error-a-workflow-or-approval-field-update-caused-an-error-when-saving Configuration & Data Management Customer Service & Support Desktop Integration Email Email Marketing Journey Management Mobile Mobile Messaging Packaging, Uploading & Installing Apps Reports & Dashboards Sales & Marketing Security Social Marketing Additional Products Ask Search: Reset Search Welcome to Support! Search for an answer arithmetic error or ask a question of the zone or Customer Support. Need help? Dismiss ShowAll Questionssorted byDate Posted ShowAll QuestionsUnanswered QuestionsUnsolved QuestionsSolved Questions sorted byDate PostedRecent ActivityMost Popular Solved QuestionsThis Question Keagan HilliardFIELD_CUSTOM_VALIDATION_EXCEPTION Validation Formula Invalid (java.lang.ArithmeticException: Division undefined):This error pops up only on a batch APEX class I have scheduled. The offending records that show up in the arithmetic error division error were unable to save for a time after running the class, but eventually I was able to manually save one of the records. My batch class simply pulls a list of objects and calls update on them. The intention is to update workflow rules and activate field updates.The validation rule throwing the exception: NOT(ISBLANK( Final_Proposal_Selected_P3__c )) && (ISBLANK( Inverter_Type_P3__c ) || ISBLANK( Proposal_3_Selected_Fund__c )|| ISPICKVAL( Escalator_P3__c,"" ) || ISBLANK( Price_per_kWh_P3__c ) || ISBLANK( Price_per_Watt_P3__c ) || ISBLANK( System_Size_W_P3__c ) || ISBLANK( Production_kWh_y_PS3__c ) || DATEVALUE( Proposal_Generated_Complete_Date_P3__c ) here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Salesforce error A workflow or approval field update caused an error when saving this record up vote -1 down vote favorite I have one object with the name application. I am trying to update all the records of that object at that time it is throwing error message "A workflow or approval field update caused an error when saving this record. Contact your administrator to resolve it. Division undefined: []" . Why i am getting this error? Application object having some workflow rules with the field update action. I am trying to upadte xyz field with abc field. abc is a formul field it is returning value null. i am updating xyz field with null, i think that reason only i am getting this error. Is this correct or not, if it is correct how to resolve this issue. Please let me know. Thanks, Vinod. salesforce share|improve this question asked Jun 27 '12 at 13:10 user1122379 413 Show us your formula field; in addition give us information about the workflow that your object has. –Martin Borthiry Jun 27 '12 at 14:19 In my workflow criteria is 1=1, it means it will work every time when record created ecited. The workflow updating the currency field with the value of formula field(currency type). Formula field returning value 0. Updated value is also blank. I am trying to update all records through console, records are not updating nd showing error message as "System.DmlException:A workflow or approval field update caused an error when saving this record. Contact your administrator to resolve it. Division undefined: []" –user1122379 Jun 27 '12 at 14:28 1 can you include all of your workflow information in the original question? Either screenshots or copy/paste - it will greatly help in assisting you! –Mike McMahon Jun 27 '12 at 22:53 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote Given the error returned, and the lack of information provided, my best guess would be that you're dividing by NULL, dividing by 0, or you're referencing a field called Division which does