DBA Data[Home] [Help]

APPS.HXC_TIMECARD dependencies on HXC_LOCK_API

Line 974: if(hxc_lock_api.check_lock(p_lock_rowid)) then

970:
971: p_messages := hxc_message_table_type();
972:
973: if(p_template = hxc_timecard.c_no) then
974: if(hxc_lock_api.check_lock(p_lock_rowid)) then
975: l_valid_lock := true;
976: else
977: --
978: -- For bug

Line 986: hxc_lock_api.request_lock

982: l_timecard_index := hxc_timecard_block_utils.find_active_timecard_index(p_blocks);
983:
984: if(hxc_timecard_block_utils.is_new_block(p_blocks(l_timecard_index))) then
985:
986: hxc_lock_api.request_lock
987: (p_process_locker_type=> hxc_lock_util.c_ss_timecard_action
988: ,p_resource_id=> p_blocks(l_timecard_index).resource_id
989: ,p_start_time=> fnd_date.canonical_to_date(p_blocks(l_timecard_index).start_time)
990: ,p_stop_time=> fnd_date.canonical_to_date(p_blocks(l_timecard_index).start_time)

Line 1001: hxc_lock_api.request_lock

997: ,p_locked_success=> l_valid_lock
998: );
999: else
1000:
1001: hxc_lock_api.request_lock
1002: (p_process_locker_type=> hxc_lock_util.c_ss_timecard_action
1003: ,p_resource_id=> p_blocks(l_timecard_index).resource_id
1004: ,p_start_time=> fnd_date.canonical_to_date(p_blocks(l_timecard_index).start_time)
1005: ,p_stop_time=> fnd_date.canonical_to_date(p_blocks(l_timecard_index).start_time)

Line 1040: hxc_lock_api.release_lock

1036: OR
1037: ((p_deposit_mode = hxc_timecard.c_submit) AND (p_validate = hxc_timecard.c_no) AND (p_template = hxc_timecard.c_no))
1038: ) then
1039:
1040: hxc_lock_api.release_lock
1041: (P_ROW_LOCK_ID => p_lock_rowid
1042: ,P_PROCESS_LOCKER_TYPE => l_process_locker_type
1043: ,P_TRANSACTION_LOCK_ID => null
1044: ,P_RESOURCE_ID => null

Line 1059: hxc_lock_api.release_lock

1055: -- This is important, because we might have saved
1056: -- a timecard as a template, in which case, we should
1057: -- release the lock that we might have
1058: --
1059: hxc_lock_api.release_lock
1060: (p_row_lock_id => p_lock_rowid);
1061:
1062: end if;
1063:

Line 1435: hxc_lock_api.release_lock

1431: (p_messages => l_messages);
1432:
1433: end if;
1434:
1435: hxc_lock_api.release_lock
1436: (p_row_lock_id => l_lock_rowid);
1437:
1438: hxc_timecard_message_helper.prepareErrors;
1439: