User entered a negative dollar amount on a Prepay order line

I have an error in Autoinvoice- "Document created must have a non-negative total amount because the creation sign for the transaction type is positive".
This is because the CSR booked a Prepay sales order with a negative dollar line.
How do I fix this problem in order to get this through autoinvoice? The sales order line is closed so I cannot change it.

Edit2: Okay it so it works fine for any items that have a history, but it seems that if the item hasn't ever been on a Sales Order (i.e. it's not found in the RDR1 table) I get "no data found".  How can I make it simply return OnHand - IsCommited if it doesn't exist in the RDR1 table, but do the below query if it does?
Actually that's not true.  I've got it working now.  I changed the query a bit and the update trigger, and it feels like it's working exactly like I wanted.  Query below if you're interested.
/*Available FMS Sales Orders*/
SELECT (T0.OnHand-T0.IsCommited+(SELECT SUM(ISNULL(T3.U_BO, 0)) FROM RDR1 T3 WHERE T3.ItemCode = $[RDR1.ItemCode]))
FROM OITW T0
INNER JOIN RDR1 T1 ON T0.ItemCode = T1.ItemCode
WHERE T1.ItemCode = $[RDR1.ItemCode] AND T1.WhsCode = 'ATL'  AND T0.WhsCode = 'ATL'
I have it on Auto Refresh -  When Field Changes "Document Total" - Refresh Regularly.
Edit1: fixed grammatical error.

