MIRO posting date less than MIGO / SES posting date

Hi,
In our system , user can make MIRO with respect to a PO and give posting date less than posting date of GRN or Service entry sheet. I want that user can give posting date of MIRO document equal to or greater than posting date of GRN / SES of that PO.  How can i do this?
Regards
Kalpesh

Hi,
Please write a validation in order to avoid the user keying in the pre posting date at the time of MIRO

Similar Messages

  • MIRO(Invoice Verification) posting date is lesser than MIGO(Goods Receipt)

    MIRO(Invoice Verification) posting date is lesser than MIGO(Goods Receipt) posting date.
    Explanation:
    Miro sholud be posted after the GRN has posted. It means that the Posting date of Miro should be greater than or equal to the Posting date of Migo. But I am facing the issue that I can able to post the Miro before the Migo date..
    For example:  I have posted the Migo(Goods receipt) document with the posting date u2013 10.8.09 and at the same time I can also able to post the Miro(Invoice Verification) posting date as u2013 5.08.09. This is should not be allowed . Kindly give me the solution. Is there any options in SAP standards to restrict this type of Postings(without using user exit).
    regards
    Varadharaj

    Hi
    you  need to use BADi for this INVOICE_UPDATE
    you can give logic as whil;e MIRO system will compare posting date with MIGO doc , then create a Z error msg in se91 nad assign it in that badi
    take help of ABAPer, check following link
    [LINK |GR date lesser than the PO date, the system should show an error message.;

  • Posting change quantity less than quantity already posted

    Hello,
    Our customer have a problem on Live system. On transaction LU04 have a
    posting change notice impossible to display, because system provide the
    message number L2 145 'Posting change quantity less than quantity
    already posted'. The Posting Change Number XXXXXX and the
    transfer order is XXXX Is there any way to cancel this TO??It is impossible to do something with that.
    The history is: 321 movement from quality for 5040 un. 3 TO, 2 with 2160 are fine, and the 3rd to sap have generated 2160 un instead of 720 pending.
    Any one had this problem in the past?We are forbidden to change status for PCN from 'T' to 'U'.
    Thanks

    Hi,
    I think you have posted the question in the wrong forum. This is MDM forum.
    Thanks and Regards
    Nitin Jain

  • GR date lesser than the PO date, the system should show an error message.

    Dear Gurus,
                         if anybody puts GR date lesser than the PO date, system should display error this happens because the system allows back dated posting of 101 MVT in MIGO.Similarly the IR date should not be less than the GR date. This happens because the system allows back dated posting of MIRO also.
    Regards
    ASHOK K

    Hi,
    Use the badi MB_DOCUMENT_BADI  and compare dates of EKKO-BEDAT and MKPF-BLDAT for MIGO.
    USe the badi IF_EX_MRM_INVOICE_UPDATE PROCESS_AT_ and compare the dates of MKPF-BLDAT and RBKP-BLDAT while saving the invoice for checking the back dated entries and throw an error message.
    Regards,
    Bharat

  • Is it possible to import less than ALL of the data from a PDF form developed on LiveCycle?

    Is it possible to import less than ALL of the data from a PDF form developed on LiveCycle?

    Please ask in the LiveCycle Designer forum.

  • Less than 2 months post bk, scores soar!

    Scores after bk were around 490ish and less than 2 months later, my experian fico is 627! Equifax and transunion are 534 and 518. I applied for two capital one cards and since leaving a small balance on both, my scores raised significantly. I am excited! Ill be at 700 within the 2 year timeline for sure !!

    Kookoos wrote:
    Absolutely start rebuilding your credit the day of your discharge.( provided your trustee has not put any limits on you.... It can void your bankruptcy.) Ask you attorney. I cried my self to sleep thinking about filing..then I cried my self to sleep asking why I didn't do it earlier.
    Credit on Sept 2013 the day of discharge.
    Eq 589 / TU 569 / Ex 585
    Today
    EQ 761 / TU 756 / Ex 752
    Be smart.. Never carry a balance of $0.
    If your card closes on the 18th. It will be due on the 12th. It reports on the 7th then you pay on the 8th. This way you carry a "reporting" balance but still never pay interest. I always report 7% balance. Nothing more. Nothing less!!!!! It is a pain but it has worked for me. I hope this helps someone. BK is absolutely frightening. Im 6'3" 235lbs. It brought me to my knees!!! But there is hope. Hang in there!!! Just remember this one thing. Your Fico is a credit score..not a debt score.. If you don't show how you manage credit your score will see very little movement. USE your cards and let it show. $0 reported balance means 0 activity to the computing formula. Good luck. YOU CAN DO THIS!!!This, by far, has to be the best and still a little hard, tip to date for repairing credit! Thank you! I am trying to get all of my due dates the same or very close together. In the interim, I am using this method of using maybe 3 cards, then rotating. 

  • Less than or eual to Date issue in dynamic where clause

    Dear All,
    I have a requirement to search the leave balance information, here date as a parameter. When ever we pass the date as a parameter it should be display all the leave balance information till the parameter date.
    Steps I have followed to achieve this requirement
    • Created the VO and query as follows
    SELECT trunc(paa.creation_date) creation_date, paa.date_start, paa.date_end,
    SYSDATE duty_resumption_date, paa.absence_days leave_deducted,
    paa.absence_days leave_added, 'Leave Deucted' detail,
    paa.absence_days balance_remaining,
    fu.user_id
    FROM per_absence_attendances paa, per_all_people_f papf, fnd_user fu
    WHERE 1 = 1
    AND papf.person_id = paa.person_id
    AND papf.person_id = fu.employee_id
    AND fu.user_id=fnd_profile.value('USER_ID')
    And trunc(paa.creation_date) <= TO_DATE((to_char(trunc(to_date(:1)),'DD-MON-YYYY') ),'DD-MON-YYYY')
    •     Created the Advance Search Region
    •     In the controller of the region, I have captured the go button logic and setting the dynamic where clause as below
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    OAQueryBean oaquerybean = (OAQueryBean)webBean.findIndexedChildRecursive("QueryRN");
    if (pageContext.getParameter(oaquerybean.getGoButtonName()) != null)
    OAViewObject oaviewobject = (OAViewObject)am.findViewObject("XXLeaveBalanceVO");
    String creationDate = pageContext.getParameter("CreationDate");
    oaviewobject.setWhereClauseParam(0,creationDate);
    oaviewobject.executeQuery();
    •     But this where condition is working equal condition to the parameter but it is not working less than condition.
    •     When I am running the VO query in Toad it is working the less than condition.
    Please help me out to resolve this issue.
    Thanks in Advance,
    Sai

    Dear Kumar,
    I have changed my vo query as you suggested, now the equal condition also not working and I am getting the following error message
    JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT trunc(paa.creation_date) creation_date, paa.date_start, paa.date_end,
    SYSDATE duty_resumption_date, paa.absence_days leave_deducted,
    paa.absence_days leave_added, 'Leave Deucted' detail,
    paa.absence_days balance_remaining,
    fu.user_id
    FROM per_absence_attendances paa, per_all_people_f papf, fnd_user fu
    WHERE papf.person_id = paa.person_id
    AND papf.person_id = fu.employee_id
    AND fu.user_id=fnd_profile.value('USER_ID')
    And trunc(to_char(paa.creation_date) ,'dd-MMM-yyyy')<= trunc(to_char(:1, 'dd-MMM-yyyy'))) QRSLT WHERE (( CREATION_DATE = :2 )) ORDER BY CREATION_DATE ASC
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:72)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:597)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:521)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01722: invalid number
    Thanks,
    Sai

  • Expression for due date less than today

    hi - i'm trying to compare if the due date of a task is less than today, so that I can automatically mark it as completed.
    any idea what expression I'd use?

    You will have to write a workflow that waits till the due date and then updates it as completed.
    But then what business purpose will it serve? The users will not update the tasks ever.

  • Date less than or equal to 60 days from sysdate

    Hi there!
    I have a doubt about an SQL query, which I don't have any idea on how to proceed.
    I need the SQL to bring data only when 'e.dt_vencimento' is less than or equal to 60 days from sysdate.
    Below you can see my query, and the line I stuck is the #24.
    Thank you already,
    Marcelo Melo
    SELECT b.nr_contrato,
      a.NM_PAGADOR,
      a.NR_SEQ_LOTE,
      a.dt_referencia,
      a.DT_VENCIMENTO,
      a.VL_PRE_ESTABELECIDO,
      a.VL_COPARTICIPACAO,
      a.VL_OUTROS,
      a.VL_TITULO,
      e.dt_liquidacao,
      e.nr_titulo
    FROM pls_mensalidade_wcp_v a,
      pls_contrato b,
      PLS_CONTRATO_PLANO c,
      PLS_CONTRATO_PAGADOR d,
      titulo_receber e
    WHERE b.nr_sequencia  = c.nr_seq_contrato
    AND d.nr_seq_contrato = b.nr_sequencia
    AND a.nr_seq_pagador  = d.nr_sequencia
    AND a.nr_titulo       = e.nr_titulo
    AND c.NR_SEQ_PLANO IN (17, 18, 25, 47, 50, 51,54,56,57,58)
    AND d.cd_pessoa_fisica IS NOT NULL
    and e.dt_liquidacao is null
    --and e.dt_vencimento ***here I intend to write the condition***
    AND a.dt_referencia     =:dt_referencia
    ORDER BY 2

    It sounds like you want
    and e.dt_vencimento <= (sysdate - 60)
    That assumes that you really mean "60 days before sysdate" when you say "from sysdate".  You might intend to say "60 days after sysdate".  And you might mean trunc(sysdate) rather than sysdate in order to ignore the time component.

  • Capture dates (other than weekends) given a date range

    I have the following code where I'm trying to capture the dates, which fall within the entered range. The code in the default condition is not working. I'm trying to get the date in yyyy-MM-dd format and store it in an array. What am I going wrong ? Thanks.
    int days = 1;
    java.sql.Date date_array[];
    while ( beginCalendar.before(endCalendar) ) {
    switch(beginCalendar.get(Calendar.DAY_OF_WEEK))
    case Calendar.SATURDAY:
    break;
    case Calendar.SUNDAY:
    break;
    default:
    java.util.Date dt = sdf.parse(beginCalendar.get(Calendar.DATE));
    java.text.SimpleDateFormat sql_sdf =
    new java.text.SimpleDateFormat("yyyy-MM-dd");
    java.sql.Date sql_dt = java.sql.Date.valueOf(sql_sdf.format(dt));
    date_array[days] = dt;
    days++;
    beginCalendar.add(Calendar.DATE, 1);
    }

    Oooops, I sent the wrong version.....sorry about that. This is what it looks like currently. What I'm doing is creating and comparing two calendars, created from a beginning and ending date range. I'm computing the number of elapsed days, not including Saturday and Sunday. I'm trying to add code, in BOLD, to capture the dates found in the range entered. I don't want to have to code three integers to pick up the year, month and day and use parseInt to concat them together...blah, blah, blah. I would like to just use SimpleDateFormat to capture the entire date in yyyy-MM-dd sql date format and load them into an array. Any suggestions ?
    while ( beginCalendar.before(endCalendar) ) {
    switch(beginCalendar.get(Calendar.DAY_OF_WEEK))
    case Calendar.SATURDAY:
    break;
    case Calendar.SUNDAY:
    break;
    default:
    int day = (beginCalendar.get(Calendar.DATE));
    int month = (beginCalendar.get(Calendar.MONTH)+1);
    int year = (beginCalendar.get(Calendar.YEAR));
    java.text.SimpleDateFormat sql_sdf =
    new java.text.SimpleDateFormat("yyyy-MM-dd");
    // java.sql.Date sql_dt = java.sql.Date.valueOf(sql_sdf.format(dt));
    // date_array[days] = sql_dt;
    days++;
    beginCalendar.add(Calendar.DATE, 1);
    }

  • How to create a topic with link attached when my post is less than 5

    Hi all,
    I was unable to post a forum due to the following error:
    "You can only use links to eclipse.org sites while you have fewer than 5 messages"
    Any workaround for this limitation?

    Change the link to be hxxp:// instead of http://
    Then you can use "Report message to a moderator" (located near the bottom-right corner of message) to request that the link be edited as a "real" one.

  • Inbound delivery qty cannot be less than previously GR-posted qty

    Kindly suggest what could be the reason for appearing the subject line error message while doing GR-MIGO w.r.t inbound delivery.
    Regards

    we have not created any TO,we are using shipment snd shipment cost document processing......w.r.t inbound delivery.
    then we are doing GR w.r.t inbound delivery using migo, but for information to all VL32N is also throwing errosr message.
    scenario PO qty 200 TS(thousand)
    Inbound qty        200 TS
    1st GR done        96 TS
    Now while doing second time GR w.r.t same inbound for the remaining qty i.e. 104 TS the system throwing message VLA-320,desc is written over the subject line.
    material SKU is EA and order unit TS, conversion maintained 1 TS = 1000 EA.
    why promting that message when there are open qty of 104 TS yet to GR.

  • Validate Date Less than Sysdate

    I would like to validate Hiredate attribute of my EmployeesEO entity object for which it should not take a date which is greater than sysdate.
    I wrote this Groovy script on the Edit Validation Rule dialog of EmployeesEO. But it seems not working:
    //perform validation
    if(Hiredate > DBTransaction.currentDbTime){
    adf.error.raise("DATE_GREATERTHAN_SYSDATE_ERROR")
    return false
    return true
    I am using JDeveloper Studio Edition Version 11.1.1.5.0 and ADF BC.
    Please help.
    Edited by: Sahar Hassan on 20 Feb, 2012 1:36 AM

    Hi,
    Have you tried using groovy expression (adf.currentDate) with compare validator
    Ex :
        <validation:CompareValidationBean
          Name="Hiredate_Rule_0"
          ResId="model.Emp.Hiredate_Rule_0"
          OnAttribute="Hiredate"
          OperandType="EXPR"
          Inverse="false"
          CompareType="LESSTHAN">
          <validation:TransientExpression><![CDATA[adf.currentDate]]></validation:TransientExpression>
        </validation:CompareValidationBean>-Arun

  • Earlier date in finish date field than the forecast start date (in Proj def

    Hi Experts
    I have foreast start and forecast finish dates maintained in Project definition. N dates in WBS elements.
    However I am able to maintain an earlier date (than forecast start date) in Finish Date field in PD.
    I believe there should be a  validation with dates.
    Please provide clues.
    Warm regards
    ramSiva

    Hi,
    Please create a validation rule with all prerequisites, check and message .Assign it to the project profile. For the running project , open the project in CJ20N ,--> Edit -->Validation and select this validation for the system to respond appropriately.
    Warm regards,
    Srinivas Potluri

  • Block AP Invoice less than PO date ( Udf )

    Hi All,
    I am trying to Make an SP based on the UDF which is there in the AP invoice named as PODate. I want to block the AP invoice if AP Invoice Posting Date or AP Invoice Document Date is less than the Date of the this UDF. This UDF Captures the PO date basically and I want to Block all AP Invoice whose Posting Date is less than the PO Date.
    I tried the below SP but could be sucessful.
    ---AP Invoice vs PO Date
    if @transaction_type = 'A' and @object_type ='18'
    begin
    if exists(select T0.docnum from dbo.OPCH T0 where T0.docentry = @list_of_cols_val_tab_del
    and T0.docdate > T0.U_PODATE
    BEGIN
    SET @error = 17
    SET @error_message = N'AP Invoice Date less than the PO Date'
    end
    end
    Kindly advise.
    Regards,
    venky

    Hi Venky......
    Try this.....
    ---AP Invoice vs PO Date
    if @object_type ='18' and @transaction_type = 'A'
    begin
    if exists(select T0.docnum from dbo.OPCH T0 where T0.docentry = @list_of_cols_val_tab_del
    and T0.docdate < T0.U_PODATE
    BEGIN
    Select @error = -1,
    @error_message = N'AP Invoice Date less than the PO Date'
    end
    end
    If you see in your SP you have given reverse condition that is T0.docdate > T0.U_PODATE but it shoudl be T0.docdate < T0.U_PODATE
    ANyways try this SP.......
    Regards,
    Rahul

Maybe you are looking for

  • I believe an Apple Genius has damaged my computer, what can I do?

    I took my Mac Pro to the Apple Store today to get a heatsink looked at (it's overheating). I know the heat sink retainer clip is broken, you can see it with a flashlight. So I asked the Genius to take a look at it. He took the processor board out of

  • Zen Vision M 30gB: How Do You Add DVD Movi

    Just received this player as a gift from a friend. I think he got it at DELL. It was easy adding Music and it sounds great. I have to figure out how to use the Equilizer, Smart Sound (keeps sound levels constant) and Bass Boost...to arri've at the be

  • Cannot install Windows XP on my X30

    Hi there, i have a big problem, my problem is that i cannot install windows XP on my X30. That means exactly when i boot from my install cd, the installation checks my hardware but after this it doesn't go on.  What i have already checked: - a RAM te

  • Hard Drive Has Vanished

    Today I used Carbon Copy Cloner to make a copy of my G5 iMac to an external Firewire drive. Once that was done I began to install Leopard onto the iMac. I've already installed Leopard onto my Macbook and it runs great. But the installer just stuck. I

  • Linking to a phone dialer in Muse

    In the new videos about how to create mobile versions of your site, both instructors show that you can add a "click to call" feature to the phone number. This allows the person visiting the site to just tap on the phone number to bring up the phone's