Procurement - EBS (MOSC)

MOSC Banner

Unable to fetch segment1 from po_headers_all in before insert trigger on po_lines_all

edited Aug 8, 2018 5:07AM in Procurement - EBS (MOSC) 3 commentsAnswered

Hi All,

Need a small help on trigger on po_lines_all.

I need to insert some values to note_to_vendor column during the insertion of po_lines_all.

But I am not able to fetch segment1 from po_headers_all.

below is the script I am using.

Can anyone please check and let me know why I am not able to fetch segment1 from po_headers_all.

CREATE OR REPLACE TRIGGER apps.xx_po_lines_afi

  BEFORE INSERT

  ON po_lines_all

  FOR EACH ROW

DECLARE

  lc_flag             NUMBER;

  lc_po_number        VARCHAR2 (240);

  lc_note_to_vendor   VARCHAR2 (240);

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center