Personalization to Restrict Subinventory LOV in Miscellaneous Transaction To Subinventory Have Oh-hand From The Items
التحمكم في قائمة المخازن الفرعية علي شاشة الحركات المتنوعة حتي يظهر الخزان التي بها رصيد فقط
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
Personalization to restrict subinventory lov in miscellaneous transaction to subinventory have oh hand from the items
1. Subinventory LOV in Miscellaneous Transaction
Purpose : Restrict Subinventory LOV in Miscellaneous Transaction To Subinventory Have Oh-hand From The Items
Example :
We Have On Hand From Item SH A In Three Subinventory FG,
2. Target :
Restrict Subinventory List Of Value To This Subinventory Only In Miscellaneous Transaction Form When Transaction Action
Is Issue
4. Trigger Event WHEN-NEW-ITEM-INSTANCE
Trigger Object MTL_TRX_LINE.SUBINVENTORY_CODE
Condition :MTL_TRX_LINE.ITEM is not null
and :MTL_TRX_LINE.TRANSACTION_ACTION_ID=1
Processing Mode Both
2. Action Tab:
a. Choosethe type Builtin and select Built intype 'Create Record Group FromQuery'
Write your query and give it group name.
5. Add any Where Condition To Select
----- XX_SUB_ON ----------
select secondary_inventory_name ,description, quantity_tracked, asset_inventory, locator_type, material_account
from mtl_subinventories_val_v where organization_id = :parameter.org_id
and inv_material_status_grp.is_status_applicable(
:parameter.wms_installed
, :mtl_trx_header.trx_status_enabled
, decode(:mtl_trx_header.transaction_type_id,-99,:mtl_trx_line.transaction_type_id,:mtl_trx_header.transaction_type_id)
, NULL
, NULL
, :parameter.org_id
, :mtl_trx_line.inventory_item_id
, secondary_inventory_name
, NULL
, NULL
, NULL
, nvl(:mtl_trx_header.material_status_object_type,'Z') ) = 'Y'
and secondary_inventory_name in (select SUBINVENTORY_CODE FROM inv.mtl_onhand_quantities_detail where
INVENTORY_ITEM_ID=:mtl_trx_line.inventory_item_id and ORGANIZATION_ID=:parameter.org_id)
order by secondary_inventory_name
--------------------------------------------------------------------------------
b. Choosethe type Property, Objecttypeas Lov and enter the field name in
Target object=SUBINVENTORY
Property Name = GROUP_NAME
Value = XX_SUB_ON (The Same Name In The Previous Step)