Supplier balance

hello!
how can i query supplier balance in AP?
what are the involved tables?
there is a procedure in oracle database but i cannot access the script:
Procedure AP_GET_SUPPLIER_BALANCE

If you know the procedure and you know that procedure works fone..no need to know what it is doing inside.
Pass the required parameters and check the OUT parameter that will give you the result.
Cheers!!!
Bhushan

Similar Messages

  • Supplier balances belonging to the respective liability account.

    Hi All,
    Can any one help us to know ,from which tables we can extract data for "supplier balances belonging to the respective liability account on an "as of date"". Standard reports are based on system date will provide the date. For example: If my sysdate is 18th Aug 2009 and I would like to extract supplier balances as on 11th May 2009. How I will get ? Do we have any query for the same.
    Thanks in advance,
    Ram.

    Hello.
    Please check if this query solves your issue:
    SELECT v.vendor_name, cc.segment1||'.'||cc.segment2||'.'||cc.segment3||'.'||cc.segment4 "Liability Account", SUM (alb.accounted_cr) - SUM (alb.accounted_dr) "Balance Due"
    FROM ap_liability_balance alb, po_vendors v, gl_code_combinations cc
    WHERE trunc(accounting_date) <= 'desired as_of_date'
    AND alb.ORG_ID = <your org_id>
    AND v.vendor_id = alb.vendor_id
    AND cc.code_combination_id = alb.code_combination_id
    AND alb.code_combination_id = <ccid of the desired liability account>
    GROUP BY v.vendor_name, cc.segment1||'.'||cc.segment2||'.'||cc.segment3||'.'||cc.segment4
    HAVING SUM (accounted_cr) != SUM (accounted_dr)
    Hope this helps.
    Octavio
    Edited by: OctopusRex on Aug 18, 2009 2:06 AM
    Edited by: OctopusRex on Aug 18, 2009 2:07 AM

  • AP Balance report containing available prepayments

    Dear experts,
    Last week I came to the conclusion that the Open Account AP Balance Listing would never contain available prepayments.
    Oracle Support advised to compare the Open Account AP Balance Listing with a prepayments report but this is not an efficient way of working.
    Is there any standard report that gives us the real supplier balance (Standard Invoices, Credit Memo's and (Available) Prepayments)?
    Can anyone explain me why thse prepayments do not appear on any report? As long as there is no invoice against it, it just seems like a negative amount on the supplier balance to me.
    Thanks in advance,
    Cathy

    Hello.
    The Accounts Payable Trial Balance gives you the real supliier balance. It will not show you available prepayments because they are paid.
    Octavio
    Edited by: Octopus Rex on Sep 17, 2012 4:57 PM

  • Account Balance not showing correctly

    Sir,
    Suppose , i have posted an invoice  of Rs.200 against a customer and after some times i recieved payment from this customer of Rs.200 So,  accout balance of this customer should be zero.. But when i see the account balance from business partner master data , it should me Rs.-400 in accout balance field but when i navigate through orange arrow in to accoutn balance details , there i get  zero in balance due field?? ie. it is showing coorectly in details of account ballance but in the business partner master data it is not showing correctly??

    hi divya,
    Check SAP Note 904002 - Customer account balance is displayed with negative sign
    Summary
    Symptom
    Customer Balance is displayed with minus.
    Other terms
    Customer balance, Supplier Balance, Credit Balance, Debit Balance, Display Credit Balance with Negative Sign, Company Details, System Initialisation, business partner, accounts, SAP Business One
    Reason and Prerequisites
    Customer balance is displayed in negative though you expect it to be positive.
    Solution
    Under Administration->System Initialisation->Company Details and the 'Basic Initialisation' tab you will find the setting 'Display Credit Balance with Negative Sign'. This setting decides how Customer and Supplier balances will be displayed.
    NOTE!
    When creating a company it is important to know that this setting is irreversible once transactions have been made in the company.
    When this box IS checked the following applies:
    Customer balances will be displayed as Positive.
    Supplier balances will be displayed as Negative.
    When this box IS NOT checked the following applies:
    Customer balances will be displayed as Negative.
    Supplier balances will be displayed as Positive.
    This setting also influences the entry of opening balances for the G/L accounts. Depending on this setting, the opening balances must be entered as positive or negative numbers.
    By default this box is checked when a new company is created.
    Header Data
    Release Status: Released for Customer
    Released on: 02.12.2005  10:42:10
    Master Language: English
    Priority: Recommendations/additional info
    Category: Consulting
    Primary Component: SBO-ADM-INI-DET Company Details
    Secondary Components: SBO-BP Business Partners
    Affected Releases
    Release-Independent
    Hope it solves problem.
    Jeyakanthan

  • Where I setup the parameters of the Accounts Payable Negative Supplier???

    When I try to run Accounts Payable Negative Supplier Balance, the parameter report definition haven`t value.
    Where I setup the parameters of the concurrent Accounts Payable Negative Supplier Balance???
    Can anyone help me?.
    Thanks.

    This report relies on the XLA Trial Balance data.
    Please check whether you have created any Report Definitions or not.
    Otherwise check the SLA Implementation Guide.
    Chapter: Open Account Balances Listing
    Section: Creating Open Account Balances Listing Definitions
    By
    Vamsi

  • Link between Internal supplier and customer

    I'm working on Internal payables and receivables report, for that I have internal customer balance due and internal supplier balance due.
    But I need the link between customer and supplier. I mean same internal company is customer and also a supplier.
    I have two separate query like
    1. customer details and amount due
    2. supplier details and amount due
    how to connect both this query?
    output should look like
    Customer/Supplier Payables due Receivables Due
    a 100 400
    b 190 2390
    c - 289
    d 678 -
    Thanks for your help.

    HI,
    You need to check in your asset master data. Check in General data tab for the "Deactivated on" and you will be seeing there the asset deactivation date.
    Whenevr asset is sold of or asset is retired, the asset is deactivated automatically to prevent users posting from values to the asset.
    Delete/remove  the deactivation date in General data tab and run your settlement. It will work.
    Reward if useful.
    sarma

  • Balances Table

    Dear all
    Can any one tell me,
    In receivables, is there any table or view exists which shows customers monthly balances.
    In parables, is there any table or view exist which show suppliers balances month wise.
    In inventory or cost mgt , is there any table or view exist which shows Item quantitative balances month wise.
    Regards
    Imran

    Imran,
    The following gives you the outstanding from AR. It takes care of the receipt applications and adjustments as well. With this, you can get the outstanding as on any date. Note that this script uses a temp table to dump the data. its easy to figure out the structureof the table from the query.
    declare
    v_cash_receipt NUMBER;
    v_adjustment NUMBER;
    v_credit_memo NUMBER;
    v_as_of_outstanding NUMBER;
    v_cash_receipt_acctd NUMBER;
    v_adjustment_acctd NUMBER;
    v_credit_memo_acctd NUMBER;
    v_credit_memo_acctd_1               NUMBER;
    v_as_of_outstanding_acctd NUMBER;
    p_as_of_date                          DATE;
    cursor cs_get_trx (p_as_of_date1 IN Date) is
    SELECT ps.customer_id CUST_ACCOUNT_ID
    , trx.creation_date INV_CREATION_DATE
    , ps.trx_number INVOICE_NUMBER
    , trx.trx_date                              INVOICE_DATE
    , ps.gl_date GL_DATE
    , NVL(ps.amount_due_original,0) INVOICE_AMOUNT
    , NVL(ps.tax_original,0) TAX_AMOUNT
    , NVL(ps.acctd_amount_due_remaining,0) ACCTD_OUTSTANDING_AMOUNT
    , ps.due_date
    , CEIL(sysdate - ps.due_date) DAYS_OUTSTANDING
    , ps.payment_schedule_id
    , ps.number_of_due_dates INSTALLMENT_NUMBER
    , trx.customer_trx_id
    , CEIL(p_as_of_date1 - ps.due_date) DAYS_LATE_AS_OF
    FROM ra_customer_trx TRX
    , ar_payment_schedules PS
    WHERE
    trx.customer_trx_id = ps.customer_trx_id
    AND ps.gl_date <= p_as_of_date1
    AND ps.gl_date_closed > p_as_of_date1 ;
    CURSOR cs_get_receipt(p_as_of_date2 IN DATE ) IS
    SELECT ps.customer_id CUST_ACCOUNT_ID
    , ps.payment_schedule_id
    , CEIL(p_as_of_date - ps.GL_DATE) days_late_as_of_r
    , ps.gl_date
    , cr.receipt_number
    , app.cash_receipt_id
    , sum(app.acctd_amount_applied_from) ACCTD_AMOUNT_APPLIED
    FROM ar_receivable_applications app
    , ar_cash_receipts cr
    , ar_payment_schedules ps
    WHERE app.cash_receipt_id = cr.cash_receipt_id
    AND app.payment_schedule_id = ps.payment_schedule_id
    AND app.status in ('ACC', 'UNAPP', 'UNID', 'OTHER ACC' )
    AND NVL(app.confirmed_flag,'Y') = 'Y'
    AND app.gl_date <= p_as_of_date2
    AND ps.gl_date <= p_as_of_date2
    AND ps.gl_date_closed > p_as_of_date2
    AND ( ( app.reversal_gl_date IS NOT NULL AND ps.gl_date <= p_as_of_date2 )
    OR app.reversal_gl_date IS NULL
    GROUP BY ps.customer_id
    , cr.receipt_number
    , app.cash_receipt_id
    , ps.payment_schedule_id
    , ps.gl_date
    HAVING
    sum(app.acctd_amount_applied_from) <> 0 ;
    Begin
    delete zxc_aging_cust1 ;
    p_as_of_date := to_date('&Enter_as_of_date','DD-MON-RRRR') ;
         For invoice in cs_get_trx(p_as_of_date)
         LOOP
    /* cash applied after p_as_of_date */
    SELECT NVL(SUM(NVL(acctd_amount_applied_to, 0.0) +
    NVL(acctd_earned_discount_taken,0.0) +
    NVL(acctd_unearned_discount_taken,0.0)),0.0)
    INTO v_cash_receipt_acctd
    FROM ar_receivable_applications
    WHERE TRUNC(gl_date) > p_as_of_date
    AND status||'' = 'APP'
    AND NVL(confirmed_flag,'Y') = 'Y'
    AND applied_payment_schedule_id = invoice.payment_schedule_id
    AND application_type LIKE 'CASH%';
    /* adjustments applied after p_as_of_date */
    SELECT NVL(SUM(ar_adjustments.acctd_amount), 0.0)
    INTO v_adjustment_acctd
    FROM ar_adjustments
    WHERE TRUNC(gl_date) > p_as_of_date
    AND status = 'A'
    AND payment_schedule_id = invoice.payment_schedule_id;
    /* invoice credited after p_as_of_date */
    SELECT nvl(sum(nvl(acctd_amount_applied_to, 0.0)), 0.0)
    INTO v_credit_memo_acctd
    FROM ar_receivable_applications
    WHERE applied_payment_schedule_id = invoice.payment_schedule_id
    AND nvl(confirmed_flag,'Y') = 'Y'
    AND status||'' = 'APP'
    AND TRUNC(gl_date) > p_as_of_date
    AND application_type LIKE 'CM%';
    /*added new by anil patil 7/7/7 */
    /* credit memo applied after p_as_of_date */
    SELECT nvl(sum(nvl(acctd_amount_applied_to, 0.0)), 0.0)
    INTO v_credit_memo_acctd_1
    FROM ar_receivable_applications
    WHERE payment_schedule_id = invoice.payment_schedule_id
    AND nvl(confirmed_flag,'Y') = 'Y'
    AND status||'' = 'APP'
    AND TRUNC(gl_date) > p_as_of_date
    AND application_type LIKE 'CM%';
    /* calculate actual outstanding amount */
    v_as_of_outstanding_acctd := invoice.acctd_outstanding_amount + v_cash_receipt_acctd - v_adjustment_acctd +
                                            v_credit_memo_acctd - v_credit_memo_acctd_1 ;
    insert into zxc_aging_cust1
    ( customer_id ,
    invoice_number     ,
              invoice_date ,
              gl_date          ,
              invoice_amount ,
              tax_amount ,
              acctd_outstanding_amount ,
              due_date     ,
              days_outstanding ,
              installment_number ,
              days_late_as_of ,
              current_os_amt ,
              cash_receipt_amt ,
              adj_amt ,
              credit_memo_amt ,
              credit_memo_amt_1
    values
              (invoice.cust_account_id ,
              invoice.invoice_number     ,
              invoice.invoice_date ,
              invoice.gl_date          ,
              invoice.invoice_amount ,
              invoice.tax_amount ,
              v_as_of_outstanding_acctd ,
              invoice.due_date     ,
              invoice.days_outstanding ,
              invoice.installment_number ,
              invoice.days_late_as_of ,
              invoice.acctd_outstanding_amount ,
              v_cash_receipt_acctd ,
              v_adjustment_acctd ,
              v_credit_memo_acctd ,
              v_credit_memo_acctd_1
         END LOOP ;
    COMMIT;
    FOR receipt in cs_get_receipt (p_as_of_date )
    LOOP
         INSERT INTO zxc_aging_cust1( customer_id
    , invoice_number
    , trx_type
    , acctd_outstanding_amount
    , gl_date
         VALUES( receipt.cust_account_id
    , receipt.receipt_number
    , 'RECEIPT'
    , -1 * receipt.acctd_amount_applied
    , receipt.gl_date );
    END LOOP;
    COMMIT ;
    END;
    Hope this helps.
    Thanks,
    Anil

  • Supplier Statement

    Hi,
    We are on R12.0.4.
    I want to know is there any report which gives me the Supplier Balance.
    Can we use Open Accounts Payables balance Listing report for the same.
    Regards/Prasanth

    Hi,
    The easiest way to gain supplier current balance is to use "Calculate balance Owed" function, which can be accessed from "Find invoices" form.
    Regards,
    Vladimir

  • Customer is a supplier

    Hi,
    One of our customers has few customers who are also suppliers to him. I know there is a report in AR ' Customer Supplier Netting Report'.
    Is there any work around where by I can reduce manual work?
    Can I have separte clearing a/c for these customer a/c and I use same a/c for the same suppliers at Payables?
    Thanks & Regards
    Sri

    Hi,
    Yes you can definitely use the work around -
    You must however remember that you cannot use the customer account in Payables, but you can choose the supplier account in receivables.
    Please define a different transaction type wherein you can choose the supplier account for receivable account in place of normal receivable accounts. This is basically for better control over such supplier cum customer vendors.
    However still the customer or supplier balances will not be reduced as far as AR /AP is concerned. One can see the effect only in GL of all debit and credit entried so this account. Hence one must definitely run the transfer to GL program to see the exact balance.
    I hope I am making things clear.
    Thanks & Regards,
    Raj..

  • Supplier Statement of Account

    Dear All,
    anybody have the supplier statement of account in Payables???
    Which can help us to get information for Prepayment, Invoices, Credit/Debit Notes, Payments.
    Regards
    Malik Asif Joyia

    Hi,
    have a look into the different Supplier Account Balance Reports (Supplier Account Balance Detail Report; Supplier Balances Detail Report (180 character)).
    But before the report bring a output, you must start the program Subledger Balance Maintenance for Payables Accounting Periods (and schedule for refresh).
    Dirk

  • Change in PO Qty after GRN

    Hi Gurus,
    PO created on behalf of PR with 7000 of Quantity, now after delivering 2000 of Qty, vendor refuses to supply balance Qty.
    Hence want to reduce QTY in  PO and make a fresh PO for balance Qty to other vendor.
    But now unable to change Qty in PO/PR .How to handle this.
    Thanks in Advance

    Dear,
    Do following way.
    01. Change in original PO quantity in ITEM Header TAB-Quantity/Weight - PO Quantity-2000 ,using using T-code ME22N and save.
    02. Change in PR ( Purchase Requisition) If you have used Desired Vendor , remove only Vendor name or Number from Column and save it.
    03. Create New PO with balance quantity and New Vendor using same old PR No.(Purchase Requisition), if you enter in PR field then it will take balance quantity and material automatically and save it.
    04. Do MIGO and post the document.
    This will work as you required.
    Thanks.
    Piyush Patel
    Edited by: PMPATEL on Feb 29, 2012 6:27 PM

  • Can dock connector from older iPod be used with new 80GB iPod?

    I just purchased a new 80GB iPod after my old one (scroll wheel, 4 buttons) finally gave up the ghost. I know that I can't sync using the Firewire cable but I'm wondering if the original dock connector will work if connected to the new USB cable. Will I be able to use it just as a charging stand or will it allow me to sync as well?

    The dock will work fine for both charging and syncing with the new USB cable, all the dock does is work as a souped up extension to the dock connector, as well as giving you line out of course. You may have a little trouble fitting your new iPod into the dock.
    Despite being pretty much the same size as my 4th generation 20gb iPod, the dock connector was slightly further towards the front of my new 80gb one, so I couldn't get it in, and the squarer corners on the front didn't help either. At the moment I am using the dock adaptor supplied, balanced on the dock which does the trick, albeit slightly unelegantly. I haven't got around to looking for the 40gb dock cover that came with it, though I'm hoping this will be deep enough to fit in.
    You'll need to use a (very) slim screwdriver or similar to prise the original fitting off the dock, but it can be done without damaging either if you take it slowly and carefully. There are clips of about 1cm in the centre of each side except the back. On the back there are clips of about 4mm either side of the slot that the cable goes into.

  • TDS on Payment (Indian Scenario)

    Hi,
    Following are the steps to deduct TDS on advance payment to supplier in SAP.
    1. Make AP downpayment invoice
    2. Make outgoing payment
    3. AP Invoice
    In this case what problem we are facing is that customer deduct TDS while making payment and if we use the step mentioned above Step 1 & 2 and check the supplier balance then it shows zero since system reconciles outgoing payment and Downpayment invoice.
    So the user is actually confuse because till the time the AP invoice is raised they wont be able to understnd how much they have paid to supplier and alos able to generate report
    any idea since this is common scenario is India.
    Solution will be highly appreciable

    Hi ,
    Am also facing this same problem, If user is forgot to choose the down payment in invoice there is no track.
    but as work arount  i ask user to check on monthly or 10days once "Down Payment Clearing Account" should be ZERO. else some down payment payment is not adjusted for invoices.

  • Revaluation in GL / AP

    Hi all,
    I have the following requirement :-
    Invoice created with rate USD 3.8 ( set fix currency rate monthly )
    versus our functional currency of MYR for every 1 dollar. So, example, I
    got one invoice created at rate 3.8 on 10-Jul-2005 with my functional
    currency of 3800.00 dollar. Ok, at the end of the month 31-Jul-2005, new rate
    for USD is 3.75, at that point of time, we will like the aging to restatement
    with the new rate of 3.75 and functional currency will changed to 3750 and
    the difference of amount of 50 will go to the unrealized loss
    account. Does this feature able to be handle in Oracle ??
    I saw two reports from AP, Open Item Revaluation Report & Suppliers Balances revaluation report. It can be revaluate of the currency but the new revaluate rate does not update back the original rate of invoice ( my case 3.8 ). B'cos, may be two month later, if we query back the same invoice from the system not from report, we can't know that this invoice is being revaluated.
    So, how you guys do revaluation of currency in AP ? Please advise, URGENT!!!!
    Rgds
    Lim

    Please its an urgent issue

  • Get the icon for the current row selected

    Hi !!
    I am using jdeveloper 11.1.1.5
    I had dragged and dropped my ApplBusFunVO as a af:tree
    My Output will look like this
    Supplier Balance
    Supplier Document Details
    Purchase order
    Purchase ReceiptsMy af:tree doesnt contains the Parent
    My Scenario:
    When my user clicks the current node of the tree!! an icon should appear before the current node is selected
    For Eg: If my user clicks the Purchase Order then my output should like this
    Supplier Balance
    Supplier Document Details
    ==>Purchase order
    Purchase ReceiptsThe Symbol ==> Represent the icon! that appears before the purchase order!!

    Hi
    <af:tree value="#{bindings.SalesPeople.treeModel}" var="node"
              selectionListener="#{bindings.SalesPeople.treeModel.makeCurrent}"
              rowSelection="single" id="t4" fetchSize="35">
              <f:facet name="nodeStamp">
                 <af:group>
                      <af:image id="cl3" source="#{reference_to_image_url}"
                      rendered="#{check_if_current_row}"/>
                      <af:outputText id="ot2" value="#{node}"/>
                 </af:group>
       </f:facet>http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12419/tagdoc/af_image.html
    As mentioned in a previous answer to this very same question, the tree is a stamped component which means that you need to partially refresh the tree component to show the icon. You can us the selectionListener (override the current setting to use a managed bean setting the current row - calling the same EL) to determine the new selected row key and then use the rendered option to determine (using a managed bean reference) if the current rendered node (#{node} is accessible from a managed bean at render time) is the selected node.
    The side effect is that upon tree node selection the tree will "flicker"
    Frank

Maybe you are looking for

  • IPod Touch 4G intermittent WiFi connection.

    I have already resetted my Network Settings and my router is in 100% working condition.  Short of going to the Apple Store is there any other troubleshooting that I can do?

  • Turbo Intel Drive - 'your laptop does not meet the minimal requirements'

    I have a HP Pavillion dv6-2155dx laptop with OS Windows 7, 32bit. I recently just reformatted the laptop after receiving it from my aunt and was redownloading the drivers after the format when the Intel Turbo Driver wouldn't work. I'd get it to insta

  • Choosing what Firefox does with a file

    Whenever I want to download a file, a box opens with the choices of opening or saving the file. The option for 'Do this automatically for files like this from now on' is greyed and I can't choose that. How can I make that option available? Apparently

  • Error downloading RoboHelp 8 trial

    I have been trying to download the trial version of RoboHelp 8 for three days. Every time I start the download, I get the following: It says it's Connecting, then Initializing, then Pausing. And then I see the following message: The server returned a

  • My iphone 4s is frozen with the itunes logo? How do I fix this?

    I was uploading from Itune and now my phone is frozen with the cable and I tunes logo. How can I get rid of it?