AR Receipts Balances R12

Hi,
I am working on AR Receipts Data Extraction. In which table are Balances details(Applied amount, Unapplied ampunt, On Account amount etc.) stored in R12?
Balances section in Receivables Manager -> Receipts -> Receipts in front end
I tried to find the table in front end in AR_CASH_RECEIPTS_V view, but could not find it.
Are these values calculated or stored in any table?
Thanks in advance,
Aditya

Thanks for the replay.
I found the answer, the Applied amount values are stored in table AR_PAYMENT_SCHEDULES_ALL table, and then Unapplied Amount is then calculated (Unapplied Amount = Total amount - Applied Amount) in front end.
Thanks,
Aditya

Similar Messages

  • AP Trial Balance R12

    Hi,
    We are using Automatic Offset option set to Natural Account.
    In R12 for AP Trial balance open balances template definition we need to give the liability account combinations. But, when we are using Automatic Offset we will be using new natural accounts every time. So, will these new Combinations will be automatically added to Open balances template or we need to add it manually.
    Or will these new account combinations will appear on Trial balance by default.
    Thank You,
    Ramana.

    Hi Ramana
    Although the account code combination will be different but the natual account for liability will be fixed. As such the best option is to define by segment and not by accounting flexfield. So you select the type as Segment and select the segment as natural account. Then specify the liability accounts for which the trial balance is required.
    In case if at any point in time, a new natural account for liability is added to your chart of account segment value, then you need to come back to the defintion and update the same. Then rebuild the trial balance. But these scenarios are very rare to occur.
    Hope this helps.
    Thanks
    Vinit

  • What is the problem with receipts in R12

    I got a situation here.
    I created 2 POs with Autocreate option and Manual Create option
    Both the POs have 3 line items. When i am trying to create receipts entry for both the POs only 1 line item is showing up i don't know how to fix this.

    I created 2 POs with Autocreate option and Manual Create option
    Both the POs have 3 line items. When i am trying to create receipts entry for both the POs only 1 line item is showing up i don't know how to fix this.ok both PO have 3 lines, can you confirm this again?..and check that how many distributions do each line have ?
    when you autocreated the PO, what was the grouping method that you used?
    whats the receipt routing? direct or standard?
    receiving is always done on shipment level but delivery is done on distribution level
    hope this helps
    let me know if you have further questions after this reply
    Regards
    emm
    www.teknofunctional.com

  • Load Balancer - R12

    Hi Hussein,
    While configuring the Loadbalancer for Oracle Applications, at Load balancer level, we need to ask Load Balancer Guy to set the following parameters
    Load Balancing Method: Predictive Node Address
    Persistence Type: Active HTTP Cookie with Method Insert and Cookie Expiration 12 hrs
    Metalink note spcifies the following regarding Session Persistance....could you please explain me, what is session persistance, when we access any module,can't it maintain session persistance?
    Reference:
    ===========
    2.1.4: Configuration Changes on the Load Balancer
    The Hardware Load Balancer must be configured for session persistence: various modules shipped with Oracle E-Business Suite need to maintain session state. If this property is not set, the loss of transaction state may result in users experiencing unpredictable errors.

    Hi,
    Please see the links referenced in this thread for "Session Persistence" explanation.
    can not open url
    can not open url
    Thanks,
    Hussein

  • R12 apply receipt on several debit item of one customer automatically

    Dear all,
    The case is that,
    I have 3 invoices of customer A, $100, $200, $300.
    and now customer A pays me CASH of $450 as a whole.
    So now I would like to create cash receipt in R12 AR receivable application,
    and then apply this receipt amount on customer A's invoices. That means first applying on $100, then $200 and then $150 out of the $300 invoice.
    Is it possible with using the AR_RECEIPT_API_PUB API? If so, how I can use it for such requirement? If not, how can I do this?
    Thank you so much ~!

    Duplicate thread (please post only once).
    AR_RECEIPT_API_PUB.APPLY apply one receipt amount to invoices of 1 customer
    Thanks!

  • 11i to r12 Conversion - help needed

    Hi
    My client is doing re-implementation of r12 and migrating from 11i to r12. I need help particularly on conversions side. The client is a SaaS company. they are considering to bring open and history transactions and applied/unapplied receipts to r12 AR.
    - how to migrate revenue scheduled open/closed invoices from 11i to r12 since rev schedules for a SaaS company is expected to be long terms. and how to make sure that rev schedules are correct upon migration to r12??
    - for partially paid invoices how to make sure that the same partially paid amount reflects in r12 upon conversion? can a negative line amount equalling to paid amount be a possible solution??
    - upon migration do the closed invoices have to be converted as open and receipts re-applied after migration in r12 or they can be brought in as-is with status closed?
    - if customer paid for an invoice using a credit card in 11i and upon migration it came to notice that the credit card is no longer used by the customer so how to re-apply the same receipt in r12 which was applied in 11i using that credit card. do we have to enable it in r12 just for closing the invoice? what could be possibilities?
    please anyone if can answer would be very helpful
    Thanks
    -MS

    It depends on the dpi. Usually 72dpi = 72 pixels per inch.
    1000/72 = 13,88888 inch
    1 inch = 25,4 mm
    13,88888 * 25,4 = 352,7777 mm
    You do the arithmatic with a calculator.
    To do the same with pictures, you can do it in any image editor. Even Preview.app :
    !http://www.wyodor.net/_Discussions/PreviewResize.png!

  • GR/IR  automatic clearing raised account balances

    Hello experts,
    could you be so kind and help me with nex scenario:
    we have done two goods receipt , then we have done miro and posted vendor  invoice
    lline items :
    migo: goods 100 /grir 100
    migo: goods 100 /grir 100
    miro:  grir 200 / vendor 200
    now when we do f.13 in local currency and check GR/IR Account Special Processing button we get next clearing documents :
    cler.doc 1
    without no line items this is ok
    clear.doc 2
    grir 200/grir 200
    it rase account balance in local currency
    MM configuration is :goods-receipt based invoice verification
    Please help me

    Miro is in local currency. Invoice is in local currency. Our CC use three currency local, group and hard. So all posted documents are posted in three currencies.
    Let me give you posted line items.
    GR/IR account balance :
    before clearing we have open items
    200 invoice/ 100 good receipt+100 good receipt = balance 200
    after clearing  :
    sap post one document without line items and another
    dr GRIR 200  / cr  GRIR 200 
    so now balance is :
    200 invoice/100 good receipt x 2 = balance 200                
    200 clear  /  200 clear               = balance 400
    200/200  before clearing  after clearing 400/400 so SAP has doubled account turnover.
    Edited by: Dusan Stojanovic on Feb 17, 2008 10:32 PM

  • Limit Order Confirmation Reversal - Balancing Issues

    Hello,
    We currently use SRM 5.5 and have an issue with the balances on our goods receipts and service entries for limit orders.
    We use ML81N to reverse off our service entry sheets but it is still leaving balances on the goods receipt which appears to be caused by the invoice values.
    For example we have a limit PO that has had the following happen:
    Confirmation posted in SRM for £3390.00 which transferred successfully to the backend PO.
    Invoice posted for £3371.70
    Service entry revoked and deleted using ML81Nu2013 SEN balance is zero
    Goods receipt balance is £18.30, only the value of £3371.70 has been reversed but before saving the service entry reversal the value in ML81N did show as £3390.00. So for some reason it is picking up the invoice value and reversing that instead of the goods receipt value.
    Does anyone know why this is happening and a way to get rid of the balance on the goods receipt now that the service entry sheet is deleted?
    Thanks
    Lisa

    Hi. This is probably more of a LIV / MM issue than SRM, but transaction MR11 will clear the GR/IR imbalance for you if there is no other way. It effectively posts a document like a dummy GR or invoice for the balance. It obviously won't try and pay anything to anyone.
    Regards,
    Dave.

  • Accrual Balance Dialy Rate

    Dears,
    I have a case related to Accrual Balance R12.1.3, as following:
    1- We have a rule that says:
    Years Of Service: 5 (+) Years
    Accrual Balance: 21
    Dialy Rate : 21/365
    Years Of Service: Lesss than 5 years
    Accrual Balance: 14
    Dialy Rate : 14/365
    2- suppose that Employee (X) hire date is : 05-MAR-2008,
    the Accrual Rate for 2013 should be:
    01-jan-2013 up to 04-mar-2013 = 14/365 --> Less than 5 years
    05-mar-2013 up to 31-dec-2013 = 21/365 --> 5(+) Years
    How to achieve this requirement.
    BR

    Thank you Sanjay,
    Actually, i did the followng Custom Formula, but when i check the Accrual balance on (31-Dec-2013) from the (Accrual) Screen for an employee that have 5 years
    experience active from 01-apr-2013 i got 21 Days!!!!!???
    DEFAULT FOR ACP_INELIGIBILITY_PERIOD_TYPE IS 'CM'
    DEFAULT FOR ACP_INELIGIBILITY_PERIOD_LENGTH IS 0
    DEFAULT FOR ACP_CONTINUOUS_SERVICE_DATE IS '4712/12/31 00:00:00' (date)
    DEFAULT FOR ACP_ENROLLMENT_END_DATE IS '4712/12/31 00:00:00' (date)
    DEFAULT FOR ACP_TERMINATION_DATE IS '4712/12/31 00:00:00' (date)
    DEFAULT FOR ACP_ENROLLMENT_START_DATE IS '4712/12/31 00:00:00' (date)
    DEFAULT FOR ACP_SERVICE_START_DATE IS '4712/12/31 00:00:00' (date)
    DEFAULT FOR EMP_HIRE_DATE IS '01-JAN-1900' (DATE)
    DEFAULT FOR EMP_TERM_DATE IS '01-JAN-3001' (DATE)
    DEFAULT FOR ASG_NUMBER IS ' '
    DEFAULT FOR ASG_GRADE IS ' '
    ALIAS ASG_NUMBER AS EMP_NUMBER
    INPUTS ARE
    Calculation_Date (date)
    Accruing_Frequency = 'D' /* Month */
    Accruing_Multiplier = 1
    V_ACCRUAL_RATE = 0
    E = SET_TEXT('ACCRUING_FREQUENCY', Accruing_Frequency)
    E = SET_NUMBER('ACCRUING_MULTIPLIER', Accruing_Multiplier)
    E = SET_NUMBER('ACCRUAL_RATE',0)
    E = SET_NUMBER('CEILING', 42)
    Beginning_Of_Calculation_Year = to_date('0101'||to_char(Calculation_Date,'YYYY'),'DDMMYYYY')
    end_year=last_day(add_months(Beginning_Of_Calculation_Year,11))
    Years_Service = Months_Between(CALCULATION_DATE,EMP_HIRE_DATE)/12
    IF ASG_GRADE = '7' OR
    ASG_GRADE = '8' OR
    ASG_GRADE = '9' THEN
    V_ACCRUAL_RATE = 21
    else
    if Years_Service >= 5 then
    V_ACCRUAL_RATE = 21
    ELSE
    V_ACCRUAL_RATE = 14
    V_ACCRUAL_RATE=V_ACCRUAL_RATE/(DAYS_BETWEEN(END_Year,Beginning_Of_Calculation_Year)+1)
    E = SET_NUMBER('ACCRUAL_RATE',V_ACCRUAL_RATE)
    E = SET_TEXT('ACCRUING_FREQUENCY', Accruing_Frequency)
    E = SET_NUMBER('ACCRUING_MULTIPLIER', Accruing_Multiplier)
    Beginning_Of_Calculation_Year = to_date('0101'||to_char(Calculation_Date,'YYYY'),'DDMMYYYY')
    IF Beginning_Of_Calculation_Year > Calculation_Date THEN
    Beginning_of_Calculation_Year = ADD_MONTHS(Beginning_Of_Calculation_Year, -12)
    E = SET_DATE('BEGINNING_OF_CALCULATION_YEAR', Beginning_Of_Calculation_Year)
    E = GET_PERIOD_DATES(Beginning_of_Calculation_Year,
    Accruing_Frequency,
    Beginning_Of_Calculation_Year,
    Accruing_Multiplier)
    First_Period_SD = get_date('PERIOD_START_DATE')
    First_Period_ED = get_date('PERIOD_END_DATE')
    Set the Calculation_Date to the Termination Date if not null
    IF NOT (ACP_TERMINATION_DATE WAS DEFAULTED) OR
    NOT (ACP_ENROLLMENT_END_DATE WAS DEFAULTED) THEN
    Early_End_Date = least(ACP_TERMINATION_DATE, ACP_ENROLLMENT_END_DATE)
    IF (Early_End_Date < First_Period_ED) THEN
    Total_Accrued_PTO = 0
    E = PUT_MESSAGE('HR_52794_PTO_FML_ASG_TER')
    IF (Early_End_Date < Calculation_Date) THEN
    Calculation_Date = Early_End_Date
    Get the last whole period prior to the Calculation Date and ensure that it is within the
    Year (if the Calculation Date is the End of a Period then use that period)
    E = GET_PERIOD_DATES(Calculation_Date,
    Accruing_Frequency,
    Beginning_of_Calculation_Year,
    Accruing_Multiplier)
    Calculation_Period_SD = get_date('PERIOD_START_DATE')
    Calculation_Period_ED = get_date('PERIOD_END_DATE')
    IF (Calculation_Date <> Calculation_Period_ED) THEN
    E = GET_PERIOD_DATES(ADD_DAYS(Calculation_Period_SD,-1),
    Accruing_Frequency,
    Beginning_of_Calculation_Year,
    Accruing_Multiplier)
    Calculation_Period_SD = get_date('PERIOD_START_DATE')
    Calculation_Period_ED = get_date('PERIOD_END_DATE')
    If (Calculation_Period_ED < First_Period_ED) THEN
    Total_Accrued_PTO = 0
    E = PUT_MESSAGE('HR_52795_PTO_FML_CALC_DATE')
    Set the Continuous Service Global Variable, whilst also
    ensuring that the continuous service date is before the Calculation Period
    IF (ACP_CONTINUOUS_SERVICE_DATE WAS DEFAULTED) THEN
    E = set_date('CONTINUOUS_SERVICE_DATE', ACP_SERVICE_START_DATE)
    ELSE IF(ACP_CONTINUOUS_SERVICE_DATE > Calculation_Period_SD) THEN
    Total_Accrued_PTO = 0
    E = PUT_MESSAGE('HR_52796_PTO_FML_CSD')
    E = set_date('CONTINUOUS_SERVICE_DATE', ACP_CONTINUOUS_SERVICE_DATE)
    ELSE
    E = set_date('CONTINUOUS_SERVICE_DATE', ACP_CONTINUOUS_SERVICE_DATE)
    Continuous_Service_Date = get_date('CONTINUOUS_SERVICE_DATE')
    First_Eligible_To_Accrue_Date = Continuous_Service_Date
    Determine the date on which accrued PTo may first be registered, i.e the date on which the
    Ineligibility Period expires
    Accrual_Ineligibility_Expired_Date = First_Eligible_To_Accrue_Date
    IF (ACP_INELIGIBILITY_PERIOD_LENGTH > 0) THEN
    IF ACP_INELIGIBILITY_PERIOD_TYPE = 'BM' THEN
    Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
    ACP_INELIGIBILITY_PERIOD_LENGTH*2)
    ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'F' THEN
    Accrual_Ineligibility_Expired_Date = add_days(Continuous_Service_Date,
    ACP_INELIGIBILITY_PERIOD_LENGTH*14)
    ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'CM' THEN
    Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
    ACP_INELIGIBILITY_PERIOD_LENGTH)
    ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'LM' THEN
    Accrual_Ineligibility_Expired_Date = add_days(Continuous_Service_Date,
    ACP_INELIGIBILITY_PERIOD_LENGTH*28)
    ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'Q' THEN
    Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
    ACP_INELIGIBILITY_PERIOD_LENGTH*3)
    ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'SM' THEN
    Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
    ACP_INELIGIBILITY_PERIOD_LENGTH/2)
    ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'SY' THEN
    Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
    ACP_INELIGIBILITY_PERIOD_LENGTH*6)
    ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'W' THEN
    Accrual_Ineligibility_Expired_Date = add_days(Continuous_Service_Date,
    ACP_INELIGIBILITY_PERIOD_LENGTH*7)
    ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'Y' THEN
    Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
    ACP_INELIGIBILITY_PERIOD_LENGTH*12)
    IF Accrual_Ineligibility_Expired_Date > First_Eligible_To_Accrue_Date
    AND Calculation_Date < Accrual_Ineligibility_Expired_Date THEN
    First_Eligible_To_Accrue_Date = Accrual_Ineligibility_Expired_Date
    Get the first full period following the First_Eligible_To_Accrue_Date
    (if it falls on the beginning of the period then use that period)
    IF First_Eligible_To_Accrue_Date > Beginning_Of_Calculation_Year THEN
    E = GET_PERIOD_DATES(First_Eligible_To_Accrue_Date, Accruing_Frequency,Beginning_Of_Calculation_Year,Accruing_Multiplier)
    First_Eligible_To_Accrue_Period_SD = get_date('PERIOD_START_DATE')
    First_Eligible_To_Accrue_Period_ED = get_date('PERIOD_END_DATE')
    IF First_Eligible_To_Accrue_Date <> First_Eligible_To_Accrue_Period_SD THEN
    E = GET_PERIOD_DATES(add_days(First_Eligible_To_Accrue_Period_ED,1),
    Accruing_Frequency,
    Beginning_Of_Calculation_Year,
    Accruing_Multiplier)
    First_Eligible_To_Accrue_Period_SD = get_date('PERIOD_START_DATE')
    First_Eligible_To_Accrue_Period_ED = get_date('PERIOD_END_DATE')
    IF (First_Eligible_To_Accrue_Period_SD > Calculation_Period_ED) THEN
    Total_Accrued_PTO = 0
    E = PUT_MESSAGE('HR_52793_PTO_FML_ASG_INELIG')
    ELSE
    First_Eligible_To_Accrue_Period_SD = First_Period_SD
    First_Eligible_To_Accrue_Period_ED = First_Period_ED
    Determine the date on which PTO actually starts accruing based on Hire Date,
    Continuous Service Date and plan Enrollment Start Date. Remember, we have already determined
    whether to user hire date or CSD earlier in the formula.
    If this date is after the 1st period and the fisrt eligible date then establish the first full period
    after this date (if the Actual Start Date falls on the beginning of a period then use this period)
    IF Continuous_Service_date = ACP_CONTINUOUS_SERVICE_DATE THEN
    Actual_Accrual_Start_Date = Continuous_service_Date
    ELSE
    Actual_Accrual_Start_Date = greatest(Continuous_Service_Date,
    ACP_ENROLLMENT_START_DATE,
    First_Period_SD)
    Determine the actual start of the accrual calculation
    IF (Actual_Accrual_Start_Date > First_Period_SD AND
    Actual_Accrual_Start_Date > First_Eligible_To_Accrue_Period_SD) THEN
    E = GET_PERIOD_DATES(Actual_Accrual_Start_Date,
    Accruing_Frequency,
    Beginning_Of_Calculation_Year,
    Accruing_Multiplier)
    Accrual_Start_Period_SD = get_date('PERIOD_START_DATE')
    Accrual_Start_Period_ED = get_date('PERIOD_END_DATE')
    IF Actual_Accrual_Start_Date > Accrual_Start_Period_SD THEN
    E = GET_PERIOD_DATES(add_days(Accrual_Start_Period_ED,1),
    Accruing_Frequency,
    Beginning_of_Calculation_Year,
    Accruing_Multiplier)
    Accrual_Start_Period_SD = get_date('PERIOD_START_DATE')
    Accrual_Start_Period_ED = get_date('PERIOD_END_DATE')
    If the Actual Acrual Period is after the Calculation Period then end the processing.
    IF (Accrual_Start_Period_SD > Calculation_Period_ED) THEN
    Total_Accrued_PTO = 0
    E = PUT_MESSAGE('HR_52797_PTO_FML_ACT_ACCRUAL')
    ELSE IF (First_Eligible_To_Accrue_Period_SD > First_Period_SD) THEN
    Accrual_Start_Period_SD = First_Eligible_To_Accrue_Period_SD
    Accrual_Start_Period_ED = First_Eligible_To_Accrue_Period_ED
    ELSE
    Accrual_Start_Period_SD = First_Period_SD
    Accrual_Start_Period_ED = First_Period_ED
    Now set up the information that will be used in when looping through the periods
    IF Calculation_Period_ED >= Accrual_Start_Period_ED THEN
    E = set_date('PERIOD_SD',Accrual_Start_Period_SD)
    E = set_date('PERIOD_ED',Accrual_Start_Period_ED)
    E = set_date('LAST_PERIOD_SD',Calculation_Period_SD)
    E = set_date('LAST_PERIOD_ED',Calculation_Period_ED)
    E = set_number('TOTAL_ACCRUED_PTO',0)
    E = LOOP_CONTROL('RGH_QIS_PTO_SIMPLE_PERIOD_ACCRUAL')
    Total_Accrued_PTO = get_number('TOTAL_ACCRUED_PTO')
    IF Accrual_Start_Period_SD <= Calculation_Period_SD THEN
    Accrual_end_date = Calculation_Period_ED
    Effective_Start_Date = Accrual_Start_Period_SD
    Effective_End_Date = Calculation_Date
    IF Effective_Start_Date >= Effective_End_Date THEN
    Effective_Start_Date = Effective_End_Date
    RETURN Total_Accrued_PTO, Effective_start_date, Effective_end_date, Accrual_end_date
    please advice

  • AR Receipts - 'Cleared' receipts migrated as 'Remitted'

    Hi,
    I am importing AR Receipts in R12, using Create Cash API. The state of the receipts in legacy was 'Cleared', but migrated receipts have state as 'Remitted'.
    Will this state change once Bank Reconciliations is run? Or is there any other reason for this?
    Thanks in advance,
    Aditya

    Seems you have provided incorrect value for receipt_method_id parameter in the API.
    Make sure receipt method have no confirmation and no remittance. then receipt will be created in CLEARED status.
    Check the clearance method, if it's by matching the need to clear it through Bank reconciliation through cash management.

  • CREATE_CASH : ORA-29282: invalid file ID

    While running the AR_RECEIPT_API_PUB.create_and_apply to create and apply a receipt in R12, i get the error:
    Message 1. CREATE_CASH : ORA-29282: invalid file ID
    Message 2. ORA-29282: invalid file ID in Package AR_RECEIPT_API_PUB Procedure Create_cash
    DECLARE
    l_return_status VARCHAR2(1);
    l_msg_count NUMBER;
    l_msg_data VARCHAR2(240);
    l_cash_receipt_id NUMBER;
    p_count number := 0;
    BEGIN
    -- 1) Set the applications context
    mo_global.init('AR');
    mo_global.set_policy_context('S','83');
    fnd_global.apps_initialize(1303, 50695, 222,0);
    AR_RECEIPT_API_PUB.create_and_apply
    ( p_api_version => 1.0,
    p_init_msg_list => FND_API.G_TRUE,
    p_commit => FND_API.G_TRUE,
    p_validation_level => FND_API.G_VALID_LEVEL_FULL,
    x_return_status => l_return_status,
    x_msg_count => l_msg_count,
    x_msg_data => l_msg_data,
    p_amount => 1309.6,
    p_receipt_number => 'TIENDA-api2',
    p_receipt_date => '22-JUL-2012',
    p_gl_date => '22-JUL-2012',
    p_customer_number => 1007,
    p_receipt_method_id => 1000,
    p_trx_number => '145996',
    p_cr_id => l_cash_receipt_id );
    -- 3) Review the API output
    dbms_output.put_line('Status ' || l_return_status);
    dbms_output.put_line('Message count ' || l_msg_count);
    dbms_output.put_line('Cash Receipt ID ' || l_cash_receipt_id );
    if l_msg_count = 1 Then
    dbms_output.put_line('l_msg_data '|| l_msg_data);
    elsif l_msg_count > 1 Then
    loop
    p_count := p_count + 1;
    l_msg_data := FND_MSG_PUB.Get(FND_MSG_PUB.G_NEXT,FND_API.G_FALSE);
    if l_msg_data is NULL Then
    exit;
    end if;
    dbms_output.put_line('Message ' || p_count ||'. '||l_msg_data);
    end loop;
    end if;
    END;

    Please see these docs.
    Oracle Receivables Reference Guide Release 12 [ID 1077107.1]
    Oracle Receivables: Receipts API Known Issues and Patches [ID 1362066.1]
    Oracle Receivables: Receipts API Overview, Setup, Sample Scripts and Troubleshooting [ID 1361075.1]
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=AR_RECEIPT_API_PUB&c_owner=APPS&c_type=PACKAGE
    https://forums.oracle.com/forums/search.jspa?threadID=&q=AR_RECEIPT_API_PUB.create_and_apply&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Authorization of credit card transaction failed. Failure in Authorization

    Hello All,
    I am getting the below error while doing Auto-Receipts in R12.1.3.
    Authorization of credit card transaction failed. Failure in Authorization
    Please guide me to identify the issue.
    Thanks and Regards,
    Muthu

    Hi,
    Thank you very much for your support.
    But still i'm getting the same error. I read in one site the below step(Marked as Bold), This could be the reason why the error is occurring..
    But I don't know how to check, If any one know about the below step, let me know.
    Depending upon the function security options set up by your system administrator, you might be able to create, format, and approve Automatic receipt batches in one step.
    Thanks and Regards,
    Muthu

  • IN R12 -- HOW TO CREATE RECEIPT METHOD IN RECEIVABLES

    IN R12 --> HOW TO CREATE RECEIPT METHOD IN RECEIVABLES
    SET UP
    RECEIPTS-------> RECEIPT CLASSES
    I CREATED NEW RECEIPT CLASS AND NEW RECEIPT METHOD
    WHEN CREATING NEW RECEIPT METHOD
    BANK ACCOUNTS---------->
    I AM ABLE TO SELECT THE DETAILS FOR THE FOLLOWING
    1. OPERATING UNIT
    2. BANK NAME
    3. BRANCH NAME
    4. EFFECTIVE DATES
    5. CASH ACCOUNT
    6. UNAPPLIED RECEIPTS
    7. UNIDENTIFIED RECEIPTS
    8. ON ACCOUNT RECEIPTS
    BUT WHEN COMES TO THE
    UNEARNED DISCOUNTS AND
    EARNED DISCOUNTS I AM UNABLE TO GET LOV FOR THAT
    IN THE SET UP----> SYSTEM OPTIONS ----> MISCELLANEOUS
    I CHECKED THE CHECK BOX TO YES FOR
    ALLOW UNEARNED DISCOUNTS
    PLEASE GIVE SOLUTIONS FOR THIS
    THANKS IN ADVANCE
    PRINCE

    Hi
    Thank You Ketter Ohnes for Reply,
    AR: Setup: Receipts: Receivable Activities
    When i am doing above set up it is giving the following error.
    PLEASE DEFINE A PARTY TAX PROFILE FOR OPERATING UNIT & ORG_ID
    Thanks and Regards
    Prince

  • Opening Balances for Project Costing in R12

    Hi All,
    What are the Open transactions should be migrated as Opening Balance in Project Costing (R12) for Projects and Tasks. Here at client place cost will come from Inv, PO, AP and OTL to Project costing (R12). Can you please explain in detail (Opening Balances & Historical Cost - How to Migrate)?
    Waiting for replies...

    Hi
    Usually on implementation of Projects, people are migrating total historical costs per project.
    Depend on your current system, you may convert the historical data summarized by project, task, expenditure organization and expenditure type. There is an option to summarize costs into the latest period, just before starting the future transactions import into Projects. Otherwise, consider summarizing cost data per period, per quarter or per year.
    The summarized data may be loaded as miscellaneous expenditures into Projects.
    Be aware that for converted expenditures you should setup a Transaction Source which is costed and accounted.
    Dina

  • Period Wise Inventory Opening balance,Receipts ,Issues and Closing Balance

    Hi Guys I need Period Wise Details,but the above query is giving date wise can any one give me a solution plz.
    the Below is the table structure and the select statement that i am working on.
    CREATE TABLE INV_TRACK( TRANS_ID NUMBER,
    ITEM_ID VARCHAR2(10), QTY NUMBER,
    COST NUMBER, TRANS_TYPE VARCHAR2(2 ),
    TRANS_DATE DATE )
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 1, 'a1', 100, 50, 'r', TO_DATE( '10/01/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 2, 'a1', 105, 50, 'r', TO_DATE( '10/01/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 3, 'a2', 100, 100, 'r', TO_DATE( '10/01/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 4, 'a1', 90, 50, 'i', TO_DATE( '10/02/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 5, 'a2', 90, 100, 'i', TO_DATE( '10/02/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 6, 'a2', 200, 100, 'r', TO_DATE( '10/02/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 7, 'a3', 2500, 10, 'r', TO_DATE( '10/03/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 8, 'a3', 100, 10, 'r', TO_DATE( '10/03/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 9, 'a3', 1500, 10, 'i', TO_DATE( '10/03/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    SELECT *
    FROM(SELECT TRANS_ID,item_id,trans_type,trans_date,
    lag(qty)
    over(PARTITION BY item_id ORDER BY trans_id ASC) "Opening Balance",
         DECODE(SIGN(qty-lag(qty)over(PARTITION BY item_id ORDER BY trans_id ASC)),1,(qty-lag(qty)over(PARTITION BY item_id ORDER BY trans_id ASC))) "Receipts",
         ABS(DECODE(SIGN(qty-lag(qty)over(PARTITION BY item_id ORDER BY trans_id ASC)),-1,(qty-lag(qty)over(PARTITION BY item_id ORDER BY trans_id ASC)))) "issues",
         qty "Closing Balance"
    FROM inv_track)     
    WHERE trans_date BETWEEN :date1 AND :date2

    You have the right idea for the issues/receipts, but the KEEP function will get you your opening/closing quantities.
    SQL> SELECT item_id,
      2         period,
      3         MIN(qty) KEEP (DENSE_RANK FIRST ORDER BY trans_id) AS opening_qty,
      4         SUM(CASE WHEN qty_delta>0 THEN qty_delta END) AS receipts,
      5         SUM(CASE WHEN qty_delta<0 THEN qty_delta END) AS issues,
      6         MAX(qty) KEEP (DENSE_RANK LAST ORDER BY trans_id) AS closing_qty
      7    FROM (
      8  SELECT trans_id,
      9         item_id,
    10         trunc(trans_date,'mm') AS period,
    11         qty,
    12         qty-LAG(qty) OVER (PARTITION BY item_id ORDER BY trans_id) AS qty_delta
    13    FROM inv_track
    14         )
    15   GROUP BY
    16         item_id,
    17         period
    18  /
    ITEM_ID    PERIOD    OPENING_QTY   RECEIPTS     ISSUES CLOSING_QTY
    a1         01-OCT-05         100          5        -15          90
    a2         01-OCT-05         100        110        -10         200
    a3         01-OCT-05        2500       1400      -2400        1500
    SQL>

Maybe you are looking for