Control account balance isn't less than zero

Dear buddies:
I wanna control  that account balance isn't less than zero when entering G/L document. I remember there is a warnning message for bank account, but I forgot how to configurate it!
Please you help me, thanks!
   sherky

Hello
Not sure what customizing you refer to but you can do this control trough a validation at complete document level.
Regards
Javier

Similar Messages

  • How to report only quantities less than zero on a calculated field

    I do not understand why my text will not work when it comes to reporting only 'Missing POs' less than zero, I assume it is because I am using 'int' on some fields?
    Any advice?
    SELECT
    t0.father as 'Parent Code',
    t2.itemname as 'Parent Description',
    t2.frgnname as 'Parent Status',
    t0.code as 'Child Code',
    t1.itemname as 'Child Description',
    t1.frgnname as 'Child Status',
    t0.comment as 'Master',
    cast(t3.onhand as int) as 'Child Uncommitted Stock',
    cast(t3.iscommited as int) as 'Child Committed Stock',
    (cast(t3.onhand as int) - cast(t3.iscommited as int)) as 'Child Free Stock',
    cast(t3.onorder as int) as 'Purchase Orders',
    (cast(t3.onhand as int) - cast(t3.iscommited as int)) + cast(t3.onorder as int) as 'Missing POs'
    FROM
    itt1 t0
    inner join oitm t1 on t0.code = t1.itemcode
    inner join oitm t2 on t0.father = t2.itemcode
    LEFT JOIN OITW T3 ON T3.WHSCODE = T0.Warehouse AND T3.ItemCode = T0.Code
    Where T3.WHSCODE Like '[%0]%' and 'Missing POs' < 0
    ORDER BY
    'Missing POs' asc, t0.father, t0.code
    Many thanks,
    Robin (I will be awarding points on all my outstanding questions shorlty - management time pressure at mo!)

    Try this:
    SELECT
    t0.father as 'Parent Code',
    t2.itemname as 'Parent Description',
    t2.frgnname as 'Parent Status',
    t0.code as 'Child Code',
    t1.itemname as 'Child Description',
    t1.frgnname as 'Child Status',
    t0.comment as 'Master',
    cast(t3.onhand as int) as 'Child Uncommitted Stock',
    cast(t3.iscommited as int) as 'Child Committed Stock',
    (cast(t3.onhand as int) - cast(t3.iscommited as int)) as 'Child Free Stock',
    cast(t3.onorder as int) as 'Purchase Orders',
    (cast(t3.onhand as int) - cast(t3.iscommited as int))
      + cast(t3.onorder as int) as 'Missing POs'
    FROM
    itt1 t0
    inner join oitm t1 on t0.code = t1.itemcode
    inner join oitm t2 on t0.father = t2.itemcode
    LEFT JOIN OITW T3 ON T3.WHSCODE = T0.Warehouse AND T3.ItemCode = T0.Code
    Where T3.WHSCODE Like '%0%' and (cast(t3.onhand as int) - cast(t3.iscommited as int))
      + cast(t3.onorder as int) < 0
    ORDER BY
    (cast(t3.onhand as int) - cast(t3.iscommited as int))
      + cast(t3.onorder as int),t0.father, t0.code

  • Java.sql.SQLException: Invalid precision value. Cannot be less than zero

    Hi,
    In my portlet application have several jsf tables which bind to several oracle tables. I have tested the portlet in pluto and tried to deploy it on liferay. However, I get an exception stating:
    java.sql.SQLException: Invalid precision value. Cann
    ot be less than zero
    What could this exception mean? Has anyone else encountered this?
    Marc
    P.S. The trace is shown below:
    Feb 6, 2007 12:34:56 AM org.apache.catalina.core.ApplicationDispatcher invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.RuntimeException: java.sql.SQLException: Invalid precision value. Cann
    ot be less than zero
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(Cach
    edRowSetDataProvider.java:343)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(Ca
    chedRowSetDataProvider.java:300)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount(Cache
    dRowSetDataProvider.java:624)
    at com.sun.rave.web.ui.component.TableRowGroup.getRowKeys(TableRowGroup.
    java:806)
    at com.sun.rave.web.ui.component.TableRowGroup.getFilteredRowKeys(TableR
    owGroup.java:429)
    at com.sun.rave.web.ui.component.TableRowGroup.getRowCount(TableRowGroup
    .java:749)
    at com.sun.rave.web.ui.component.Table.getRowCount(Table.java:307)
    at com.sun.rave.web.ui.renderer.TableRenderer.renderTitle(TableRenderer.
    java:400)
    at com.sun.rave.web.ui.renderer.TableRenderer.encodeBegin(TableRenderer.
    java:123)
    at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.jav
    a:683)

    I've dug deeper into this problem and am able reproduce the error in the Pluto server. To reproduce this error, I modified my Oracle jdbc driver from the JSC embedded driver (smoracle.jar) to the Oracle native driver (ojdbc14.jar). Now, I am getting the exception in my Sun Application Server:
    What is the difference between ojdbc14.jar and smoracle.jar that could cause this problem? What can I do so that I can fix this problem for ojdbc14.jar?
    Thanks,
    Marc
    P.S.
    The problem is with the clob column (DOR_NOTE_TX). The stack trace is:
    [#|2007-02-06T09:00:53.663-0800|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=16;|
    Reader executing query ps=0 SELECT DOR_NOTE_DT, DOR_NOTE_TX FROM DOR.DOR_NOTE_DATA WHERE DOR_NOTE_CD='SECURITY' AND TO_CHAR(DOR_Note_Dt, 'mm/dd/yyyy') = '02/05/2007'
    No Params|#]
    [#|2007-02-06T09:00:53.679-0800|WARNING|sun-appserver-pe8.2|javax.enterprise.system.stream.err|_ThreadID=16;|
    java.sql.SQLException: Invalid precision value. Cannot be less than zero
    Message was edited by:
    marcnikko

  • Umbraco CMS - startindex cannot be less than zero error is showing instead of 404 error page

    I am running into an issue with an Umbraco website.
    If I miskey the URL on a top level page, e.g. mysite.com/wrongpage I get an asp error.
    If I miskey it on a subpage, even if the top level page is incorrect too, I get my correct 404 error e.g. mysite.com/wrongpage/wrongpage2
    At this point I'm trying to find out whether it's a bug in Umbraco 4.11.10 or if this error is caused by something obvious. I'm completely stuck and not particularly technical (I'm not a developer).
    If anyone could help explain what this error means, and/or if there's any way to correct or bypass it I would really appreciate the help.
    The full contents of the error are: 
    Server Error in '/' Application.
    StartIndex cannot be less than zero.
    Parameter name: startIndex
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
    Parameter name: startIndex
    Source Error: 
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace: 
    [ArgumentOutOfRangeException: StartIndex cannot be less than zero.
    Parameter name: startIndex]
    System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +10698829
    System.String.Substring(Int32 startIndex) +12
    AutoFolders.NotFoundHandler.Execute(String url) +538
    Umbraco.Web.Routing.LookupByNotFoundHandlers.HandlePageNotFound(PublishedContentRequest docRequest) +1148
    Umbraco.Web.Routing.LookupByNotFoundHandlers.TrySetDocument(PublishedContentRequest docRequest) +10
    Umbraco.Web.Routing.PublishedContentRequestBuilder.<LookupDocument1>b__1e(IPublishedContentLookup lookup) +15
    System.Linq.Enumerable.Any(IEnumerable`1 source, Func`2 predicate) +146
    Umbraco.Web.Routing.PublishedContentRequestBuilder.LookupDocument1() +198
    Umbraco.Web.Routing.PublishedContentRequestBuilder.LookupDocument() +195
    Umbraco.Web.Routing.PublishedContentRequest.ProcessRequest(HttpContextBase httpContext, UmbracoContext umbracoContext, Action`1 onSuccess) +139
    Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) +339
    Umbraco.Web.UmbracoModule.<Init>b__7(Object sender, EventArgs e) +80
    System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

    Hi Aaronb9,
    Since the issue regards ASP.NET and website deployment. I suggestion you post the question in the ASP.NET forums at
    http://forums.asp.net/. It is appropriate and more experts will assist you.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Change font colour to red if value less than zero

    Please forgive as I am not sure if this should go to the SQL or Application Thread..
    My questions is regarding SQL in Application Express
    I want to display my field (ADJ (INCL GST) in a red colour if its value is less than zero
    here is SQL code
    select "TW_BILL_ADJ_DATA"."CUSTOMER" as "CUSTOMER",
    "TW_BILL_ADJ_DATA"."ORIGINATER" as "ORIGINATOR",
    CASE WHEN (CREDITDEBIT) = 'Credit' THEN (0 - ADJUSTMENT_INCL_GST) ELSE ADJUSTMENT_INCL_GST END "ADJ (INCL GST)"
    from TW_BILL_ADJ_DATA

    Thankyou for the example above, after much searching I have also found another way to perform the same task
    select     "BILL_DATA"."BILLING_CODE",
    CASE WHEN (CREDITDEBIT) = 'Credit' then
              '<span style="color:Red;">'
              || TO_CHAR (0 - "ADJUSTMENT_INCL_GST", 'FML999G999G999G999G990D00')|| '</span>'
                             else
              '<span style="color:Green;">'
              || TO_CHAR ( "ADJUSTMENT_INCL_GST", 'FML999G999G999G999G990D00')|| '</span>'
                             end "Adj (incl GST)"
    from TW_TABLE
    -----------------------------------------------------------------------------------

  • E2136 ySubscriptXOffset is less than zero -11

    Hallo,
    Every (or mostly) italic fonts generated by the FDK give the the
    following error code from the MS Fontvalidator.
    E2136 ySubscriptXOffset is less than zero -11
    Is this a real problem?
    Andreas

    We believe this is a bug inthe Font Validator, and have reported it to Microsoft. There are perfectly good reasons to have automatic subscript to shift stuff to the left with an italic font.
    T

  • GL account balance splitting in more than one line item in FSV

    Friends,
    While going through the FSV, gl account balance is splitting in more than one line item with same account name.  But if we total the line items ultimately it is tallying with GL balance.  What might be the reason.  Why it is splitting the balance in more line items with same name and same account number.

    Dear,
    You might be having Document Splitting Activation.with Bussiness Area/ Segment wise/Profit Center Wise. For this please Check - Path > Spro > SAP reference IMG > Financial Accounting (New) > General Ledger Accounting (New) > Business transactions > Document Splitting > Define Document Splitting Characteristics for General Ledger Accounting.
    Please go through this & will  be able see the Document Splitting is based on Bussiness Area/ Segment wise/Profit Center wise or may be both.
    T & R,
    Madhuri Panda

  • Complete my album not available when balance due is less than 99 cents?

    I was pleased with the "Complete my Album" idea, and I tried to use it over the weekend, but kept getting an error when iTunes was trying to talk to the store. I started out owing something like $4.03 to complete the album, having bought 4 99 cent songs from a $7.99 album.
    I was frustrated by this repeated error over the course of a few hours, so then I gradually started buying the songs one by one. I bought one, and the price dropped to 3.04. Another, and the price went to 2.05, but the album was still available to be completed. I kept going to the point where I would have expected to have 7 cents left to pay for the remaining 3 songs on the album, but then the album no longer shows up as available to be completed.
    I assume they don't want to bother with such a paltry sum, but beware. Even if you are frustrated, don't buy the songs one by one if the balance will get below 99 cents.
    Is this a known limitation?
    iPhone 8GB Other OS

    Complete my album FAQ
    http://docs.info.apple.com/article.html?artnum=305232#faq3
    How is my Complete My Album price calculated?
    Your Complete My Album price is based on the content you previously acquired from iTunes. If you purchased your songs, we adjust the current album price by the retail price you paid for those song(s). If you acquired your content through select, eligible song code promotions, we adjust the current album price by the full retail price of the song(s).
    *Please note that if you previously acquired so many single tracks from the same album that the Complete My Album price would be less than the current price of a single song (a single video for a video album), you will not be able to purchase the remaining tracks using Complete My Album.*

  • Control account balance detailed by partners

    Hello,
    I need a report that displays for a control account (let's say customers' control account) the balance in a certain period and all the balances of the customers in that account, not the transactions, but only the balances.
    How can I do that? I've seen the General Ledger account but it displays also the transactions not only the balances.
    Thank you,

    Hi Irina,
    Financial Reports -> Accounting -> General Ledger is a good place to start.
    Use the check boxes to set your desired output format. 
    To Summarize by BP for a Period. 
    1.  Make your posting period selection.
    2.  Check <b>Summarize Control Accounts</b>. 
    3. Also Check <b>Sort and Summarize</b>.  From Drop down below that select <b>Totals Only</b>
    4.  On the Right side Window  Select Sort field  <b>BP/Account Code</b> and Select <b>Yes</b> from the Summary Column drop down.
    This should give you the desired result.
    Let me know if you need further assistance.
    Suda

  • Want to display GL account balances in currency other than display currency

    I am facing one problem..I want to display the balances of GL account in USD but display is in EURO.How can I display it in USD?

    Hi Jeyakanathan,
       Thanks for fast response but the problem is I want to display whole balance of GL in currency USD.Document currency just shows me what all postings done on this GL in USD but not the whole balance.Can you help me in this?

  • Cost estimate less than zero

    hi
    i have a scenario
    where i get the free of cost material form customer
    i add the conversion,the scarp generated m
    if i use the scrap generated as credit the cost estimate is negative
    but i should bcz this is a sfg and it fits into aonther FG and the customer do concder the scrap generated credit during pricing
    but at the sfg level the cost estimate is negative.how to do this .

    maintain the Activity rates "zero" in KP26 for respective Cost center and Activity type.
    Material cost comes from Material master.....there we need to have zero price
    and try to run the CK11N, you have the chance to get the zero cost estimated.
    No idea how it works....do some R & D in DEV
    Thanks

  • HT204266 How can I change my country on my account if I still have less than a dollar left. It says that I have to finish my remaining ammount before I can change it but what can I buy for 0.81 cents? I am in Australia now.

    How can I change my country on my account? I have less than a dollar left and I moved to Australia from US? I have to spend the amount left on my acct but what can I buy for 0.81 cents. Thanks!

    Click here and request assistance.
    (69513)

  • Aging report and Control account value not matching

    Hi All
    The value what i am getting from   Vendor liabilities aging and Control account is not matching  for the same dates, all my parameters or selection criteria are same
    Same report if i am taking for the current date it giving correctly,
    If i am trying for a previous day the problem is happening
    How can i solve this issue

    Hi,
    Please check if the transactions are done for different Control Accounts and both the account balances are included in the Aging Report.
    Also, check that ALL the customers/vendor groups are taken.
    Make sure that you are running the backdated aging with the checkbox as mentioned in the Note 800294.
    If still facing problems may be you can provide with more details as to what the control account balances and what is the Aging, difference.
    PS: Check if there is any manual journal entry is created in the control account?
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Account balance different on different computers

    I use iTunes on two different computers, and on one computer the account balance is $20 more than on the other.
    How do I fix this?
    hp Pavillion   Windows XP  
    hp Pavillion   Windows XP  

    I have seen this also. No way to fix that I know of. My problem is different balances between different Windows logins.

  • ICloud keeps adding same contact over and over. How do I stop it? 4,600 duplicates in less than 24 hours and counting.

    I added a contact on my Mac Mini yesterday and it keeps adding the same contact over and over.. up to 4,600 duplicates and counting.. How do I stop it?
    Here was the exact sequence.
    1. Added a contact in Contacts.app on my Mac running OSX Mavericks 10.9
    2. Contact was added to Contacts.app successfully.
    3. Noticed only one contact in Contacts.app on Mac.
    4. Opened Contacts on my iPhone 5S running 7.0.4 and searched for contact.
    5. Noticed duplicates in Contacts on my iPhone 5S.
    6. Looked at Contacts.app on Mac, Still only one.
    7. Checked iPhone again, noticed several more contacts added and the data spin icon working in the status bar and more being added as I was watching.
    8. Opened icloud via web browser, noticed same thing in the Contacts section.
    9. Shutdown, Mac (thinking there was a bit of code open ended code)
    10. turned off all iCloud Contacts on all iOS devices linked to this icloud account.
    11. Less than 24 hours later... 4,600++ duplicate contacts in icloud and counting.
    12. As I am writing this I deleted icloud from my mac.. thinking this is the bug's origination point.
    what's next??

    Step 12 Stopped the duplicate contact.
    Deleted iCloud from my Mac. Hope this helps someone.

Maybe you are looking for