0 Replies Latest reply: Jul 10, 2013 10:53 AM by user12947975 RSS

    PO Account Generator Workflow - Need Help

    user12947975

      Hi All,

       

      My Requirement is to customize the PO Account Generator Workflow such that the General Default charge Account is choosen based on PO Line Type.

       

      My Plan is to do as below:

       

      select count(*)

      from po_lines_all

      where line_type = 'Goods'

      and po_line_id = :line_id

      and po_header_id = :header_id;

       

      Could you please help me how can I get the :line_id and :header_id here. I mean what should be the value to be passed to getattrbvalue which returns the line_id, header_id.

       

      Thanks in Advance.