Similar Messages

  • PO dollar amount versus invoice dollar amount report?

    Hello,
    Is there a report that shows the variance between the dollar amount on a purchase order and what was actually paid on the PO's invoice?
    Thx.
    Andy Jacobs

    Use ME2L, ME2M, ME2N and kind of MB5S

  • Negative discount being generated - Sales/Purchase Order quantity

    Hi All,
    I have an add-on which creates a Child Order (AP and AR) from a Parent Order.  The Parent Order needs to be updated if a Child order created from it has a change of Quantity.
    What I am finding is that twhen I update the Parent with the revised Quantity I am getting (seemingly at random) a negative discount created on the Parent Order line which has been updated.  the only change to the Order line is the Quantity and a UDF.
    Has anyone got any idea why this might be happening?
    Thanks in advance.
    David
                                oOrder.Lines.SetCurrentLine(arrLineNum(intCurrentLine))
                                If oOrder.Lines.LineStatus = SAPbobsCOM.BoStatus.bost_Open Then  '// Check LineStatus of Parent Order
    '// Several lines of validation removed for clarity
                                       oOrder.Lines.Quantity = dblRevisedOrderQty
                                        oOrder.Lines.UserFields.Fields.Item("U_ALP_CalloffOpenQty").Value = dblRevisedOrderQty
                                    End If
                                    Dim lngSuccess As Long = 0L
                                    lngSuccess = oOrder.Update() 

    Hello
    If your B1 was upgraded from 2004 /2005 version, please check the Document Settings in Administration module about the "Calculate the Row Total using the Unit Price" option: Which Method you are using for Calculation of LineTotal?
    If your B1 version is not upgraded, or You using UnitPrice for Row total calculation (this is the default for sap b1 2007) , you has to save the UnitPrice before you touch the qty.
    So I am using the following workaround:
    1. Save Price/Unit price
    2. Save Discount
    3. Modify Qty
    4. Enter UnitPrice/Price
    5. Enter discount
    See SAP Note: 1334050 and 1289493
    The Row Total Calculcation and rounding method is changing your Discount to positive/negative values.
    Regards,
    J.

  • Unable to enter a negative amount for payment

    I am trying to enter a negative amount for payments under order items, but I keep getting this error message:
    "The minimum accepted payment amount for 'Financing' is '0'. Please enter an amount greater than '0' to continue.(SBL-SFS-00167)".
    The payment method & type I'm using here is "Financing" & "CareCredit". But, when I enter the payment method & type as "Credit Card" & "Visa", I can enter a negative amount without any errors.
    I think this requires some configuration to override. Can anyone help me with this issue?
    Thanks,
    Raghu

    Hi,
    It's known bug.
    Bug number is 10499290.
    Visit/contact oracle support for more information.
    Good luck
    T.Abed

  • Can you create a user entered text field that flows content in a subform?

    I am working on a conversion project taking a document library of over 600 forms from Word into PDF, for the most part it's simple and binding fields to the database schema and using subforms is working quite well - however, there are some instances where there is a combination of user entered fields mixed with database fields and in some cases the end user fields are all there are but the amount of content can vary from 250 characters to thousands.  The project manager wants a PDF that enables users to enter whatever amount of text they need to and have the form layout function the way it does as if all fields were populated by the database - I don't know of a way to make that work unless content is entered in the schema first (or implement CM and have all users working in LiveCycle, but the database uses PDF, sothat's not an option right now).
    If anyone has any ideas how to make these things work I would greatly appreciate hearing about it.
    Thank you so much,
    R

    Hi,
        If you can post your form in the post, I can have a look at it and provide my feedback.
        I created a sample file for your reference..
        1) The Content property for the Page1 was set to Flowed.
        2) Each text box is placed inside a Subform which is also has the content property set to Flowed.
        3) In the Form Properties, under the Default tab, set the PDF render format as Dynamic XML form.
        4) In the Form Properties, under the Preview tab, set the Preview Type as "Interactive Form" and Preview Adobe XML Form as "Dynamic XML form". (this step is for the previewing the PDF in the designer).
        5) Finally save the form as Dynamic XML form. (File Menu -> Save As).
    Hope this helps.
    If you still have issues, please post your form..
    Thanks
    Srini
    Please find the sample file at the below location
    https://acrobat.com/#d=qQohvZGsJrky-sTdPTJbzA

  • How can I allow a "0.00" dollar amount in a required field?

    I'm creating an expense form that has several fields marked a required. I've also included a java base print button that checks the fields and will open the print dialogue box if all the fields are completed. I'm wanting to allow a zero dollar amount to be entered into some of the fields though, but Acrobat sees that amount as an incomplete field. I've tried changing the format of the field in numerous combinations but I've got nothing.
    Any solutions?
    All help is greatly appreciated.
    I'm using Acrobat XI Pro

    The script I'm using to check the form and block the print is as follows:
    var emptyFields = [];
    for (var i=0; i<this.numFields; i++) {
         var f= this.getField(this.getNthFieldName(i));
         if (f.type!="button" && f.required ) {
              if ((f.type=="text" && f.value=="") || (f.type=="checkbox" && f.value=="Off")) emptyFields.push(f.name);
    if (emptyFields.length>0) {
         app.alert("Error! You must fill in the following fields:\n" + emptyFields.join("\n"));
    else this.print()

  • Javascript - Formatting Return Values & Removing Decimal in Dollar Amount

    Hi, I'm looking for some help. I'm new to Javascript and working off my limited knowledge. Below is one item I need help figuring out.
    ---JavaScript Registration Fee---
    I'm using the following document level Javascript in Acrobat to calculate the pro-rated registration fee based on the current month:
    **Note: Text Field "Today" is using the following value:
    var f = this.getField("Today");
    if (f.value=="") f.value = util.printd("mm/dd/yyyy", new Date());
    ---- Below is the Registration Fee Javascript ---
    function calculateRegistrationFee() { 
         var s = this.getField("Today").value;
         if (s!="") {
              var d = util.scand("mm/dd/yyyy", s);
              return (12-(d.getMonth())) * 1.25;
         return "";
    I use the following in the Text Field (Text Field Properties ---> Format ---> Custom Format Script) to display the results:
    event.value = (calculateRegistrationFee()).toString();
    1) How can I format the return value to remove the decimal (period) from the results & split into two text fields?
    For Question #1 - Example 1, Let's look at this example:
    Using the current date (05/22/2013), then
    a. The output of the function above = 10
    This is a dollar amount so the output 10 is really $10.00. I would enter the cost into two fields (RegFee1 & RegFee2) as "10 00". (See below). So how do I format the return value to enter into these fields correctly?
    For Question #1 - Example 2, Let's look at this example:
    Using the current date (06/22/2013), then
    a. The output of the function above = 8.75
    Given the information in the example above, how do I format this return value to enter into these fields correctly?
    Thanks,
    Stephen

    Some time ago I created this (german) how to document
    http://www.oracle.com/global/de/community/tipps/textfield_autoformat/index.html
    about formatting elements using JavaScript. Currency formatting is not contained but perhaps the other stuff in the javascript file
    http://www.oracle.com/global/de/community/tipps/textfield_autoformat/library.html
    is helpful.
    Regards
    -Carsten

  • How can I read the last cell of a JTable that a user Enters data

    I have a one column JTable with several rows that a user enters data to. Upon entering the last data, the user clicks a button to read all the data from the rows in the JTable and puts them in an arraylist. If the user does not click enter or navigates away from the last cell, then after clicking the button it does not read the last cell entered. Since the user is clicking on a button to indicate he is done entering data on the table, does he also have to hit the enter key to indicate he is done entering the data?
    The code below is my tablemodelListener:
    public class InteractiveTableModelListener implements TableModelListener {
    public void tableChanged(TableModelEvent evt) {
    if (evt.getType() == TableModelEvent.UPDATE) {
    int row = evt.getFirstRow();
    System.out.println("Update row:"+" "+row);
    jTable1.setRowSelectionInterval(row, row);
    }

    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.
    In the future, Swing related questions should be posted in the Swing fourm. (This question has been asked and answered dozens of times).
    But there is not need to repost because [Table Stop Editing|http://www.camick.com/java/blog.html?name=table-stop-editing] explains whats happening and give a couple of solutions.

  • PS Budget Report S_ALR_87013558 shows negative available amount

    Hi ,
    We activated Availability control in our Project System. We created a project, WBS elements, network activities. Then setup the budget (WBS level) then release the budget. Purchase requisitions were made to PO items, some were receipted and some are still in Commitment. We also added the cost for Travel and Accomodation but haven't posted any actual cost for these network activities. Then when I generated S_ALR_87013558 the budget available amount shows a negative balance.
    I already run CJEN to reconstruct the table, CJBN to recontruct the availability control balance but it still generating the same negative available balance.
    We setup our tolerance limit to raise an error once the budget reached 100% but in this case it should already been triggered before reaching zero but it didn't happen.
    Any solution for the problem is greatly appreciated.
    From this going forward any cost that need to be added to the project triggers the error message BUDGET EXCEEDED! it supposed to been triggered before the negative available amount on the report was reached.
    The report show that I have an amount presented on the following columns:
    ACTUAL
    COMMITMENT
    REMORDPLAN
    ASSIGNED
    I already checked the individual network activities to checked if the balance showed in the RemOrdPlan is correct using the formula REMORDPLN = MAX(0, PLAN - (Actual+Commitment)) and it is consistent with the amount presented in the report.
    thanks
    sunil

    Hi,
    Some ideas :
    1st. Try to check the history when the AVAC activated. It could be AVAC activated after PR/PO created.
    2nd. Try run cj31. Compare the value there with the report S_alr_**** . If the value is not match , you should apply some notes. It could be your AVAC not working properly.
    3rd. In order to prevent any futher issue for another project. Try to CJBW, CJEN and CJBN, for all projects (one time only). Put some budget on it. Next step do background schedule (CJEN after that CJBN) let say for weekly for all projects.
    Hope can give you some ideas.
    Cheers,
    Nies

  • In R12, can payroll user enter expense report for employees via web-based?

    Hi,
    In R12, can payroll user enter expense report for employees via web-based screen? Previously in 11i, it can be done via the Expense Report forms.
    Appreciate advise on this.
    Thanks in advance.
    Regards,
    Shiau Chin

    Hi Anne,
    Please see page 42 of the [url http://download.oracle.com/docs/cd/B34956_01/current/acrobat/120oieig.pdf]iExpenses Implementation and Admin Guide for R12 . If you are unable to enter the ID as per the guide, I would suggest raising an Service Request with Oracle Support.
    Cheers, Pete

  • Interactive Report - comparing user entered text field against a table field - the comparison is not finding a hit when it should.

    Example
    User enters 12345 in a pre filter ----- item_number field and this value exist in the table but its defined as VARCHAR2(2000).
    No match is found.  Do I need to define this text field in a certain way so that a match occurs - say in the element or source for P1_ITEM_NUMBER.
    How does a user entered value of 12345 match a value in the table of 12345 - defined as a varchar2(2000).
    Thanks  

    Why are you storing numbers in a varchar2?
    This is bad designing.  (storing date information in a varchar2 field is even worst.)
    99% of the time, when the number 12345 does not match the string '12345', it is because the value in the table is actually '                         12345'
    Run the following SQL command in the SQL workshop.  (you'll need to adjust to match schema,table,column names)
    select item_number, length( item_number) as string_length
    from schema_name.table_name
    If '12345' does not have a string_length of 5, then you have bad data in your database.

  • How to enter condition wise tax amount manually in MIR7 & MIRO?

    We have a PO with a tax code entered in it.
    but while parking invoice in MIR7, we want to enter condition wise tax amount manully which is different than calculated tax amount through tax code and subsequently we want the same manual tax amount to be displayed in MIRO also
    I tried to enter amount for each condition in 'Detail' screen of 'Tax' tab in MIR7,
    but at the time of simulating, amount calculated as per tax code is only shown and not the amount entered by me
    'Calculate Tax' checkbox is not selectd in this case.
    Can anybody tell me how to enter condition wise tax amount manully in MIR7 & MIRO and post an accounting entry with this manually entered tax amount?

    Hi,
    i checked their is no unplanned delivery cost and in FV13 tax is 12.5%. In FTXP No Tax Percent rates.
    Regards
    Mahesh

  • I have a dollar amount balance on my itunes account... can i use this to purchase apps for my MacBook Pro?

    I have a dollar amount balance on my itunes account... can i use this to purchase apps for my MacBook Pro?

    You should be able to.  As long as you are signed in to the same AppleID that has an available balance.  The services are linked.

  • How do I create a form field ONLY template in Acrobat 9 Pro that will let the user enter and print only the form field data on a pre-printed form?

    This template will be used to type in information that will then be printed on an agency's official, barcoded form loaded in a printer (instead of blank paper.)  Only the user-entered info should print on the pre-printed form.  Users will use Adobe Reader to complete their templates; they do not have Acrobat.  Thank you!

    Use the template as non-printable background and add the form fields.

  • How to clear the data in my page after user enter submit button

    hi......
    how to clear the data's in my page after user enter submit button. Actually while pressing first time itself the data is uploaded in database.

    Hi Nazeer,
    Instead of doing it on the same button better create a separate button for this functionality, As per my understanding you want to clear these fields to create new record so that you can enter a new record so for this you just need to insert a new row in VO.
    Still if you want to do it on the same button then you need to put the check that particular record is not dirty if it is not then create new record else create new record.
    One more thing if you will clear on the second click of a button how will you update your record??
    Regards,
    Reetesh Sharma

Maybe you are looking for

  • How to find ssid number on ipad 3 to connect hp Photosmart 6510 B211a

    How to find SSID number to enable ePrint from IPAD 3 to hp photosmart6510 B211a.

  • No hierarchy structure in PDF output from ditamap

    I am trying to publish a ditamap to pdf with FM11. Adobe seems to recommend to save as a FM book with components and then to PDF. Then the hierarchy was lost in the PDF even though it looks very good in the FM book structure. Almost all topics are re

  • Indesign CS5 - how to align objects

    Dear All, I have a problem with Indesign that is present from CS2 trough CS3 & CS4 version. I thought that CS5 version finaly will solve this issue, but it seems to me that nothing changed. When we have to align two objects lets say in Illustrator, 

  • Deleting the mass queue

    Hi, We have around 200k entries in the outbound queue CSA_MASS_BUPA, We have decided that we do not require these entries.dunction module is BAPI_COPA_UPLOAD_PROXY, USER = ABC now, users are modifying records and this queue is blocking the remaining

  • Result recording in calibration plan

    Dear gurus , I am looking PM module in which I am creating  calibration plan for equipment with inspection lot. Currently I am able to enter one result for inspection lot. now my requirement is to enter no of reading with respect to no  of reference