My Oracle Support Banner

How Can The 'Availability' Button On The Quick Sales Order Form Be Disabled? (Doc ID 2531652.1)

Last updated on DECEMBER 03, 2019

Applies to:

Oracle Order Management - Version 12.2.3 and later
Information in this document applies to any platform.

Goal

Business requirement is to disable the 'Availability' button in the Quick Sales Order(QSO) form for selected responsibilities. Additionally if the user changes folders, the Availability Button should not be visible as long as the user is in the responsibility.  This works in the Sales Order(SO) Form via Form Personalization, but is not working in the Quick Sales Form.

Navigate to Order Management Super User --> Quick Sales Orders.

Personalization on both SO and QSO forms was the following:
  
Trigger Event : WHEN-NEW-FORM-INSTANCE
Action :
   Type=Property
   Object Type=Item
   Target Object=ORDER_CONTROL.Availability
   Property Name=ENABLED
   Value=FALSE
  
This worked in the SO form, but the button was not getting disabled in the QSO form, because code was written in WHEN-NEW-FORM-INSTANCE trigger that after personalizations are performed, all the default buttons are again enabled. You cannot achieve the functionality of disabling the Availability button in QSO in the same manner as the SO form as the feature of "Configure Buttons" is provided in the QSO Form due to which code always tries to enable back buttons that are selected in the folder.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.