How to fetch only current/latest updated eff data from EGO_ITEM_EFF_B table?
Hi,
We need to extract current item eff data. We are using EGO_ITEM_EFF_B for fetching the same. But this table is fetching all the values updated for effs till date. But we only need to capture last updated value, is there any other table which only captures current eff values? Or any other way to achieve this requirement using the same table?
SQL query which I'm using:
SELECT
INVENTORY_ITEM_ID,
ORGANIZATION_ID,
CONTEXT_CODE,
ATTRIBUTE_CHAR6
FROM
EGO_ITEM_EFF_B
where ORGANIZATION_ID = 'xxxxxxxxxxxxxx'
AND INVENTORY_ITEM_ID = 'xxxxx'
AND CONTEXT_CODE = 'xxxxxxxxxxx'
Regards,
Gaurav