DBA Data[Home] [Help]

APPS.HXC_TIMECARD dependencies on HXC_TIMECARD_MESSAGE_HELPER

Line 191: hxc_timecard_message_helper.processerrors

187: );
188:
189:
190:
191: hxc_timecard_message_helper.processerrors
192: (p_messages => p_messages);
193:
194: /*
195: Add the security attributes

Line 205: hxc_timecard_message_helper.processerrors

201: p_timecard_props => p_timecard_props,
202: p_messages => p_messages
203: );
204:
205: hxc_timecard_message_helper.processerrors
206: (p_messages => p_messages);
207:
208: /*
209: Translate any aliases

Line 217: hxc_timecard_message_helper.processerrors

213: ,p_attributes => p_attributes
214: ,p_messages => p_messages
215: );
216:
217: hxc_timecard_message_helper.processerrors
218: (p_messages => p_messages);
219:
220: -- OTL - ABS Integration
221: hxc_retrieve_absences.verify_view_only_absences(p_blocks => p_blocks,

Line 287: hxc_timecard_message_helper.processerrors

283: ,p_deposit_mode => hxc_timecard.c_save
284: ,p_messages => p_messages
285: );
286:
287: hxc_timecard_message_helper.processerrors
288: (p_messages => p_messages);
289:
290: /*
291: Validate blocks, attributes - including TERs.

Line 303: hxc_timecard_message_helper.processerrors

299: ,p_deposit_mode => hxc_timecard.c_save
300: ,p_resubmit => p_resubmit
301: );
302:
303: hxc_timecard_message_helper.processerrors
304: (p_messages => p_messages);
305:
306: hxc_timecard_validation.data_set_validation
307: (p_blocks => p_blocks

Line 311: hxc_timecard_message_helper.processerrors

307: (p_blocks => p_blocks
308: ,p_messages => p_messages
309: );
310:
311: hxc_timecard_message_helper.processerrors
312: (p_messages => p_messages);
313:
314: --svg start Bug 9181950
315: if NOT hxc_timecard_message_helper.noErrors then

Line 315: if NOT hxc_timecard_message_helper.noErrors then

311: hxc_timecard_message_helper.processerrors
312: (p_messages => p_messages);
313:
314: --svg start Bug 9181950
315: if NOT hxc_timecard_message_helper.noErrors then
316: --HXC_SVG_LOG.record_log('Reached here:svg');
317: if g_debug then
318: hr_utility.trace('SVG: Rollingback to savepoint TC_SAVE_SAVEPOINT for any Projects related updates');
319: end if;

Line 330: if hxc_timecard_message_helper.noErrors then

326: /*
327: Store blocks and attributes
328: */
329:
330: if hxc_timecard_message_helper.noErrors then
331:
332: hxc_timecard_deposit.execute
333: (p_blocks => p_blocks
334: ,p_attributes => p_attributes

Line 342: hxc_timecard_message_helper.processerrors

338: ,p_messages => p_messages
339: ,p_transaction_info => l_transaction_info
340: );
341:
342: hxc_timecard_message_helper.processerrors
343: (p_messages => p_messages);
344:
345: end if;
346:

Line 347: if hxc_timecard_message_helper.noErrors then

