DBA Data[Home] [Help]

APPS.PO_AME_WF_PVT dependencies on FND_PROFILE

Line 5: g_po_wf_debug VARCHAR2(1) := NVL(FND_PROFILE.VALUE('PO_SET_DEBUG_WORKFLOW_ON'),'N');

1: PACKAGE BODY PO_AME_WF_PVT AS
2: -- $Header: PO_AME_WF_PVT.plb 120.4.12020000.1 2013/02/10 12:21:20 vegajula noship $
3:
4: -- Read the profile option that enables/disables the debug log
5: g_po_wf_debug VARCHAR2(1) := NVL(FND_PROFILE.VALUE('PO_SET_DEBUG_WORKFLOW_ON'),'N');
6: g_next_approvers ame_util.approversTable2;
7: g_production_Indexes ame_util.idList;
8: g_variable_Names ame_util.stringList;
9: g_variable_Values ame_util.stringList;

Line 564: fnd_profile.put('PO_SYS_GENERATED_APPROVERS_SUPPRESS', 'Y');

560: ELSE
561: -- As this is a blank record, remove it in AME and the global variable.
562: -- Return 'NO_USERS'. We use PO_SYS_GENERATED_APPROVERS_SUPPRESS dynamic profile to
563: -- override AME mandatory attribute ALLOW_DELETING_RULE_GENERATED_APPROVERS.
564: fnd_profile.put('PO_SYS_GENERATED_APPROVERS_SUPPRESS', 'Y');
565: ame_api3.suppressApprover( applicationIdIn => applicationId,
566: transactionIdIn => documentId,
567: approverIn => g_next_approvers(l_approver_index),
568: transactionTypeIn => documentType );

Line 569: fnd_profile.put('PO_SYS_GENERATED_APPROVERS_SUPPRESS', 'Y');

565: ame_api3.suppressApprover( applicationIdIn => applicationId,
566: transactionIdIn => documentId,
567: approverIn => g_next_approvers(l_approver_index),
568: transactionTypeIn => documentType );
569: fnd_profile.put('PO_SYS_GENERATED_APPROVERS_SUPPRESS', 'Y');
570: g_next_approvers.delete(l_approver_index);
571: l_position_has_valid_approvers := 'NO_USERS';
572: END IF; -- is_last_approver_record IF
573: END;

Line 3059: l_set_lang := fnd_request.set_options('NO', 'NO', l_language, l_territory, NULL, FND_PROFILE.VALUE('ICX_NUMERIC_CHARACTERS'));

3055: l_withterms := 'N';
3056: END IF;
3057:
3058: --Set the language preference
3059: l_set_lang := fnd_request.set_options('NO', 'NO', l_language, l_territory, NULL, FND_PROFILE.VALUE('ICX_NUMERIC_CHARACTERS'));
3060: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);
3061: l_request_id := fnd_request.submit_request( 'PO',
3062: 'POXPOPDF',
3063: NULL,

Line 3476: l_set_lang := fnd_request.set_options('NO', 'NO', l_supp_lang, l_territory, NULL, FND_PROFILE.VALUE('ICX_NUMERIC_CHARACTERS'));

3472: INTO l_territory
3473: FROM fnd_languages
3474: WHERE nls_language = l_supp_lang;
3475:
3476: l_set_lang := fnd_request.set_options('NO', 'NO', l_supp_lang, l_territory, NULL, FND_PROFILE.VALUE('ICX_NUMERIC_CHARACTERS'));
3477: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);
3478:
3479: l_progress := '090';
3480:

Line 6381: fnd_profile.put('PO_SYS_GENERATED_APPROVERS_SUPPRESS', 'Y');

6377: END IF;
6378:
6379: IF l_approver_list(l_approver_index).approval_status IS NULL OR
6380: l_approver_list(l_approver_index).approval_status IN (ame_util.notifiedStatus, ame_util.notifiedByRepeatedStatus) THEN
6381: fnd_profile.put('PO_SYS_GENERATED_APPROVERS_SUPPRESS', 'Y');
6382: ame_api3.suppressApprover( applicationIdIn => applicationId,
6383: transactionIdIn => l_transaction_id,
6384: transactionTypeIn => l_transaction_type,
6385: approverIn => l_approver_list(l_approver_index));

Line 6386: fnd_profile.put('PO_SYS_GENERATED_APPROVERS_SUPPRESS', 'N');

6382: ame_api3.suppressApprover( applicationIdIn => applicationId,
6383: transactionIdIn => l_transaction_id,
6384: transactionTypeIn => l_transaction_type,
6385: approverIn => l_approver_list(l_approver_index));
6386: fnd_profile.put('PO_SYS_GENERATED_APPROVERS_SUPPRESS', 'N');
6387: END IF; -- l_approver_index loop
6388: l_approver_index := l_approver_list.next(l_approver_index);
6389: END LOOP;
6390: END IF; -- l_transaction_id IS NOT NULL AND l_transaction_type IS NOT NULL