Currency addition error

Currency fields are not adding up properly when one field is null or blank (not exactly sure how the db is handling it). I am trying to add up three currency fields using workflow (before modified record saved) and using the default value. The formula I'm using should account for null values but it does not seem to work
IfNull([<cProduct_Cost_ITAG>],0) + IfNull([<cFreight_Cost_ITAG>],0) + IfNull([<cOther_Cost_ITAG>],0)
If one of the three fields are blank the change will not add up properly, for instance you can have blank+175.80+0=176.00
I also tried to put some validation for the field to require the user to enter at least 0.00 dollars but it's not catching the blank field.
I know patch 1080 is comming but I'm not sure it will help this situation. Any suggestions?
Thanks,
James

Hi
How about trying the simple syntax like
[<cProduct_Cost_ITAG>] + [<cFreight_Cost_ITAG>] + [<cOther_Cost_ITAG>]
I have tried this and it works perfect.

Correction: Sorry it didn't work either.
Edited by: linchan on 2009/08/26 19:53

Similar Messages

  • Unknown SQL Exception 208 occurred. Additional error information from SQL Server is included below.Invalid object name 'Webs'.

    SP 2013 Server + Dec 2013 CU. Upgrading from SharePoint 2010.
    We have a web application that is distributed over 7-8 content databases from SharePoint 2010. All but one database are upgradable. However, one database gives:
    Invalid object name 'Webs'.
    while running Test-SPContentDatabase or Mount-SPContentDatabase.
    EventViewer has the following reporting 5586 event Id:
    Unknown SQL Exception 208 occurred. Additional error information from SQL Server is included below.Invalid object name 'Webs'.
    After searching a bit, these links do not help:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/fd020a41-51e6-4a89-9d16-38bff9201241/invalid-object-name-webs?forum=sharepointadmin
    we are trying PowerShell only.
    http://blog.thefullcircle.com/2013/06/mount-spcontentdatabase-and-test-spcontentdatabase-fail-with-either-invalid-object-name-sites-or-webs/
    In our case, these are content databases. This is validated from Central Admin.
    http://sharepointjotter.blogspot.com/2012/08/sharepoint-2010-exception-invalid.html
    Our's is SharePoint 2013
    http://zimmergren.net/technical/findbestcontentdatabaseforsitecreation-problem-after-upgrading-to-sharepoint-2013-solution
    Does not seem like the same exact problem.
    Any additional input?
    Thanks, Soumya | MCITP, SharePoint 2010

    Hi,
    “All but one database are upgradable. However, one database gives:
    Invalid object name 'Webs'.”
    Did the sentence you mean only one database not upgrade to SharePoint 2013 and given the error?
    One or more of the following might be the cause:
    Insufficient SQL Server database permissions
    SQL Server database is full
    Incorrect MDAC version
    SQL Server database not found
    Incorrect version of SQL Server
    SQL Server collation is not supported
    Database is read-only
    To resolve the issue, you can refer to the following article which contains the causes and resolutions.
    http://technet.microsoft.com/en-us/library/ee513056(v=office.14).aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Message no. 06211 Currency translation error in net price calculation

    Hi,
       When i am creating purchase order i am changing currency from INR to JPY for FOB condition type only, And system issuing error message Currency translation error in net price calculation. Document currency is INR.
    When i am using USD i am not getting this error.
    I have checked table OB08 and both conversion maintained INR to JPY AND JPY to INR valid from 01.01.2012
    Any solution for this please.
    Thanks in advance.

    Hi, Check in T-code M/08 for your import prizing procedure,what have you maintained for subtotal for gross price condition (PBXX,PB00), Maintain over there as '9', also for JPY currency there is issue with decimal also, ratio maintained in 100:1 ratio.
    Edited by: tej yadav on Jan 6, 2012 1:29 PM

  • Currency conversion Error in 0sd_c15

    Hello Experts,
       I am having a problem in the ETl of the cube 0SD_C15 .Its showing Currency conversion error
    0MEANTODAY while loading data.Please help me in this regard
    Prasad

    Hi
    You will find the transfer global settings for the source system where you are extracting the data.
    Select the source sytem, right click,go to transfer gloabal settings, (select the currencies in this)
    Then Reload the data into the cube,
    After, Reloading the data into the cube replicate the master data, and activate the mappings,and load the data.
    I think, this will work....
    Regards
    Sudheer

  • Unable to create shopping cart due to currency conversion error.

    Hi,
    We are currently working in a extended classic scenario. We have about 8 users connected under a common entity ( dept). Out of which for one user (user1) we are able to create the shopping cart and able to run the entire procurement cycle the entire cycle.
    When we are trying to create a SHC with any other user ( user2 to 8)  its giving the errors like
    1) Currency Conversion Error ( to GBP). Please inform help desk.
    2) Error in account assignment for item 0.
    Attributes for all the users ( user1 to user8) are same and we are not getting any error in the attribute check as well.
    Please suggest.

    Look up note 419423 + related notes to repair incorrect SRM users. What you report sounds a bit strange. A debugging session might be helpful too. Especially the 2nd error looks like something 'home-made'...

  • DTW Purchase Invoice upload-Currency Exchange error

    Hi everyone
    I've been trying to upload some Purchase Invoices for some time now but it keeps giving me back this error on every single one:
    "Exchange rate not updated ,'USD'Application-defined or object-defined error65171"
    I've changed all the dates in the excel file to the current date and have established exchange rates on SAP for that date but still it won't work...
    Please help me, I've run out of thing to try here
    Thanks

    I had a similar problem: importing down payment requests with DTW working, then some days later giving the Currency Exchange error.
    I found the reason which was having changed the business partner's currency. As soon as it was different than the default, DTW stopped to work as expected.
    Even better, I did found a solution. Set the currency and the rate also at the document level not only in the lines. It will make the import to work without the Currency Exchange error.
    Edited by: Péter Forró on Oct 9, 2008 2:56 AM

  • SQL database login for 'SharePoint_Config_2010' on instance 'DB server' failed. Additional error information from SQL Server is included below.

    we formatted Database server and restored all the databases from the backup. but the sharepoint site is giving below error when i access the home page. 
    we have 3 application servers in that two are working fine,  but only one server getting the below error. 
    SQL database login for 'SharePoint_Config_2010' on instance 'db server' failed. Additional error information from SQL Server is included below.
    Login failed for user 'domain\user'.
    could you help what is the issue?

    Hi,
    According to your post, my understanding is that you failed to access sharepoint site with one application server.
    It was due to the MOM/SCOM Agent that has a SharePoint management pack installed, the agents Windows Service runs as ‘Local System’ and thus causes this.
    The workaround is to either kill the SCOM agent service, or set it to run as a dedicated service account.
    In addtion, I recommend to add the logon account of the SharePoint Timer service as a user of the SharePoint_Config database. Give role membership to the account db_owner.
    You also need to add the SharePoint accounts back into sql server.
    There are some similar articles for you to take a look at:
    http://blog.blksthl.com/2012/04/26/login-for-sharepoint_config-login-failed-for-user-domaincomputername-scom-agent/
    http://msdn.microsoft.com/en-us/library/jj551781(v=nav.70).aspx
    http://sharepoint.stackexchange.com/questions/51623/moved-sql-databases-for-sharepoint-2010-and-now-have-a-3351-error
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Event 3351, SQL database login for 'DB_Config' on instance failed. Additional error information from SQL server is mentioned below. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

    category-database
    event id-3351
    source-sharepoint foundation
    SQL database login for 'DB_Config' on instance 'DB\instance' failed. Additional error information from SQL Server is included below:
    Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
    I have been getting this error every hour on only 1 application server of the 2.
    My farm consists of 2 app servers, 2 wfes & 2 sql nodes.
    My public site is working fine. Authentication is NTLM.
    SharePoint VSS Writer is disabled.None of my appPool accounts are running under local system.
    I have read many forums/blogs, but couldnt find a solution for this.
    Any help would be appreciated!

    Hi,
    As I understand, you found event id 3351 in event log. Please collect more information as below:
    Check if the error also occurs on other servers in your farm.
    Check if backup job is scheduled at the time when the event id occurs.
    Please run Config Wizard or psconfig.exe -cmd secureresources on all servers and test the issue again.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Unknown SQL Exception 0 occurred. Additional error information from SQL Server is included below.

    Log Name:      Application
    Source:        Microsoft-SharePoint Products-SharePoint Foundation
    Event ID:      5586
    Task Category: Database
    Level:         Error
    Keywords:     
    User:          DOMAIN\SA account
    Unknown SQL Exception 0 occurred. Additional error information from SQL Server is included below.
    The target principal name is incorrect.  Cannot generate SSPI context.
    This is the error, if often find in my WFE's. I googled for the error and granted DB owner roles for the service account as specified in TechNet, but no luck.
     Even same error logs generated on SharePoint logs.
    SqlError: 'The target principal name is incorrect.  Cannot generate SSPI context.'   
    Source: '.Net SqlClient Data Provider' Number: 0 State: 0 Class: 11 Procedure: 'GenClientContext' LineNumber: 0 Server: 'servername\SHAREPOINT,4101'       
    f2cbcc9c-ac65-7084-fcab-4d2943cdfdea
    Unknown SQL Exception 0 occurred. Additional error information from SQL Server is included below. 
    The target principal name is incorrect.  Cannot generate SSPI context.         
    f2cbcc9c-ac65-7084-fcab-4d2943cdfdea
    System.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. 
    Cannot generate SSPI context.     at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions
    userOptions, DbConnectionInternal& connection)    
    at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)    
    at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)    
    at System.Data.ProviderBase.DbConnecti...            
    f2cbcc9c-ac65-7084-fcab-4d2943cdfdea
    Thanks.
    Badri

    For SharePoint to recognize the SQL server name we provide its name and instance while installing SharePoint. When we are using SQL alias to connect to SQL, we need to configure the same alias on SharePoint server so that SharePoint recognize alias over
    the network. 
    Having SharePoint connect to a SQL Alias instead of the NetBIOS name is always a good idea. The main benefit is, if you ever have to switch the SQL Server or connect to a SQL Cluster VIP address, you just change the Alias to point to the SQL Cluster name
    on the SharePoint Server and restart the SharePoint Timer Service and you are good to go.
    Please check this blog.
    http://blogs.msdn.com/b/priyo/archive/2013/09/13/sql-alias-for-sharepoint.aspx
    http://technet.microsoft.com/en-us/library/hh292622(v=office.15).aspx
    Thank You, Pallav S. Srivastav ----- If this helped you resolve your issue, please mark it Answered.

  • Additional error handling within a production application using SQLERRM

    I have an application that is already in production. What I would like to do is to add additional error detail currently captured within the SQLERRM. I would like to capture detail such as: where the error occurred ie. what procedure in which package attempting to insert in which table etc. etc. Is this something that I can do easily without writing hundreds of exceptions into the existing code? Please respond if you know of a way to do this.
    Thanks in advance

    Probably not, unfortunately. To get that level of detail, you would need to go in to every procedure and add appropriate exception handlers, state variables (so you know what table you were inserting into). Adding error handling into any application after it is "done" is going to require some heavy lifting.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Currency Filed ERROR?

    There is amount field which is associated with a currency field.But the currency field has not maintained for that amount.So the amount field is appearing as
    13.0098ERROR.Can any one suggest me how to eliminate this ERROR from the amount field.
    Points will be definitely assigned .

    try this:
    RSA1-- >  Source Systems --> Right click --> Transfer Global Settings > Check Currencies->Execute.
    log off and log into bex-->execute the report.
    Currency Displays ERROR only for IDR (Indonesian Currency)
    Message was edited by:
            muralidhar c

  • Currency Exchange error

    Hi All,
    While running FI-SL Currency Translation in t-code gwul, I am getting the error message u201C No values entered, difference in local currencyu201D
    Is there any problem with the master data or config, as it is working fine for other company codes?
    Please Assist.
    Thanks in advance
    Edited by: Reema Sen on May 28, 2008 6:20 PM

    I had a similar problem: importing down payment requests with DTW working, then some days later giving the Currency Exchange error.
    I found the reason which was having changed the business partner's currency. As soon as it was different than the default, DTW stopped to work as expected.
    Even better, I did found a solution. Set the currency and the rate also at the document level not only in the lines. It will make the import to work without the Currency Exchange error.
    Edited by: Péter Forró on Oct 9, 2008 2:56 AM

  • Spry validation. Providing additional error msg.

    Hi all,
    I have a couple of pages with large forms on them. Each field has Spry validaton for required / correct format etc. By the tme the user has got to the submit button at the bottom of the page, they may not see the that some fields have been highlighted in red due to failed validation.
    I would like to be able to add an additional error message next to the submit button that is triggered should any of the fields fail validation.
    Have looked at the JS files that Spry creates and they just make my head spin!
    Can this be easily achieved and how?
    Any help would be really appreciated.
    Thanks

    After browsing through the forums, found the solution. This is exactly what I was looking for -
    http://labs.adobe.com/technologies/spry/samples/validationwidgets/Single_error_message_onS ubmit.html
    Here's the code if anyone is interested:
    Either put this Javascript inside your head tag or add it to an extarnal Javascript file which is what I prefer.
    <script type="text/javascript">
    <!--
              var errorsOnSubmit = function(form){
              var ret = Spry.Widget.Form.validate(form);
              var errorZone= document.getElementById('error_zone');
              if (!ret){
                errorZone.style.visibility = 'visible';
                errorZone.style.color = 'red';
                }else{
                errorZone.style.visibility = 'hidden';
              return ret;
    //-->
    </script>
    Add the error message where you want it to appear:
    <span id="error_zone" style="visibility:hidden;">Errors: There are some errors in the form. Please correct them.</span>
    Add the onsubmit to your form tag:
    <form id="form1" name="form1" method="post" action="" onsubmit="return errorsOnSubmit(this);">
    There you go, a nicely placed error message that works with Spry validation.

  • [HELP] VBA Currency NumberFormat Error - Excel

    [HELP] VBA Currency NumberFormat Error - Excel
    Hello,
    I've a worksheet with many cells formated as currency and i want modify the currency format through a combobox,
    First i use this code to get the inicial currency type/format,
    Private Sub ComboBox1_DropButtonClick()
    inicial = Me.ComboBox1.Value
    Select Case inicial
    Case "EUR"
    oldFormat = "#.##0 €"
    Case "GBP"
    oldFormat = "[$£-809]#.##0"
    Case "USD"
    oldFormat = "#.##0 [$USD]"
    End Select
    End Sub
    The oldformat variable is a global variable,
    Public oldformat As String
    After that i want to do a find using oldformat variable and a replace using a newformat variable,
    Private Sub ComboBox1_Change()
    Dim ws As Worksheet
    Dim newFormat As String
    'On Error Resume Next
    newValue = Me.ComboBox1.Value
    Select Case newValue
    Case "EUR"
    newFormat = "#.##0 €"
    Case "GBP"
    newFormat = "[$£-809]#.##0"
    Case "USD"
    newFormat = "#.##0 [$USD]"
    End Select
    'Set rNextCell = Application.FindFormat
    For Each ws In ActiveWorkbook.Worksheets
    Application.FindFormat.Clear
    Application.FindFormat.NumberFormat = oldFormat
    Application.ReplaceFormat.Clear
    Application.ReplaceFormat.NumberFormat = newFormat
    ws.Cells.Replace What:="", Replacement:="", LookAt:=xlPart, SearchOrder _
    :=xlByRows, MatchCase:=False, SearchFormat:=True, ReplaceFormat:=True
    Next ws
    End Sub
    I read the new value through the user choice on the combobox.
    But this not work at all, the variables oldformat and newformat receive the correct values but i got a error on,
    Run-time error '1004': Application-defined or object-defined error
    Application.FindFormat.NumberFormat = oldformat
    Application.ReplaceFormat.NumberFormat = newFormatIs there any way to pass the newformat and oldformat value to the Numberformat property?
    Or someone have another away to do this?
    Link for exemple file,
    https://www.dropbox.com/s/sdyfbddxy08pvlc/Change_Currency.xlsm
    I apreciate any help, i m a little bit new on .
    I apologize if there are any errors in English, is not my natural language.

    The number formats must already be present in the workbook, otherwise you'll get the error that you mention.
    The code for US$ is [$$-409]
    Here is the code:
    Public oldFormat As String
    Private Sub ComboBox1_Change()
    Dim ws As Worksheet
    Dim newValue As String
    Dim newFormat As String
    newValue = Me.ComboBox1.Value
    Select Case newValue
    Case "EUR"
    newFormat = "#,##0 €"
    Case "GBP"
    newFormat = "[$£-809]#,##0"
    Case "USD"
    newFormat = "#,##0 [$$-409]"
    End Select
    Application.FindFormat.Clear
    Application.FindFormat.NumberFormat = oldFormat
    Application.ReplaceFormat.Clear
    Application.ReplaceFormat.NumberFormat = newFormat
    For Each ws In ActiveWorkbook.Worksheets
    ws.Cells.Replace What:="", Replacement:="", LookAt:=xlPart, _
    SearchOrder:=xlByRows, MatchCase:=False, _
    SearchFormat:=True, ReplaceFormat:=True
    Next ws
    End Sub
    Private Sub ComboBox1_DropButtonClick()
    Dim inicial As String
    inicial = Me.ComboBox1.Value
    Select Case inicial
    Case "EUR"
    oldFormat = "#,##0 €"
    Case "GBP"
    oldFormat = "[$£-809]#,##0"
    Case "USD"
    oldFormat = "#,##0 [$$-409]"
    End Select
    End Sub
    See https://www.dropbox.com/s/ax20vnmjpjny3h6/Change_Currency.xlsm
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Display Additional errors in Participation Monitor (HRBEN0003)

    Hi,
    How can i display additional error in Participation monitor.
    I want to display error when there is a child who is a student exists and if the age of the child exceeds 18, he can no longer exist as a student.
    So if the age exceeds that limit i want to display error in Participation Monitor.
    let me know if there is any BADI or User Exit available?

    solved on my own

Maybe you are looking for

  • + operator used with Between

    hi guru's Could any one please enlighten me about this i know that + is used for outer joins can we use + operator with Between Operator and if so how it works i have seen somewhere like this and sysdate between tmo.start_date (+) and nvl(tmo.end_dat

  • Sending notifications to Mobile Client.

    Hi, I want to be able to send notifications down to mobile service using NOTIFN_WRITE linked to a BP. Current replication object appears to be linked to the employee only. I want the notifications to follow te BP. I think SFAKNA1 can be used but I do

  • Search help multiple selection of search results

    Hi, I have a search help (SE11) and it is correctly integrated in my WDP4A application using 'automatic' search help integration. Unfortunately multiple selection of search results does not seem to be supported (the ok button greys out when >1 result

  • HT4623 my ipad can't be updated because unknown error (-23) appear  in status how can i updated it

    my ipad cant be updated because unknown error appear in status of my ipad software unknown error (-23)

  • Getting old chat history for old skype version

    Hey guys, I received a messages today that I HAD to upgrade my skype messenger  and was unable to sign in.... I have very important chats with certain documents sent to me on the previous version. Is there anyway I will have access to my chat history