DBA Data[Home] [Help]

APPS.FA_MASSPTFR_PKG dependencies on FA_SRVR_MSG

Line 195: fa_srvr_msg.init_server_message;

191: x_failure_count := 0;
192: x_return_status := 0;
193:
194: -- Clear the debug stack for each asset
195: fa_srvr_msg.init_server_message;
196: fa_debug_pkg.initialize;
197:
198: -- Get Print Debug profile option.
199: fnd_profile.get('PRINT_DEBUG', l_debug_flag);

Line 355: fa_srvr_msg.add_message(

351: l_transaction_status(i) := 'ERROR';
352: x_failure_count := x_failure_count + 1;
353: x_return_status := 1;
354:
355: fa_srvr_msg.add_message(
356: calling_fn => l_calling_fn,
357: application => 'CUA',
358: name => 'CUA_TRF_FAILED',
359: token1 => 'Mass_External_Transfer_ID',

Line 457: fa_srvr_msg.add_message(

453: l_transaction_status(i) := 'ERROR';
454: x_failure_count := x_failure_count + 1;
455: x_return_status := 1;
456:
457: fa_srvr_msg.add_message(
458: calling_fn => l_calling_fn,
459: application => 'CUA',
460: name => 'CUA_TRF_FAILED',
461: token1 => 'Mass_External_Transfer_ID',

Line 468: fa_srvr_msg.add_message(

464: else
465: l_transaction_status(i) := 'POSTED';
466: x_success_count := x_success_count + 1;
467:
468: fa_srvr_msg.add_message(
469: calling_fn => l_calling_fn,
470: application => 'CUA',
471: name => 'CUA_TRF_SUCCESS',
472: token1 => 'Mass_External_Transfer_ID',

Line 519: fa_srvr_msg.add_message(

515: l_transaction_status(l_counter) := 'ERROR';
516: x_failure_count := x_failure_count + 1;
517: x_return_status := 2;
518:
519: fa_srvr_msg.add_message(
520: calling_fn => l_calling_fn,
521: application => 'CUA',
522: name => 'CUA_TRF_FAILED',
523: token1 => 'Mass_External_Transfer_ID',

Line 777: fa_srvr_msg.add_message(

773: BEGIN
774:
775: -- Check for nulls
776: if (p_from_asset_id is null) then
777: fa_srvr_msg.add_message(
778: calling_fn => l_calling_fn,
779: application => 'CUA',
780: name => 'CUA_NULL_FROM ASSET_ID',
781: token1 => 'FROM_ASSET_ID',

Line 788: fa_srvr_msg.add_message(

784: raise validate_err;
785: end if;
786:
787: if (p_book_type_code is null) then
788: fa_srvr_msg.add_message(
789: calling_fn => l_calling_fn,
790: application => 'CUA',
791: name => 'CUA_NULL_BOOK',
792: token1 => 'BOOK',

Line 799: fa_srvr_msg.add_message(

795: raise validate_err;
796: end if;
797:
798: if (p_from_distribution_id is null) then
799: fa_srvr_msg.add_message(
800: calling_fn => l_calling_fn,
801: application => 'CUA',
802: name => 'CUA_NULL_DISTRIBUTION_ID',
803: token1 => 'DISTRIBUTION_ID',

Line 810: fa_srvr_msg.add_message(

806: raise validate_err;
807: end if;
808:
809: if (p_to_location_id is null) then
810: fa_srvr_msg.add_message(
811: calling_fn => l_calling_fn,
812: application => 'CUA',
813: name => 'CUA_NULL_LOCATION_ID',
814: token1 => 'LOCATION_ID',

Line 821: fa_srvr_msg.add_message(

817: raise validate_err;
818: end if;
819:
820: if (p_to_gl_ccid is null) then
821: fa_srvr_msg.add_message(
822: calling_fn => l_calling_fn,
823: application => 'CUA',
824: name => 'CUA_NULL_GL_CCID',
825: token1 => 'GL_CCID',

Line 832: fa_srvr_msg.add_message(

828: raise validate_err;
829: end if;
830:
831: if (p_transfer_units is null) then
832: fa_srvr_msg.add_message(
833: calling_fn => l_calling_fn,
834: application => 'CUA',
835: name => 'CUA_NULL_TRANSFER_UNITS',
836: token1 => 'TRANSFER_UNITS',

Line 844: fa_srvr_msg.add_message(

840: end if;
841:
842: -- Zero Or Less Transfer Units
843: if (p_transfer_units <= 0) then
844: fa_srvr_msg.add_message(
845: calling_fn => l_calling_fn,
846: application => 'CUA',
847: name => 'CUA_ZERO_TRANSFER_UNITS',
848: token1 => 'TRANSFER_UNITS',

Line 875: fa_srvr_msg.add_message(

871: where distribution_id = p_from_distribution_id;
872:
873: exception
874: when no_data_found then
875: fa_srvr_msg.add_message(
876: calling_fn => l_calling_fn,
877: application => 'CUA',
878: name => 'CUA_INVALID_DISTRIBUTION_ID',
879: token1 => 'DISTRIBUTION_ID',

Line 887: fa_srvr_msg.add_message(

883: end ;
884:
885: -- Transfer Units Greater than units assigned
886: if (p_transfer_units > l_from_units_assigned) then
887: fa_srvr_msg.add_message(
888: calling_fn => l_calling_fn,
889: application => 'CUA',
890: name => 'CUA_GREATER_TRANSFER_UNITS',
891: token1 => 'TRANSFER_UNITS',

Line 899: fa_srvr_msg.add_message(

895: end if;
896:
897: -- The From Asset Id Is Invalid
898: if (p_from_asset_id <> l_from_asset_id) then
899: fa_srvr_msg.add_message(
900: calling_fn => l_calling_fn,
901: application => 'CUA',
902: name => 'CUA_INVALID_FROM_ASSET_ID',
903: token1 => 'FROM_ASSET_ID',

Line 911: fa_srvr_msg.add_message(

907: end if;
908:
909: -- Book Type Code Is Invalid
910: if (p_book_type_code <> l_book_type_code) then
911: fa_srvr_msg.add_message(
912: calling_fn => l_calling_fn,
913: application => 'CUA',
914: name => 'CUA_INVALID_BOOK',
915: token1 => 'BOOK',

Line 923: fa_srvr_msg.add_message(

919: end if;
920:
921: -- Distribution Id Is Invalid / terminated distribution
922: if (l_from_date_ineffective is not null) then
923: fa_srvr_msg.add_message(
924: calling_fn => l_calling_fn,
925: application => 'CUA',
926: name => 'CUA_INVALID_DISTRIBUTION_ID',
927: token1 => 'DISTRIBUTION_ID',

Line 943: fa_srvr_msg.add_message(

939: and nvl(start_date_active, sysdate) <= sysdate
940: and nvl(end_date_active, sysdate + 1) > sysdate ;
941:
942: if (l_to_gl_ccid_exists = 0) then
943: fa_srvr_msg.add_message(
944: calling_fn => l_calling_fn,
945: application => 'CUA',
946: name => 'CUA_INVALID_GL_CCID',
947: token1 => 'GL_CCID',

Line 963: fa_srvr_msg.add_message(

959: and nvl(start_date_active, sysdate) <= sysdate
960: and nvl(end_date_active, sysdate + 1) > sysdate ;
961:
962: if (l_to_location_id_exists = 0) then
963: fa_srvr_msg.add_message(
964: calling_fn => l_calling_fn,
965: application => 'CUA',
966: name => 'CUA_INVALID_LOCATION_ID',
967: token1 => 'LOCATION_ID',

Line 987: fa_srvr_msg.add_message(

983: and p.effective_end_date
984: and s.actual_termination_date is null;
985:
986: if (l_to_employee_id_exists = 0) then
987: fa_srvr_msg.add_message(
988: calling_fn => l_calling_fn,
989: application => 'CUA',
990: name => 'CUA_INVALID_EMPLOYEE_ID',
991: token1 => 'EMPLOYEE_ID',

Line 1003: fa_srvr_msg.add_message(

999: if ((l_from_gl_ccid = p_to_gl_ccid) and
1000: (l_from_location_id = p_to_location_id) and
1001: (nvl(l_from_employee_id, -999) = nvl(p_to_employee_id, -999))) then
1002:
1003: fa_srvr_msg.add_message(
1004: calling_fn => l_calling_fn,
1005: application => 'CUA',
1006: name => 'CUA_IDENTICAL_DISTRIBUTION',
1007: token1 => 'DISTRIBUTION',

Line 1019: fa_srvr_msg.add_message(

1015: fetch ck_asset_retired into l_check_retired;
1016: if (ck_asset_retired%notfound) then
1017: close ck_asset_retired;
1018:
1019: fa_srvr_msg.add_message(
1020: calling_fn => l_calling_fn,
1021: application => 'CUA',
1022: name => 'CUA_INVALID_FROM_ASSET_ID',
1023: token1 => 'FROM_ASSET_ID',

Line 1032: fa_srvr_msg.add_message(

1028: close ck_asset_retired;
1029:
1030: -- From Asset is fully retired
1031: if (l_check_retired > 0) then
1032: fa_srvr_msg.add_message(
1033: calling_fn => l_calling_fn,
1034: application => 'CUA',
1035: name => 'CUA_RETIRED_ASSET',
1036: token1 => 'ASSET',

Line 1057: fa_srvr_msg.add_message(

1053: and fadp.book_type_Code = p_book_type_code
1054: and fadp.period_close_date is null;
1055:
1056: if (l_check_prior_period <> 0) then
1057: fa_srvr_msg.add_message(
1058: calling_fn => l_calling_fn,
1059: application => 'CUA',
1060: name => 'CUA_ONE_PRIOR_PERIOD_TRX',
1061: token1 => 'TRANSACTION_DATE',

Line 1076: fa_srvr_msg.add_message(

1072: open ck_check_batch_for_transfers;
1073: fetch ck_check_batch_for_transfers into l_check_pending_batch;
1074: close ck_check_batch_for_transfers;
1075: if(l_check_pending_batch = 1) then
1076: fa_srvr_msg.add_message(
1077: calling_fn => l_calling_fn,
1078: application => 'CUA',
1079: name => 'CUA_PENDING_BATCH',
1080: token1 => 'BOOK',

Line 1092: fa_srvr_msg.add_message(

1088: EXCEPTION
1089: WHEN validate_err THEN
1090: return FALSE;
1091: WHEN OTHERS THEN
1092: fa_srvr_msg.add_message(
1093: calling_fn => l_calling_fn,
1094: application => 'CUA',
1095: name => 'CUA_INVALID_DATA',
1096: token1 => 'INVALID_DATA',