281: -- Make the preprocessing call to the user hooks
282: --
283: -- Pre call to the Customer Type User Hook
284: --
285: IF jtf_usr_hks.ok_to_execute('JTF_NOTES_PUB'
286: ,'Create_Note'
287: ,'B'
288: ,'C'
289: )
332: END IF;
333:
334: -- Pre call to the Vertical Type User Hook
335: --
336: IF jtf_usr_hks.ok_to_execute('JTF_NOTES_PUB'
337: ,'Create_Note'
338: ,'B'
339: ,'V'
340: )
570: -- Make the post processing call to the user hooks
571: --
572: -- Post call to the Customer Type User Hook
573: --
574: IF jtf_usr_hks.ok_to_execute( 'JTF_NOTES_PUB'
575: , 'Create_Note'
576: , 'A'
577: , 'C'
578: )
623:
624:
625: -- Post call to the Vertical Type User Hook
626: --
627: IF jtf_usr_hks.ok_to_execute('JTF_NOTES_PUB'
628: ,'Create_Note'
629: ,'A'
630: ,'V'
631: )
673: END IF;
674: END IF;
675:
676: -- Standard call for message generation
677: IF jtf_usr_hks.ok_to_execute( 'JTF_NOTES_PUB'
678: , 'Create_Note'
679: , 'M'
680: , 'M'
681: )
831:
832: --
833: -- Customer User Hook pre update
834: --
835: IF jtf_usr_hks.ok_to_execute( 'JTF_NOTES_PUB'
836: , 'Update Note'
837: , 'B'
838: , 'C'
839: )
858: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
859: END IF;
860: END IF;
861:
862: IF jtf_usr_hks.ok_to_execute( 'JTF_NOTES_PUB'
863: , 'Update Note'
864: , 'B'
865: , 'V'
866: )
954: , SOURCE_LANG = USERENV('LANG')
955: WHERE JTF_NOTE_ID = p_jtf_note_id;
956: END IF;
957:
958: IF jtf_usr_hks.ok_to_execute( 'JTF_NOTES_PUB'
959: , 'Update Note'
960: , 'A'
961: , 'C'
962: )
981: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
982: END IF;
983: END IF;
984:
985: IF jtf_usr_hks.ok_to_execute( 'JTF_NOTES_PUB'
986: , 'Update Note'
987: , 'A'
988: , 'V'
989: )
1009: END IF;
1010: END IF;
1011:
1012: -- Standard call for message generation
1013: IF jtf_usr_hks.ok_to_execute( 'JTF_NOTES_PUB'
1014: , 'Create_Note'
1015: , 'M'
1016: , 'M'
1017: )