Facing issue VPD for Shipment Cost
Hi All,
I am having a specific requirement to restrict the shipment cost for a shipment for which i am using a VPD as below but this does not give me correct results .
The VPD for Shipmennt cost is
EXISTS(SELECT 1 FROM SHIPMENT_INVOLVED_PARTY C , SHIPMENT A WHERE C.INVOLVED_PARTY_QUAL_GID='DSC.DISPATCHER' AND C.INVOLVED_PARTY_CONTACT_GID = SYS_CONTEXT('gl_user_ctx', 'log_in_user_gid') and A.SHIPMENT_GID = C.SHIPMENT_GID)
I already have the dispatcher added on shipment & Order and the dispatcher id and login user ID are also correctly matching .
Let me know where the above query needs updations..
Tagged:
0