343: (p_messages => p_messages);
344:
345: end if;
346:
347: if hxc_timecard_message_helper.noErrors then
348:
349: l_timecard_index := hxc_timecard_block_utils.find_active_timecard_index(p_blocks);
350:
351: /*

Line 380: hxc_timecard_message_helper.processerrors

376: p_attributes => p_attributes);
377:
378:
379:
380: hxc_timecard_message_helper.processerrors
381: (p_messages => p_messages);
382:
383: end if;
384:

Line 394: IF (p_timecard_id > 0 and hxc_timecard_message_helper.noerrors

390: -- Moved the following code inside a BEGIN-EXCEPTION-END block to handle exceptions effectively
391: -- for Bug 8888138
392: BEGIN
393: IF (nvl(fnd_profile.value('HR_ABS_OTL_INTEGRATION'), 'N') = 'Y') THEN
394: IF (p_timecard_id > 0 and hxc_timecard_message_helper.noerrors
395: and p_blocks(hxc_timecard_block_utils.find_active_timecard_index(p_blocks)).SCOPE <> hxc_timecard.c_template_scope) THEN
396:
397: IF g_debug THEN
398: hr_utility.trace('ABS:Initiated Online Retrieval from HXC_TIMECARD.SAVE_TIMECARD');

Line 436: hxc_timecard_message_helper.processerrors

432: hr_utility.trace('ABS: Exception TC_SAVE_EXCEPTION');
433: END IF;
434:
435: rollback to TC_SAVE_SAVEPOINT;
436: hxc_timecard_message_helper.processerrors
437: (p_messages => p_messages);
438:
439:
440: END ; -- Absences end

Line 587: hxc_timecard_message_helper.processerrors

583: ,p_template => p_template
584: ,p_messages => p_messages
585: );
586:
587: hxc_timecard_message_helper.processerrors
588: (p_messages => p_messages);
589:
590: /*
591: Determine if this is a resubmitted timecard

Line 635: hxc_timecard_message_helper.processerrors

631: ,p_timecard_bb_id => l_tbb_id -- passs the extra parameter timecard ID
632: ,p_timecard_bb_ovn => l_tbb_ovn -- pass the extra parameter timecard OVN
633: );
634:
635: hxc_timecard_message_helper.processerrors
636: (p_messages => p_messages);
637:
638: p_messages.delete;
639:

Line 691: hxc_timecard_message_helper.processerrors

687: ,p_attributes => l_attributes
688: ,p_messages => p_messages
689: );
690:
691: hxc_timecard_message_helper.processerrors
692: (p_messages => p_messages);
693:
694: /*
695: Hold the completed blocks and attributes

Line 701: if(hxc_timecard_message_helper.noerrors) then

697: there were no error messages from audit
698: validation
699: */
700:
701: if(hxc_timecard_message_helper.noerrors) then
702: g_deposit_blocks := l_blocks;
703: g_deposit_attributes := l_attributes;
704: end if;
705:

Line 745: hxc_timecard_message_helper.processerrors

741: ,p_messages => p_messages
742: );
743:
744:
745: hxc_timecard_message_helper.processerrors
746: (p_messages => p_messages);
747:
748: p_messages.delete;
749:

Line 763: hxc_timecard_message_helper.processerrors

759: p_timecard_props => l_timecard_props,
760: p_messages => p_messages
761: );
762:
763: hxc_timecard_message_helper.processerrors
764: (p_messages => p_messages);
765:
766: /*
767: Translate any aliases

Line 778: hxc_timecard_message_helper.processerrors

774: ,p_messages => p_messages
775: );
776:
777:
778: hxc_timecard_message_helper.processerrors
779: (p_messages => p_messages);
780:
781: /*
782: Set the block and attribute update process flags

Line 817: hxc_timecard_message_helper.processerrors

813: ,p_deposit_mode => p_deposit_mode
814: ,p_messages => p_messages
815: );
816:
817: hxc_timecard_message_helper.processerrors
818: (p_messages => p_messages);
819: /*
820: Validate blocks, attributes
821: */

Line 851: hxc_timecard_message_helper.processerrors

847: ,p_resubmit => l_resubmit
848: ,p_can_deposit => l_can_deposit
849: );
850:
851: hxc_timecard_message_helper.processerrors
852: (p_messages => p_messages);
853:
854: --
855: -- Validate the set up for the user

Line 871: hxc_timecard_message_helper.processerrors

867: );
868:
869: end if;
870:
871: hxc_timecard_message_helper.processerrors
872: (p_messages => p_messages);
873:
874: */
875: /*

Line 904: g_audit_messages := hxc_timecard_message_helper.getMessages;

900: for immeadiate deposit if required
901: */
902: g_deposit_blocks := l_blocks;
903: g_deposit_attributes := l_attributes;
904: g_audit_messages := hxc_timecard_message_helper.getMessages;
905:
906: end if;
907:
908: if(((p_validate=c_no)OR(p_template=c_yes))AND(l_can_deposit))then

Line 936: hxc_timecard_message_helper.processerrors

932: ,p_details => l_detail_blocks
933: ,p_messages => p_messages
934: );
935:
936: hxc_timecard_message_helper.processerrors
937: (p_messages => p_messages);
938:
939: p_messages.delete;
940:

Line 944: if NOT hxc_timecard_message_helper.noErrors then

