DBA Data[Home] [Help]

APPS.PO_DOCUMENT_FUNDS_PVT dependencies on PO_ENCUMBRANCE_POSTPROCESSING

Line 3427: PO_ENCUMBRANCE_POSTPROCESSING.create_exception_report(

3423: END IF;
3424: --write the error message in the online report
3425: FND_MESSAGE.set_name('PO', 'PO_AP_TAX_ENGINE_FAILED_WARN');
3426: l_exc_message_text := FND_MESSAGE.get;
3427: PO_ENCUMBRANCE_POSTPROCESSING.create_exception_report(
3428: p_message_text => l_exc_message_text,
3429: p_user_id => l_user_id,
3430: x_online_report_id => x_online_report_id
3431: );

Line 3712: PO_ENCUMBRANCE_POSTPROCESSING.insert_packet(

3708: ELSE
3709:
3710: l_progress := '070';
3711:
3712: PO_ENCUMBRANCE_POSTPROCESSING.insert_packet(
3713: p_status_code => l_gl_packet_status
3714: , p_user_id => l_user_id
3715: , p_set_of_books_id => l_set_of_books_id
3716: , p_currency_code => l_currency_code_func

Line 3733: PO_ENCUMBRANCE_POSTPROCESSING.execute_gl_call(

3729:
3730: SAVEPOINT EXECUTE_GL_CALL_SP; /* Bug 3218669 */
3731:
3732: BEGIN
3733: PO_ENCUMBRANCE_POSTPROCESSING.execute_gl_call(
3734: p_set_of_books_id => l_set_of_books_id
3735: , p_packet_id => l_packet_id
3736: , p_gl_mode => l_gl_call_mode
3737: , p_partial_resv_flag => l_partial_flag

Line 3750: WHEN PO_ENCUMBRANCE_POSTPROCESSING.g_EXECUTE_GL_CALL_API_EXC THEN

3746: l_progress := '075';
3747: l_exc_code := g_EXECUTE_GL_CALL_EXC_CODE;
3748: RAISE;
3749: ----
3750: WHEN PO_ENCUMBRANCE_POSTPROCESSING.g_EXECUTE_GL_CALL_API_EXC THEN
3751: l_progress := '075';
3752: l_exc_code := g_GL_FUNDS_API_EXC;
3753: RAISE;
3754: ----

Line 3775: PO_ENCUMBRANCE_POSTPROCESSING.copy_detailed_gl_results(

3771: -- copy_detailed_gl_results also fills in messages for the
3772: -- prevent_encumbrance rows, so call this whether or not
3773: -- a packet was created.
3774:
3775: PO_ENCUMBRANCE_POSTPROCESSING.copy_detailed_gl_results(
3776: p_packet_id => l_old_pkt_id -- Bug#14593047 : Passing Old packet id
3777: -- generated by insert_packet_create_event
3778: --- to get the events processed in this transaction
3779: , p_gl_return_code => l_gl_return_code

Line 3828: PO_ENCUMBRANCE_POSTPROCESSING.update_document_encumbrance(

3824:
3825: --bug 3537764: for Req Split, p_action is REQ_SPLIT,
3826: --but l_action is ADJUST. use p_action for the parameter
3827: --here since update is different for Req Split vs.Adjust
3828: PO_ENCUMBRANCE_POSTPROCESSING.update_document_encumbrance(
3829: p_doc_type => p_doc_type
3830: , p_doc_subtype => p_doc_subtype
3831: , p_action => p_action
3832: , p_gl_return_code => l_gl_return_code

Line 3894: PO_ENCUMBRANCE_POSTPROCESSING.create_enc_action_history(

3890:
3891: IF l_gl_return_code IN ('S', 'A', 'P') THEN
3892: --Added this IF Condition to Avoid Inserting Action History Record, for Funds Check Failed cases. -- Bug 4661095
3893:
3894: PO_ENCUMBRANCE_POSTPROCESSING.create_enc_action_history(
3895: p_doc_type => p_doc_type
3896: , p_doc_id_tbl => l_doc_id_tbl
3897: , p_employee_id => p_employee_id
3898: , p_action => p_action

Line 3913: PO_ENCUMBRANCE_POSTPROCESSING.set_status_requires_reapproval(

3909: ) THEN
3910:
3911: l_progress := '870';
3912:
3913: PO_ENCUMBRANCE_POSTPROCESSING.set_status_requires_reapproval(
3914: p_document_type => p_doc_type
3915: , p_action => p_action
3916: , p_cbc_flag => l_cbc_flag
3917: );

Line 3933: PO_ENCUMBRANCE_POSTPROCESSING.create_detailed_report(

3929: END IF; -- if l_period_exception_flag is 'Y' or l_uom_conversion_exc_flag is 'Y'
3930:
3931: l_progress := '900';
3932:
3933: PO_ENCUMBRANCE_POSTPROCESSING.create_detailed_report(
3934: p_gl_return_code => l_gl_return_code
3935: , p_user_id => l_user_id
3936: , x_online_report_id => x_online_report_id
3937: , x_po_return_code => x_po_return_code

Line 3943: PO_ENCUMBRANCE_POSTPROCESSING.populate_bc_report_id(x_online_report_id);

3939: );
3940:
3941: l_progress := '910';
3942: --
3943: PO_ENCUMBRANCE_POSTPROCESSING.populate_bc_report_id(x_online_report_id);
3944: --
3945: IF x_po_return_code IN (g_return_SUCCESS, g_return_WARNING) THEN
3946: x_return_status := FND_API.g_ret_sts_success;
3947: ELSIF x_po_return_code IN (g_return_PARTIAL, g_return_FAILURE) THEN

Line 3984: PO_ENCUMBRANCE_POSTPROCESSING.delete_unnecessary_events(l_old_pkt_id, l_action);

3980: ) THEN
3981: IF g_debug_stmt THEN
3982: PO_DEBUG.debug_var(l_log_head,l_progress,'Call made to', 'delete_unnecessary_events');
3983: END IF;
3984: PO_ENCUMBRANCE_POSTPROCESSING.delete_unnecessary_events(l_old_pkt_id, l_action);
3985: END IF;
3986: /*12405805
3987: END : Bug 13077585 */
3988:

Line 4063: select ae_event_id INTO PO_ENCUMBRANCE_POSTPROCESSING.g_event_id

4059: );
4060: ----
4061: ELSIF (l_exc_code = g_GL_FUNDS_API_EXC) then
4062: l_exc_message_text := 'GL_FUNDS_API_EXC';
4063: select ae_event_id INTO PO_ENCUMBRANCE_POSTPROCESSING.g_event_id
4064: from po_bc_distributions
4065: where packet_id = l_old_pkt_id
4066: and rownum = 1;
4067: ----

Line 4078: PO_ENCUMBRANCE_POSTPROCESSING.create_exception_report(

4074: END IF;
4075:
4076: -- 2. Create the online report.
4077:
4078: PO_ENCUMBRANCE_POSTPROCESSING.create_exception_report(
4079: p_message_text => l_exc_message_text
4080: , p_user_id => l_user_id
4081: , x_online_report_id => x_online_report_id
4082: );

Line 4108: PO_ENCUMBRANCE_POSTPROCESSING.delete_unnecessary_events(l_old_pkt_id, l_action);

4104: This deletes unprocessed events arised out of checkfunds action
4105: and invalid events arised out of exceptions
4106:
4107: IF( (p_check_only_flag = 'Y') OR (l_exc_code = g_EXECUTE_GL_CALL_EXC_CODE) OR(l_gl_return_code = 'F')) THEN
4108: PO_ENCUMBRANCE_POSTPROCESSING.delete_unnecessary_events(l_old_pkt_id, l_action);
4109: NULL;
4110: END IF;
4111:
4112: /*12405805 END1

Line 4120: -- PO_ENCUMBRANCE_POSTPROCESSING.delete_packet_autonomous(

4116:
4117: --bug#5523323. The rollback in the previous transaction is sufficient
4118: --to remove all unnecessar records / events in case of an unexpected
4119: --failure. The following statement is unnecessary now.
4120: -- PO_ENCUMBRANCE_POSTPROCESSING.delete_packet_autonomous(
4121: -- p_packet_id => l_packet_id);
4122: END IF;
4123:
4124: END do_action;