81:
82: /* Used to get the next attached_document_id for a new attachment */
83: CURSOR c_get_id IS
84: SELECT fnd_attached_documents_s.nextval 85: FROM dual; 86:
87: /* Used to get the next sequence number for a new attachment */
88: CURSOR c_get_seq IS
89: SELECT NVL(max(seq_num),0) + 10