940:
941: end if;
942:
943: --svg start Bug 9181950
944: if NOT hxc_timecard_message_helper.noErrors then
945: --HXC_SVG_LOG.record_log('Reached here:svg');
946: if g_debug then
947: hr_utility.trace('SVG: Rollingback to savepoint TC_SUB_SAVEPOINT for any Projects related updates');
948: end if;

Line 957: if(hxc_timecard_message_helper.noErrors) then

953:
954: /*
955: Store blocks and attributes
956: */
957: if(hxc_timecard_message_helper.noErrors) then
958:
959: /*
960: At this point, if we're saving a template,
961: we should look to see if the id corresponding

Line 1031: IF((p_template <> c_yes) and (hxc_timecard_message_helper.noErrors)) THEN

1027:
1028:
1029: hr_utility.trace('Restrict Blank Rows on Save : '||l_restrict_blank_rows_on_save);
1030: -- Added for DA
1031: IF((p_template <> c_yes) and (hxc_timecard_message_helper.noErrors)) THEN
1032: l_index := g_deposit_blocks.first;
1033: LOOP
1034: EXIT WHEN NOT g_deposit_blocks.exists(l_index);
1035:

Line 1131: hxc_timecard_message_helper.processerrors

1127: ,p_messages => p_messages
1128: ,p_transaction_info => l_transaction_info
1129: );
1130:
1131: hxc_timecard_message_helper.processerrors
1132: (p_messages => p_messages);
1133:
1134: p_timecard_id := g_deposit_blocks
1135: (hxc_timecard_block_utils.find_active_timecard_index(g_deposit_blocks)).time_building_block_id;

Line 1140: if((p_template <> c_yes) and (hxc_timecard_message_helper.noErrors)) then

1136:
1137: p_timecard_ovn := g_deposit_blocks
1138: (hxc_timecard_block_utils.find_active_timecard_index(g_deposit_blocks)).object_version_number;
1139:
1140: if((p_template <> c_yes) and (hxc_timecard_message_helper.noErrors)) then
1141:
1142:
1143: -- Maintain summary table
1144:

Line 1165: hxc_timecard_message_helper.processerrors

1161: (p_blocks => g_deposit_blocks,
1162: p_attributes => g_deposit_attributes);
1163:
1164:
1165: hxc_timecard_message_helper.processerrors
1166: (p_messages => p_messages);
1167:
1168: -- OTL-Absences Integration (Bug 8779478)
1169: -- Moved the following code inside a BEGIN-EXCEPTION-END block to handle exceptions effectively

Line 1174: IF (p_timecard_id > 0 and hxc_timecard_message_helper.noerrors

1170: -- for Bug 8888138
1171: BEGIN
1172: IF (nvl(fnd_profile.value('HR_ABS_OTL_INTEGRATION'), 'N') = 'Y')
1173: THEN
1174: IF (p_timecard_id > 0 and hxc_timecard_message_helper.noerrors
1175: and p_blocks(hxc_timecard_block_utils.find_active_timecard_index(p_blocks)).SCOPE <> hxc_timecard.c_template_scope)
1176: THEN
1177:
1178: IF g_debug THEN

Line 1215: hxc_timecard_message_helper.processerrors

1211: hr_utility.trace('ABS: Exception TC_SUB_EXCEPTION');
1212: END IF;
1213:
1214: rollback to TC_SUB_SAVEPOINT;
1215: hxc_timecard_message_helper.processerrors
1216: (p_messages => p_messages);
1217:
1218:
1219: END;

Line 1222: hxc_timecard_message_helper.processerrors

1218:
1219: END;
1220: -- Absences end
1221:
1222: hxc_timecard_message_helper.processerrors
1223: (p_messages => p_messages);
1224:
1225: l_item_key :=
1226: hxc_timecard_approval.begin_approval

Line 1259: hxc_timecard_message_helper.processerrors

1255: IF g_debug THEN
1256: hr_utility.trace('ABS: Exception TC_SUB_EXCEPTION');
1257: END IF;
1258: rollback to TC_SUB_SAVEPOINT;
1259: hxc_timecard_message_helper.processerrors
1260: (p_messages => p_messages);
1261:
1262:
1263: END;

Line 1267: hxc_timecard_message_helper.processerrors

1263: END;
1264: -- Absences end
1265:
1266:
1267: hxc_timecard_message_helper.processerrors
1268: (p_messages => p_messages);
1269:
1270: hxc_timecard_summary_pkg.update_summary_row
1271: (p_timecard_id => p_timecard_id

Line 1289: --namely the hxc_timecard_message_helper.noErrors function

1285: --
1286: --115.43 Change Note: The delete on the structures are
1287: --in both the if and elsif clauses here, since we must only
1288: --delete the structures if there has been a successful deposit,
1289: --namely the hxc_timecard_message_helper.noErrors function
1290: --returns true. Customer tested this configuration.
1291: --
1292: g_deposit_blocks.delete;
1293: g_deposit_attributes.delete;

Line 1295: elsif((p_template = c_yes) and (hxc_timecard_message_helper.noErrors)) then

1291: --
1292: g_deposit_blocks.delete;
1293: g_deposit_attributes.delete;
1294: g_audit_messages.delete;
1295: elsif((p_template = c_yes) and (hxc_timecard_message_helper.noErrors)) then
1296: hxc_template_summary_api.template_deposit
1297: (p_blocks => g_deposit_blocks,
1298: p_attributes =>g_deposit_attributes,
1299: p_template_id =>p_timecard_id);

Line 1318: hxc_timecard_message_helper.processerrors

1314: (p_transaction_info => l_transaction_info
1315: ,p_messages => p_messages
1316: );
1317:
1318: hxc_timecard_message_helper.processerrors
1319: (p_messages => p_messages);
1320:
1321: end if;
1322:

Line 1327: p_messages := hxc_timecard_message_helper.prepareMessages;

1323: /*
1324: Finally, deal with the errors
1325: */
1326:
1327: p_messages := hxc_timecard_message_helper.prepareMessages;
1328:
1329: IF g_debug THEN
1330: hr_utility.trace('Leaving '||l_proc);
1331: END IF;

