DBA Data[Home] [Help]

APPS.PO_PDOI_LINE_LOC_PROCESS_PVT dependencies on FND_API

Line 291: FND_API.g_FALSE

287: NVL(draft_headers.style_id, txn_headers.style_id),
288: NVL(draft_headers.currency_code,txn_headers.currency_code),-- Bug 9294987
289:
290: -- set initial value for error_flag
291: FND_API.g_FALSE
292: FROM po_line_locations_interface intf_locs,
293: po_lines_interface intf_lines,
294: po_headers_interface intf_headers,
295: po_lines_draft_all draft_lines,

Line 660: x_line_locs.error_flag_tbl(i) := FND_API.g_TRUE;

656: p_validation_id => PO_VAL_CONSTANTS.c_ship_to_org_code_derv,
657: p_line_locs => x_line_locs
658: );
659:
660: x_line_locs.error_flag_tbl(i) := FND_API.g_TRUE;
661: END IF;
662:
663: -- check derivation error for ship_to_location_id
664: IF (x_line_locs.ship_to_loc_tbl(i) IS NOT NULL AND

Line 688: x_line_locs.error_flag_tbl(i) := FND_API.g_TRUE;

684: p_validation_id => PO_VAL_CONSTANTS.c_ship_to_location_derv,
685: p_line_locs => x_line_locs
686: );
687:
688: x_line_locs.error_flag_tbl(i) := FND_API.g_TRUE;
689: END IF;
690:
691: -- check derivation error for terms_id
692: IF (x_line_locs.payment_terms_tbl(i) IS NOT NULL AND

Line 714: x_line_locs.error_flag_tbl(i) := FND_API.g_TRUE;

710: p_token2_name => 'VALUE',
711: p_token2_value => x_line_locs.payment_terms_tbl(i)
712: );
713:
714: x_line_locs.error_flag_tbl(i) := FND_API.g_TRUE;
715: END IF;
716:
717: -- check derivation error for receiving_routing_id
718: IF (x_line_locs.receiving_routing_tbl(i) IS NOT NULL AND

Line 740: x_line_locs.error_flag_tbl(i) := FND_API.g_TRUE;

736: p_token2_name => 'VALUE',
737: p_token2_value => x_line_locs.receiving_routing_tbl(i)
738: );
739:
740: x_line_locs.error_flag_tbl(i) := FND_API.g_TRUE;
741: END IF;
742:
743: -- check derivation error for tax_name
744: IF (PO_PDOI_PARAMS.g_request.document_type =

Line 769: x_line_locs.error_flag_tbl(i) := FND_API.g_TRUE;

765: p_token2_name => 'VALUE',
766: p_token2_value => x_line_locs.tax_code_id_tbl(i)
767: );
768:
769: x_line_locs.error_flag_tbl(i) := FND_API.g_TRUE;
770: END IF;
771: END IF;
772: END LOOP;
773:

Line 792: (p_init_msg_list => FND_API.g_false,

788: (x_line_locs.txn_flow_header_id_tbl(i) IS NULL)
789: THEN
790: -- Validate ship-to Org, which gets txn flow header if one exists
791: PO_SHARED_PROC_PVT.validate_ship_to_org
792: (p_init_msg_list => FND_API.g_false,
793: x_return_status => l_return_status,
794: p_ship_to_org_id => x_line_locs.ship_to_org_id_tbl(i),
795: p_item_category_id => x_line_locs.ln_item_category_id_tbl(i),
796: p_item_id => x_line_locs.ln_item_id_tbl(i),

Line 806: IF (l_return_status <> FND_API.g_ret_sts_success) OR

802: PO_LOG.stmt(d_module, d_position, 'x_line_locs.txn_flow_header_id_tbl(i)',
803: x_line_locs.txn_flow_header_id_tbl(i));
804: END IF;
805:
806: IF (l_return_status <> FND_API.g_ret_sts_success) OR
807: (NOT l_is_ship_to_org_valid)
808: THEN
809: -- The ship-to org is not valid
810: PO_PDOI_ERR_UTL.add_fatal_error

Line 825: x_line_locs.error_flag_tbl(i) := FND_API.g_TRUE;

821: p_token2_value => x_line_locs.ship_to_org_code_tbl(i),
822: p_validation_id => PO_VAL_CONSTANTS.c_transaction_flow_derv,
823: p_line_locs => x_line_locs);
824:
825: x_line_locs.error_flag_tbl(i) := FND_API.g_TRUE;
826: END IF;
827:
828: END IF; --
829: END LOOP;

Line 975: -- FND_API.g_TRUE.

971: --x_line_locs
972: -- The record contains the values to be validated.
973: -- If there is error(s) on any attribute of the location row,
974: -- corresponding value in error_flag_tbl will be set with value
975: -- FND_API.g_TRUE.
976: --OUT:
977: --End of Comments
978: ------------------------------------------------------------------------
979: PROCEDURE validate_line_locs

Line 1116: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

1112: IF (PO_LOG.d_stmt) THEN
1113: PO_LOG.stmt(d_module, d_position, 'vaidate line locs return fatal');
1114: END IF;
1115:
1116: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1117: END IF;
1118:
1119: PO_TIMING_UTL.stop_time(PO_PDOI_CONSTANTS.g_T_LINE_LOC_VALIDATE);
1120:

Line 1182: AND p_error_flag_tbl(i) = FND_API.g_FALSE;

1178: UPDATE po_line_locations_interface
1179: SET line_location_id = p_line_loc_id_tbl(i),
1180: process_code = PO_PDOI_CONSTANTS.g_PROCESS_CODE_ACCEPTED
1181: WHERE interface_line_location_id = p_intf_line_loc_id_tbl(i)
1182: AND p_error_flag_tbl(i) = FND_API.g_FALSE;
1183:
1184: IF (PO_LOG.d_proc) THEN
1185: PO_LOG.proc_end (d_module);
1186: END IF;

Line 3134: IF (PO_PDOI_PARAMS.g_product.inv_installed = FND_API.g_TRUE) then

3130: PO_LOG.stmt(d_module, d_position, 'default expense accrual code',
3131: PO_PDOI_PARAMS.g_sys.expense_accrual_code);
3132: END IF;
3133:
3134: IF (PO_PDOI_PARAMS.g_product.inv_installed = FND_API.g_TRUE) then
3135: x_accrue_on_receipt_flag_tbl(l_index) := 'Y';
3136: ELSE
3137: IF (PO_PDOI_PARAMS.g_sys.expense_accrual_code = 'PERIOD END') then
3138: x_accrue_on_receipt_flag_tbl(l_index) := 'N';

Line 3297: -- corresponding value in error_flag_tbl will be set with value FND_API.G_FALSE.

3293: -----------------------------------------------------------------------
3294: --Start of Comments
3295: --Name: populate_error_flag
3296: --Function:
3297: -- corresponding value in error_flag_tbl will be set with value FND_API.G_FALSE.
3298: --Parameters:
3299: --IN:
3300: --p_results
3301: -- The validation results that contains the errored line information.

Line 3307: -- FND_API.g_TRUE.

3303: --p_line_locs
3304: -- The record contains the values to be validated.
3305: -- If there is error(s) on any attribute of the price differential row,
3306: -- corresponding value in error_flag_tbl will be set with value
3307: -- FND_API.g_TRUE.
3308: --OUT:
3309: --End of Comments
3310: ------------------------------------------------------------------------
3311: PROCEDURE populate_error_flag

Line 3348: .err_tolerance_exceeded = FND_API.g_TRUE) THEN

3344: -- hit for CATALOG UPLOAD
3345: IF (PO_PDOI_PARAMS.g_request.calling_module =
3346: PO_PDOI_CONSTANTS.g_call_mod_CATALOG_UPLOAD AND
3347: PO_PDOI_PARAMS.g_docs_info(PO_PDOI_PARAMS.g_request.interface_header_id)
3348: .err_tolerance_exceeded = FND_API.g_TRUE) THEN
3349: d_position := 20;
3350:
3351: IF (PO_LOG.d_stmt) THEN
3352: PO_LOG.stmt(d_module, d_position, 'after error tolerance exceeded, collect error on index', l_index);

Line 3371: x_line_locs.error_flag_tbl(l_index) := FND_API.g_TRUE;

3367: IF (PO_LOG.d_stmt) THEN
3368: PO_LOG.stmt(d_module, d_position, 'set error on index', l_index);
3369: END IF;
3370:
3371: x_line_locs.error_flag_tbl(l_index) := FND_API.g_TRUE;
3372:
3373: -- Bug 5215781:
3374: -- price break level errors will be counted in line errors and threshold will be
3375: -- checked; If threshold is hit, reject all price break records that are processed

Line 3403: PO_PDOI_PARAMS.g_docs_info(l_intf_header_id).err_tolerance_exceeded := FND_API.g_TRUE;

3399: PO_LOG.stmt(d_module, d_position, 'threshold hit on line',
3400: x_line_locs.intf_line_id_tbl(l_index));
3401: END IF;
3402:
3403: PO_PDOI_PARAMS.g_docs_info(l_intf_header_id).err_tolerance_exceeded := FND_API.g_TRUE;
3404:
3405: -- reject all rows after this row
3406: FOR j IN l_index+1..x_line_locs.rec_count LOOP
3407: x_line_locs.error_flag_tbl(j) := FND_API.g_TRUE;

Line 3407: x_line_locs.error_flag_tbl(j) := FND_API.g_TRUE;

3403: PO_PDOI_PARAMS.g_docs_info(l_intf_header_id).err_tolerance_exceeded := FND_API.g_TRUE;
3404:
3405: -- reject all rows after this row
3406: FOR j IN l_index+1..x_line_locs.rec_count LOOP
3407: x_line_locs.error_flag_tbl(j) := FND_API.g_TRUE;
3408: END LOOP;
3409: END IF;
3410: END IF;
3411: END IF;