DBA Data[Home] [Help]

APPS.PO_PDOI_DISTRIBUTIONS_SV3 dependencies on PO_INTERFACE_ERRORS_SV1

Line 75: po_interface_errors_sv1.handle_interface_errors(

71: BEGIN
72:
73: x_progress := '010';
74: if x_po_distribution_id is null then
75: po_interface_errors_sv1.handle_interface_errors(
76: 'PO_DOCS_OPEN_INTERFACE',
77: 'FATAL',
78: null,
79: x_interface_header_id,

Line 93: po_interface_errors_sv1.handle_interface_errors(

89:
90: x_progress := '020';
91:
92: if x_charge_account_id is null then
93: po_interface_errors_sv1.handle_interface_errors(
94: 'PO_DOCS_OPEN_INTERFACE',
95: 'FATAL',
96: null,
97: x_interface_header_id,

Line 113: PO_INTERFACE_ERRORS_SV1.handle_interface_errors(

109:
110: --
111: IF (p_order_type_lookup_code IN ('RATE', 'FIXED PRICE')) THEN
112: IF (NVL(p_amount, 0) <= 0) THEN
113: PO_INTERFACE_ERRORS_SV1.handle_interface_errors(
114: X_interface_type => 'PO_DOCS_OPEN_INTERFACE',
115: X_Error_type => 'FATAL',
116: X_Batch_id => NULL,
117: X_Interface_Header_Id => X_interface_header_id,

Line 138: PO_INTERFACE_ERRORS_SV1.handle_interface_errors(

134: X_header_processable_flag => x_header_processable_flag);
135: END IF;
136:
137: IF (NVL(x_quantity_ordered, 0) <> 0) THEN
138: PO_INTERFACE_ERRORS_SV1.handle_interface_errors(
139: X_interface_type => 'PO_DOCS_OPEN_INTERFACE',
140: X_Error_type => 'FATAL',
141: X_Batch_id => NULL,
142: X_Interface_Header_Id => X_interface_header_id,

Line 165: po_interface_errors_sv1.handle_interface_errors(

161:
162: ELSE --if p_order_type_lookup_code not in ('RATE', 'FIXED PRICE')
163: --
164: if (x_quantity_ordered <= 0) OR (x_quantity_ordered is null) then
165: po_interface_errors_sv1.handle_interface_errors(
166: 'PO_DOCS_OPEN_INTERFACE',
167: 'FATAL',
168: null,
169: x_interface_header_id,

Line 182: PO_INTERFACE_ERRORS_SV1.handle_interface_errors(

178: end if;
179:
180: --
181: IF (NVL(p_amount,0) <> 0) THEN
182: PO_INTERFACE_ERRORS_SV1.handle_interface_errors(
183: X_interface_type => 'PO_DOCS_OPEN_INTERFACE',
184: X_Error_type => 'FATAL',
185: X_Batch_id => NULL,
186: X_Interface_Header_Id => X_interface_header_id,

Line 211: po_interface_errors_sv1.handle_interface_errors(

207:
208: x_progress := '040';
209:
210: if (x_distribution_num is null) then
211: po_interface_errors_sv1.handle_interface_errors(
212: 'PO_DOCS_OPEN_INTERFACE',
213: 'FATAL',
214: null,
215: x_interface_header_id,

Line 232: po_interface_errors_sv1.handle_interface_errors(

228: -- Fixed Bug 2681256 draising
229: -- if (x_quantity_delivered <> 0) OR (x_quantity_delivered is not null) then
230:
231: if nvl(x_quantity_delivered,0) <> 0 then
232: po_interface_errors_sv1.handle_interface_errors(
233: 'PO_DOCS_OPEN_INTERFACE',
234: 'FATAL',
235: null,
236: x_interface_header_id,

Line 251: po_interface_errors_sv1.handle_interface_errors(

247: x_progress := '070';
248:
249: -- if (x_quantity_billed <> 0) OR (x_quantity_billed is not null) then
250: if nvl(x_quantity_billed,0) <> 0 then
251: po_interface_errors_sv1.handle_interface_errors(
252: 'PO_DOCS_OPEN_INTERFACE',
253: 'FATAL',
254: null,
255: x_interface_header_id,

Line 271: po_interface_errors_sv1.handle_interface_errors(

267:
268: -- if (x_quantity_cancelled <> 0) OR (x_quantity_cancelled is not null) then
269:
270: if nvl(x_quantity_cancelled,0) <> 0 then
271: po_interface_errors_sv1.handle_interface_errors(
272: 'PO_DOCS_OPEN_INTERFACE',
273: 'FATAL',
274: null,
275: x_interface_header_id,

Line 297: po_interface_errors_sv1.handle_interface_errors(

293: -- Destination org must be equal to ship-to org.
294: IF NVL(x_destination_organization_id, -11) <>
295: NVL(x_ship_to_organization_id, -99)
296: THEN
297: po_interface_errors_sv1.handle_interface_errors(
298: 'PO_DOCS_OPEN_INTERFACE',
299: 'FATAL',
300: null,
301: x_interface_header_id,

Line 322: po_interface_errors_sv1.handle_interface_errors(

318: x_item_status );
319: x_valid := validate_destination_type_code(x_destination_type_code, x_item_status,
320: x_accrue_on_receipt_flag, p_transaction_flow_header_id); --
321: if x_valid <> 'Y' then
322: po_interface_errors_sv1.handle_interface_errors(
323: 'PO_DOCS_OPEN_INTERFACE',
324: 'FATAL',
325: null,
326: x_interface_header_id,

Line 343: po_interface_errors_sv1.handle_interface_errors(

339:
340: if x_deliver_to_location_id is not null then
341: x_valid := validate_deliver_to_loc_id(x_deliver_to_location_id, x_ship_to_organization_id);
342: if x_valid <> 'Y' then
343: po_interface_errors_sv1.handle_interface_errors(
344: 'PO_DOCS_OPEN_INTERFACE',
345: 'FATAL',
346: null,
347: x_interface_header_id,

Line 364: po_interface_errors_sv1.handle_interface_errors(

360:
361: if x_deliver_to_person_id is not null then
362: x_valid := validate_deliver_to_person_id(x_deliver_to_person_id);
363: if x_valid <> 'Y' then
364: po_interface_errors_sv1.handle_interface_errors(
365: 'PO_DOCS_OPEN_INTERFACE',
366: 'FATAL',
367: null,
368: x_interface_header_id,

Line 383: po_interface_errors_sv1.handle_interface_errors(

379:
380: x_progress := '120';
381:
382: IF (x_item_id is NULL) AND ( x_destination_type_code = 'INVENTORY' ) THEN
383: po_interface_errors_sv1.handle_interface_errors(
384: 'PO_DOCS_OPEN_INTERFACE',
385: 'FATAL',
386: null,
387: x_interface_header_id,

Line 403: po_interface_errors_sv1.handle_interface_errors(

399:
400: if (x_destination_TYPE_CODE = 'INVENTORY') and (x_destination_subinventory is not null) then
401: x_valid := validate_dest_subinventory(x_destination_subinventory, x_ship_to_organization_id, x_item_id);
402: if x_valid <> 'Y' then
403: po_interface_errors_sv1.handle_interface_errors(
404: 'PO_DOCS_OPEN_INTERFACE',
405: 'FATAL',
406: null,
407: x_interface_header_id,

Line 422: po_interface_errors_sv1.handle_interface_errors(

418:
419: x_progress := '140';
420:
421: if (x_destination_type_code in ('SHOP FLOOR','EXPENSE')) and (x_destination_subinventory is not null) then
422: po_interface_errors_sv1.handle_interface_errors(
423: 'PO_DOCS_OPEN_INTERFACE',
424: 'FATAL',
425: null,
426: x_interface_header_id,

Line 448: po_interface_errors_sv1.handle_interface_errors(

444: if (x_wip_entity_id is not null) then
445: x_valid := validate_wip(x_wip_entity_id, x_destination_organization_id, x_wip_repetitive_schedule_id);
446: if x_valid <> 'Y' then
447: if x_wip_repetitive_schedule_id is not null then
448: po_interface_errors_sv1.handle_interface_errors(
449: 'PO_DOCS_OPEN_INTERFACE',
450: 'FATAL',
451: null,
452: x_interface_header_id,

Line 463: po_interface_errors_sv1.handle_interface_errors(

459: x_WIP_REPETITIVE_SCHEDULE_ID,null,null,null,null,null,
460: x_header_processable_flag, x_interface_distribution_id);
461: else
462: /* Bug 3083961 */
463: po_interface_errors_sv1.handle_interface_errors(
464: 'PO_DOCS_OPEN_INTERFACE',
465: 'FATAL',
466: null,
467: x_interface_header_id,

Line 479: po_interface_errors_sv1.handle_interface_errors(

475: end if;
476: end if; /* x_valid */
477: else -- x_wip_entity_id is null
478: /* Bug 3083961 */
479: po_interface_errors_sv1.handle_interface_errors(
480: 'PO_DOCS_OPEN_INTERFACE',
481: 'FATAL',
482: null,
483: X_interface_header_id,

Line 501: po_interface_errors_sv1.handle_interface_errors(

497:
498: IF x_destination_type_code = 'SHOP FLOOR' THEN
499:
500: if x_Prevent_Encumbrance_Flag = 'N' then
501: po_interface_errors_sv1.handle_interface_errors(
502: 'PO_DOCS_OPEN_INTERFACE',
503: 'FATAL',
504: null,
505: x_interface_header_id,

Line 517: po_interface_errors_sv1.handle_interface_errors(

513: x_header_processable_flag, x_interface_distribution_id);
514: end if;
515: else --other dest
516: if x_Prevent_Encumbrance_Flag = 'Y' then
517: po_interface_errors_sv1.handle_interface_errors(
518: 'PO_DOCS_OPEN_INTERFACE',
519: 'FATAL',
520: null,
521: x_interface_header_id,

Line 538: po_interface_errors_sv1.handle_interface_errors(

534:
535: if x_charge_account_id is not null then
536: x_valid := validate_account(x_charge_account_id, x_gl_date, x_chart_of_accounts_id);
537: if x_valid <> 'Y' then
538: po_interface_errors_sv1.handle_interface_errors(
539: 'PO_DOCS_OPEN_INTERFACE',
540: 'FATAL',
541: null,
542: x_interface_header_id,

Line 559: po_interface_errors_sv1.handle_interface_errors(

555:
556: if x_budget_account_id is not null then
557: x_valid := validate_account(x_budget_account_id, x_gl_date, x_chart_of_accounts_id);
558: if x_valid <> 'Y' then
559: po_interface_errors_sv1.handle_interface_errors(
560: 'PO_DOCS_OPEN_INTERFACE',
561: 'FATAL',
562: null,
563: x_interface_header_id,

Line 586: po_interface_errors_sv1.handle_interface_errors(

582: from financials_system_parameters ;
583:
584: if (x_enc_flag = 'Y') then
585:
586: po_interface_errors_sv1.handle_interface_errors(
587: 'PO_DOCS_OPEN_INTERFACE',
588: 'FATAL',
589: null,
590: x_interface_header_id,

Line 607: po_interface_errors_sv1.handle_interface_errors(

603:
604: if x_variance_account_id is not null then
605: x_valid := validate_account(x_variance_account_id, x_gl_date, x_chart_of_accounts_id);
606: if x_valid <> 'Y' then
607: po_interface_errors_sv1.handle_interface_errors(
608: 'PO_DOCS_OPEN_INTERFACE',
609: 'FATAL',
610: null,
611: x_interface_header_id,

Line 628: po_interface_errors_sv1.handle_interface_errors(

624:
625: if x_accrual_account_id is not null then
626: x_valid := validate_account(x_accrual_account_id, x_gl_date, x_chart_of_accounts_id);
627: if x_valid <> 'Y' then
628: po_interface_errors_sv1.handle_interface_errors(
629: 'PO_DOCS_OPEN_INTERFACE',
630: 'FATAL',
631: null,
632: x_interface_header_id,

Line 650: po_interface_errors_sv1.handle_interface_errors(

646: if (x_project_account_context = 'N' or x_project_account_context is null)
647: and (x_project_id is not null) and (x_task_id is not null)
648: and (x_expenditure_type is not null)
649: and (x_expenditure_organization_id is not null) then
650: po_interface_errors_sv1.handle_interface_errors(
651: 'PO_DOCS_OPEN_INTERFACE',
652: 'FATAL',
653: null,
654: x_interface_header_id,

Line 688: po_interface_errors_sv1.handle_interface_errors(

684: p_ship_to_ou_id, --< Bug 3265539 >
685: x_deliver_to_person_id); --
686: -- Bug 2892199 Added expenditure_item_date
687: if x_valid <> 'Y' then
688: po_interface_errors_sv1.handle_interface_errors(
689: 'PO_DOCS_OPEN_INTERFACE',
690: 'FATAL',
691: null,
692: x_interface_header_id,

Line 715: PO_INTERFACE_ERRORS_SV1.handle_interface_errors(

711: x_progress := '235';
712: IF (x_destination_type_code = 'EXPENSE')
713: AND (p_transaction_flow_header_id IS NOT NULL)
714: AND (x_project_id IS NOT NULL) THEN
715: PO_INTERFACE_ERRORS_SV1.handle_interface_errors(
716: x_interface_type => 'PO_DOCS_OPEN_INTERFACE',
717: x_error_type => 'FATAL',
718: x_batch_id => null,
719: x_interface_header_id => x_interface_header_id,