1 Reply Latest reply on Apr 1, 2008 2:41 PM by 628428

    Restricting Buyers

    612234
      Hi,

      This is in continuation to one of my previous queries to this forum...

      Restrict creation of standard POs from scratch i.e. do not allow POs to be created without a backing requisition and
      Do not allow Quantity value to be updated in the PO autocreated from Requisition

      As suggested in the previous query, I tried form personalization to achieve this

      Trigger event: when-new-form-instance
      condition: :PO_HEADERS.DOC_TYPE_NAME in ('Standard Purchase Order')
      action:
      object type: item
      target object: PO_LINES.QUANTITY
      property name: UPDATE_ALLOWED
      value: FALSE

      This rule is not working! Can someone validate or suggest?

      Thanks,
      Sudarshan
        • 1. Re: Restricting Buyers
          628428
          Sudarshan
          Trigger Event: WHEN-VALIDATE-RECORD
          Trigger Object: PO_HEADERS
          Condition: :PO_HEADERS.DOC_TYPE_NAME='Standard Purchase Order' AND :PO_HEADERS.AGENT_NAME like 'Your Buyer Name'

          Actions: Message
          Message Type Error
          Message Text : Your message.

          Thanks
          Nagamohan