117: /*************************************************************
118: ** Initialize date info
119: ** Nullify some attributes which will be inserted from other places
120: ** Validate for correct line_type_id (may not need it ?)
121: ** Validate individual item on line
122: ** Validate transaction reason code
123: ** Get next po_line_id
124: *************************************************************/
125: PROCEDURE validate_line(
481: x_progress := '001';
482: BEGIN
483: SELECT po_lines_s.nextval
484: INTO x_po_line_record.po_line_id
485: FROM SYS.DUAL;
486: EXCEPTION
487: WHEN OTHERS THEN
488: x_po_line_record.po_line_id := NULL;
489: po_copydoc_s1.copydoc_sql_error('validate_line', x_progress, sqlcode,