Line 1461: hxc_timecard_message_helper.initializeErrors;

1457: END LOOP;
1458:
1459: fnd_msg_pub.initialize;
1460:
1461: hxc_timecard_message_helper.initializeErrors;
1462:
1463: p_messages := hxc_message_table_type();
1464:
1465: -- Bug 10196997

Line 1522: hxc_timecard_message_helper.adderrortocollection(p_messages,

1518: AND d_exists = 1 ) THEN
1519:
1520: hr_utility.trace('THROW HXC_MULTIPLE_SESSION ');
1521:
1522: hxc_timecard_message_helper.adderrortocollection(p_messages,
1523: 'HXC_MULTIPLE_SESSION',
1524: hxc_timecard.c_error,
1525: NULL, NULL,
1526: hxc_timecard.c_hxc,

Line 1619: ((p_deposit_mode = hxc_timecard.c_save) AND (hxc_timecard_message_helper.noerrors))

1615: ,p_timecard_ovn => p_timecard_ovn
1616: );
1617:
1618: if(
1619: ((p_deposit_mode = hxc_timecard.c_save) AND (hxc_timecard_message_helper.noerrors))
1620: OR
1621: ((p_deposit_mode = hxc_timecard.c_submit) AND (p_validate = hxc_timecard.c_no) AND (p_template = hxc_timecard.c_no))
1622: ) then
1623:

Line 1637: elsif ((p_template = hxc_timecard.c_yes) AND (hxc_timecard_message_helper.noerrors))then

1633: ,P_MESSAGES => p_messages
1634: ,P_RELEASED_SUCCESS => l_released_success
1635: );
1636:
1637: elsif ((p_template = hxc_timecard.c_yes) AND (hxc_timecard_message_helper.noerrors))then
1638: --
1639: -- This is important, because we might have saved
1640: -- a timecard as a template, in which case, we should
1641: -- release the lock that we might have

Line 1650: hxc_timecard_message_helper.addErrorToCollection

1646: end if;
1647:
1648: else
1649:
1650: hxc_timecard_message_helper.addErrorToCollection
1651: (p_messages
1652: ,'HXC_TIMECARD_LOCK_FAILED'
1653: ,hxc_timecard.c_error
1654: ,null

Line 1912: hxc_timecard_message_helper.initializeErrors;

1908: -- Initialize the message stack
1909: --
1910:
1911: fnd_msg_pub.initialize;
1912: hxc_timecard_message_helper.initializeErrors;
1913: --
1914: -- Get the timecard or timecard template blocks and attributes
1915: --
1916:

Line 1937: hxc_timecard_message_helper.processerrors

1933: ,p_timecard_bb_id => p_timecard_id --passs the extra parameter timecard ID
1934: ,p_timecard_bb_ovn => l_timecard_ovn -- pass the extra parameter timecard OVN
1935: );
1936:
1937: hxc_timecard_message_helper.processerrors
1938: (p_messages => l_messages);
1939:
1940: l_messages.delete;
1941:

