Is there a way to restrict the blanket release qty or amount to agreed amt

Hi,
We have a requirement to restrict the blanket release qty or amt of the item to the amount that is agreed on the blanket Purchase Order line. Is there a setup at supplier or in purchasing that dictates this
Thanks,
user12048986

Hello,
I've made a few "forms perso" and I think you can deal with this case, depending of course of the business rules you want to apply.
If you want to apply the field "COMMITTED_AMOUNT" as a global limit for all your release you can test the following :
All your code will be done in "Not in Enter-Query Mode"
1/ Create some variables on the WHEN-NEW-FORM-INSTANCE event : this committed amount, and also the amount already consumed,
2/ Initialize the variables on the WHEN-NEW-ITEM-INSTANCE event, on the PO_SHIPMENTS.SOURCE_LINE_NUM object,
condition will be :PO_RELEASES.PO_Release_Id IS NOT NULL
3/ On the WHEN-VALIDATE-RECORD event of the PO_SHIPMENTS object, you will update your variables depending of the item on the current line by some SQL statement, using the variable.VALUE = (your SQL),
condition will be :PO_RELEASES.PO_Release_Id IS NOT NULL AND :SYSTEM.RECORD_STATUS IN ('CHANGED', 'INSERT', 'NEW')
4/ Still on the WHEN-VALIDATE-RECORD event of the PO_SHIPMENTS object, you should in your condition compare the amount already ordered (including your current shipment line) to your limit, then in the action display a message to warn the user.
On this step I use also a variable XX_NB_MSG_DISP because as the WHEN-VALIDATE-RECORD is trigerred several time during the validation, you will display the message several times :°/
Then condition will looks like something like this :
:PO_RELEASES.PO_Release_Id IS NOT NULL
AND :SYSTEM.RECORD_STATUS IN ('CHANGED', 'INSERT', 'NEW')
AND :GLOBAL.XX_NB_MSG_DISP = '0'
AND ((:GLOBAL.XX_ORDERED_AMOUNT > :GLOBAL.COMMITTED_AMOUNT)
At this point the message is only a warning, but it is already a little piece of code, tell me if you succeed in doing something with those explanations. Honestly I do not have time to do any tests about this...
You can also use the PO_APPROVE event to do a global control, but this is less user-friendly.
Hope it helps,
Take care,
Xavier

Similar Messages

  • Date picker - is there a way to restrict the minuit select list to 1/4 hr

    Hi,
    When using date picker item with format 'DD-MON-YYYY HH24:MI',
    Is there a way to restrict the minuit select list on the calendar to 1/4 hr instead of 00 to 59. Example: 00,15,30,45
    Thank you,
    Francis

    Hold down command key to select multiple songs, then "Get Info", and you will modify all fields at the same time.

  • Is there a way to restrict the network access of an application?

    Is there a way to restict the network access of an application? In other words, is there a way to guarantee that an application will only operate in offline mode?

    Well, more than just knowing if an application will work in offline mode, I'm interested in whether there's a way to forcibly the revoke network access of an application. For example, I don't think something like an epub reader should have network access and I want to insure it does not communicate to an external server.

  • Is there a way to restrict the number of attempts for a remediated question using advanced actions?

    I have the following slides in my project:
    content slide 1
    content slide 2
    question slide 1
    question slide 2
    Question slide 1 is a question about content slide 1. Question slide 2 is a question about content slide 2. I would like to restrict the total number of attempts to two for each question. If question 1 is answered incorrectly on the first attempt, the learner would be returned to content slide 1 for review. Clicking the next button will take the learner back to the missed quiz question and allow them a second attempt to answer it correctly. If they answer it incorrectly again, it is scored as incorrect and the learner is taken to question slide 2.
    Can this be done or does remediation keep repeating until the learner answers the question correctly?
    If that is the case, can I achieve my objective by using advanced actions? And, if so, can you provide step by step instructions on how to do this?

    I think it could be possible, but giving you step-by-step instructions, sorry, that would take a lot of time. Did you use advanced actions already? My archived blog has a lot of use cases and tutorials, but I think it is not fair to ask on a forum for step-by-step instructions for each use case you want to create.  The most important thing will be to make sure that the user always remains in the Quiz scope, you can use the new system variable cpInQuizScope while testing. There is no system variable for attempts on question level, only one on Quiz level, so you'll have to create a user variable to track the attempts on question level. A big problem is that when you leave a question slide, without using the remediation work flow, the attempts are considered as finished. Personally I would prefer for that reason to not use the default question slides. You could try out a combination of remediation and advanced actions, never did test that?
    Lilybiri

  • Is there a way to restrict the cursor at the end of a line in the source code editor??

    In the source code editor, the cursor will always follow where I click. But I wanna restrict it at the end of a line, just like other text editors do. Is there a option or sth? I can't put up with it any longer.
    Solved!
    Go to Solution.

    Hello morphe!
    The source editor in the LabWindows/CVI environment is constructed under the concept of virtual space.
    At the moment, in the current version of LabWindows/CVI, this is the default behavior, which cannot be changed from the editor preferences dialogs.
    Best regards,
    - Johannes

  • Is there a way to restrict the ports used by Toplink for making jdbc

    connections? For example we want to restrict Toplink from using ports below 5000
    This is when Toplink makes an outward connection to an oracle server
    ** Urgent **
    Please help

    When using JDBC you give the port in your JDBC URL, i.e.
    jdbc:oracle:thin:@myserver:1521:orcl
    Or do you mean a different port? Maybe check your JDBC driver documentation or forum.
    James : http://www.eclipselink.org

  • Is there any way to click the System Message Box button  through code?

    Hi,
    Is there any way to click the System Message Box button through code?
    Is there any way to restrict the System Message Box ?
    The requirement is, i need to open the MRP Wizard form in MRP.it s run automatically.after completion of the wizard is there finish button.after clicking of the finish button, there have a system message. i want to click on "Yes" button through coding.
    when system message box open.my code is stopped.if i press yes code is running.   
    Thanks in advance.

    Thanks for replay
    bellow given the code
    i am using, when i call the finishMrp function its going to take the itemId from XML and click to the finish button.
    There have a system message .when system message fair my debugging stopped. Please give me any idea.
    Public Function Execuate() As Boolean
    Dim strSQL As String
      Dim objRS As SAPbobsCOM.Recordset
        Dim intLoop As Integer
        Dim objForm As SAPbouiCOM.Form
        objForm = objAddOnCentral.objApplication.Forms.ActiveForm
        objRS = objAddOnCentral.objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
        strSQL = "SELECT U_MRPCode From [@ACSYMRPLIST]"
        objRS.DoQuery(strSQL)
        If objRS.EoF Then
        Throw New Exception("No MRP Scenario Scheudled")
        Return False
        End If
    For intLoop = 1 To objRS.RecordCount
                objForm.Freeze(True)
                If intLoop = 1 Then
                initializeMRPRun()
                System.Windows.Forms.Application.DoEvents()
                Else
                reinitialize()
                System.Windows.Forms.Application.DoEvents()
                End If
                MRPRun(objRS.Fields.Item("U_MRPCode").Value)
                System.Windows.Forms.Application.DoEvents()
                objForm.Freeze(False)
                objRS.MoveNext()
            Nex
            finishMRPRun()
            Return True
        End Function
       Private Sub finishMRPRun()
            Dim strResource As String
            Dim objXML As New XmlDocument
            Dim objXMLNode As XmlNode
            Dim objXMLNodeList As XmlNodeList
            strResource = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name & "." & "AutoStart.xml"
            objXML.Load(System.Reflection.Assembly.GetExecutingAssembly.GetManifestResourceStream(strResource))
            objXMLNodeList = objXML.SelectNodes("/AutoMRPScript/FinishMRP/Instruction")
            For Each objXMLNode In objXMLNodeList 'objXML.ChildNodes.Item(1).ChildNodes
                Select Case objXMLNode.Attributes("OPType").Value
                    Case "2"
                        systemMessageactiveFormButton(objXMLNode)
                End Select
            Next
        End Sub
    Private Sub systemMessageactiveFormButton(ByVal Instruction As XmlNode)
            Dim objForm As SAPbouiCOM.Form
            objForm = objAddOnCentral.objApplication.Forms.ActiveForm
            objForm.Items.Item(Instruction.Attributes("ItemID").Value).Click()
        End Sub
    Edited by: Badulla Sk on Dec 31, 2009 11:24 AM
    Edited by: Badulla Sk on Dec 31, 2009 11:25 AM

  • Is there a way to restrict changing the browsing history in safari with ought restricting the entire application?

    Is there a way to restrict changing the browsing history in safari with ought restricting the entire application?

    For the iPod touch in your profile?
    Private browsing help here >  iOS:  Safari web settings
    For Safari for Mac OS X ...
    From your Safari menu bar click Safari > Private Browsing
    You can only block all history in Private Browsing, pages you visit, and autofill.

  • HT201304 I forgot the restriction code. Is there a way to reset the restriction code without restoring my IPod?

    I don't remember my restriction code is ther a way to remove the code without restoring my iPod?

    http://support.apple.com/kb/HT1212
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • Is there any way to change the restrictions passcode?

    Is there any way to change the restrictions passcode short of erasing all content and starting over?

    Remove restriction password
    1. Restore to Factory Default
    2. You can also restore from a backup before you enable the Restriction Code

  • HT201304 Is there a way to restrict user access to find my ipad with out restricting the mail app?

    I am working on setting up multiple Ipad 2 tablets with iOS 5.1.1 and I need to restrict access to turn off find my ipad. The only way I see to do this is to turn on restrictions and dont allow changes on accounts. The issue I have then is it also restricts the Mail app setup. Is there a way to restrict one and not the other? We use microsoft exchange mail and I would be willing to use another mail app if anyone can suggest one that works as an alternative?
    Thank you.

    I don't know of any reliable tracking app, but perhaps someone else here can suggest one I'm not aware of. Any could be defeated by just restoring the iPad, though, so about all you could hope to do would be make things a bit more difficult to turn off. For a third-party app, you'd have to restrict the user's ability to uninstall apps, something which might be equally problematic for you.
    Regards.

  • My child accidentally rented a movie on Apple TV.  Is there a way to refund the rental if we don't watch it?  How can I prevent this from happening?  Is there a way to password protect future purchases?

    My child accidentally rented a movie on Apple TV.  Is there a way to refund the rental if we don't watch it? 
    How can I prevent this from happening?  Is there a way to password protect future purchases?

    Did you try Parental Controls?
    Apple TV: Understanding Restrictions (parental controls) - Apple Support
    See if that does the trick: I think there's a way for you to request a password for purchases, but still be logged in.

  • Is there a way of restricting access to columns in a BI BEANS report?

    Hi,
    I was wondering if there is a way to retrict access to a column in a BI BEANS crosstab report. The scenario is, if a particular user has the priviledges to see the profit column in a crosstab, but another user doesn't is there any way to stop the less restricted user from seeing this column using the same BI BEANS report?
    This is really the alternative to having 2 reports, 1 with the profit column and 1 without, and depending on what user is logged in, it will show one or the other.
    Regards,
    Scott.

    Hi Scott,
    This is an interesting question.
    If I presume you are talking about an OLAP data source where data does not reside in an Analytic Workspace, then the following is true :-
    The BI Beans respects database security and therefore the user has access to a particular schema(s) and table(s) in the database.
    When talking about cubes, you must remember a cube is mapped to a particular Fact table and dimensions.
    Because a Measure is a constituent sub-component of a cube, unless the measures are sourced from different fact tables with different user privileges, then it would be difficult to discriminate against users and hide columns or measures.
    Basically, what I am saying is:
    A cube is the finest granularity at which users can be differentiated.
    A cube maps to a fact table, hence this is the level at which the DB grants are applied.
    Unless measures belonged to different cubes, and hence different fact tables, then it would be impossible to discriminate against users and access to different columns/measures.
    What you could do however, at the BI Beans application level is :-
    Before displaying a presentation object, you could filter the Query programmatically and remove components which you did not want to display i.e. measures etc.
    This would require more leg work with the presentation object and filtering the embedded query, but would achieve the same effect. You would have to work out a method of validating users too and what they had access to.
    I hope this answers your Question.
    Should you require more information, please let us know.
    Many Thanks
    BI Beans
    Product Management

  • Is there a way to obtain the text item's value when the mouse pointer at?

    Hi,
    Is there a way to obtain the text item's value when the mouse pointer at? Mouse pointer may be located somewhere out of current record and even out of current block.

    There is a when-mouse-over trigger and that works fine in client-server mode for Forms 5/6/6i, but that is less indicated when deployed using Application Server.
    In that trigger you may write whatever code is necessary, restricted package procedures.
    Still, I think, for your case, if you do not have to deal with a multi-record block, you should use the HINT property for that item and set_item_property with the HINT argument for that item in order to set the hint to the item's value - this should set_item_property should be called on the when-new-record-instance .

  • Is there a way to restrict opening a PDF to one computer (PC or Mac)?

    Is there a way to restrict opening a PDF to one computer (PC or Mac)?
    I'm not sure how it would be done. Encoding of current IP number or logicboard serial number? Any ideas?
    The PDF publication is a trade-sensitive document that is expensive and the publishing company would like to restrict it's use to one computer. (Passwords can be passed around.)

    Do this:
    - iTunes: Back up your iTunes library by copying to an external hard drive
    - Then import into your new computer
    - Copy any synced photos to the new computer
    - Backup the ipd to the new computer
    iOS: How to back up
    - Restore the iPod from that backup. The link directly above says how.

Maybe you are looking for