SQL
SQL
update WF_ITEM_ATTRIBUTES set NUMBER_DEFAULT = -100 where item_type = 'POAPPRV' and name = 'CO_H_PO_TOTAL_T'; commit; update WF_ITEM_ATTRIBUTES set NUMBER_DEFAULT = -100 where item_type = 'POAPPRV' and name = 'CO_D_AMOUNT_ORDERED_T'; update WF_ITEM_ATTRIBUTES set NUMBER_DEFAULT = -100 where item_type = 'POAPPRV' and name = 'CO_D_QUANTITY_ORDERED_T'; update WF_ITEM_ATTRIBUTES set NUMBER_DEFAULT = -100 where item_type = 'POAPPRV' and name = 'CO_S_AMOUNT_T'; update WF_ITEM_ATTRIBUTES set NUMBER_DEFAULT = -100 where item_type = 'POAPPRV' and name = 'CO_S_QUANTITY_T'; update WF_ITEM_ATTRIBUTES set NUMBER_DEFAULT = -100 where item_type = 'POAPPRV' and name = 'CO_L_UNIT_PRICE_T'; update WF_ITEM_ATTRIBUTES set NUMBER_DEFAULT = -100 where item_type = 'POAPPRV' and name = 'CO_L_QUANTITY_T'; (2)We did not ran this script because it is related to 11i version. (3)We ran this script. select maximum_increment from po_change_order_tolerances_all where change_order_type='CO_ORDERS' and tolerance_name = 'PO_AMOUNT' and org_id = &ORG_ID; (4) We did not ran this script UPDATE po_change_order_tolerances_all set maximum_increment = -100 where change_order_type = 'CO_AGREEMENTS' AND tolerance_name = 'HEADER_AMOUNT_AGREED' AND org_id = &Operation_id; We ran this script also.
select pcot.ORG_ID Org ,pcot.TOLERANCE_ID ID ,pcot.SEQUENCE_NUMBER Seq ,pcot.CHANGE_ORDER_TYPE Type ,pcot.TOLERANCE_NAME Name ,pcot.MAXIMUM_INCREMENT "Max %" ,pcot.MAXIMUM_DECREMENT "Min %" from po_change_order_tolerances_all pcot ,po_headers_all ph ,po_headers_all ph1 where pcot.change_order_type in (select decode(ph2.type_lookup_code, -- References PO_DOCUMENT_TYPES_ALL_B.do cument_subtype 'STANDARD', 'CO_ORDERS', 'BLANKET', 'CO_RELEASES', 'CONTRACT', 'CO_AGREEMENTS') from po_headers_all ph2 where ph2.po_header_id = ph1.po_header_id) and pcot.org_id = ph.org_id and ph1.po_header_id = ph.po_header_id and ph.segment1 = '&po_num' order by pcot.org_id,pcot.tolerance_id;
Note:As per Oracel suggestion we ran these scripts on ADTC Test instance.