Line 1973: hxc_timecard_message_helper.processerrors

1969: p_deposit_mode => p_mode,
1970: p_messages => l_messages
1971: );
1972:
1973: hxc_timecard_message_helper.processerrors
1974: (p_messages => l_messages);
1975:
1976: hxc_timecard_validation.deposit_validation
1977: (p_blocks => l_blocks

Line 1987: hxc_timecard_message_helper.processerrors

1983: ,p_resubmit => c_delete
1984: ,p_can_deposit => l_dummy
1985: );
1986:
1987: hxc_timecard_message_helper.processerrors
1988: (p_messages => l_messages);
1989:
1990: elsif(l_blocks(l_timecard_index).scope = c_template_scope) then
1991:

Line 1997: hxc_timecard_message_helper.processerrors

1993: (l_blocks(l_timecard_index).time_building_block_id
1994: ,l_messages
1995: );
1996:
1997: hxc_timecard_message_helper.processerrors
1998: (p_messages => l_messages);
1999:
2000: end if;
2001:

Line 2002: if(hxc_timecard_message_helper.noErrors) then

1998: (p_messages => l_messages);
1999:
2000: end if;
2001:
2002: if(hxc_timecard_message_helper.noErrors) then
2003:
2004: hxc_timecard_deposit.execute
2005: (p_blocks => l_blocks
2006: ,p_attributes => l_attributes

Line 2013: hxc_timecard_message_helper.processerrors

2009: ,p_detail_blocks => l_detail_blocks
2010: ,p_messages => l_messages
2011: ,p_transaction_info => l_transaction_info
2012: );
2013: hxc_timecard_message_helper.processerrors
2014: (p_messages => l_messages);
2015:
2016: /*
2017: Bug 3345143

Line 2023: if(hxc_timecard_message_helper.noErrors) then

2019: summary api.
2020: hxc_find_notify_aprs_pkg.cancel_previous_notifications(p_timecard_id);
2021: */
2022:
2023: if(hxc_timecard_message_helper.noErrors) then
2024: if(l_blocks(l_timecard_index).scope = c_template_scope) then --Only for templates.
2025: hxc_template_summary_api.DELETE_TEMPLATE(l_blocks(l_timecard_index).time_building_block_id);
2026: else --For Timecard.
2027:

Line 2074: hxc_timecard_message_helper.processerrors

2070: (p_blocks => l_blocks,
2071: p_attributes => l_attributes);
2072:
2073:
2074: hxc_timecard_message_helper.processerrors
2075: (p_messages => l_messages);
2076:
2077:
2078:

Line 2084: IF (p_timecard_id > 0 and hxc_timecard_message_helper.noerrors) THEN

2080: -- Moved the following code inside a BEGIN-EXCEPTION-END block to handle exceptions effectively
2081: -- for Bug 8888138
2082: BEGIN
2083: IF (nvl(fnd_profile.value('HR_ABS_OTL_INTEGRATION'), 'N') = 'Y') THEN
2084: IF (p_timecard_id > 0 and hxc_timecard_message_helper.noerrors) THEN
2085: IF g_debug THEN
2086: hr_utility.trace('ABS:Initiated Online Retrieval from HXC_TIMECARD.DELETE_TIMECARD');
2087: END IF;
2088:

Line 2117: hxc_timecard_message_helper.processerrors

2113: hr_utility.trace('ABS: Exception TC_DEL_EXCEPTION');
2114: END IF;
2115:
2116: rollback to TC_DEL_SAVEPOINT;
2117: hxc_timecard_message_helper.processerrors
2118: (p_messages => l_messages);
2119:
2120:
2121: END; -- Absences end

Line 2133: hxc_timecard_message_helper.prepareErrors;

2129:
2130: hxc_lock_api.release_lock
2131: (p_row_lock_id => l_lock_rowid);
2132:
2133: hxc_timecard_message_helper.prepareErrors;
2134:
2135: end if; -- Is the timecard ok?
2136:
2137: End delete_timecard;