120: g_source_type_internal_req CONSTANT NUMBER := 7 ;
121: g_source_type_internal_ord CONSTANT NUMBER := 8 ;
122: g_source_type_cycle_count CONSTANT NUMBER := 9 ;
123: g_source_type_physical_inv CONSTANT NUMBER := 10;
124: g_source_type_standard_cost CONSTANT NUMBER := 11;
125: g_source_type_rma CONSTANT NUMBER := 12;
126: g_source_type_inv CONSTANT NUMBER := 13;
127: --
128: -- Tree mode constants
231: -- Current version 1.0
232: -- Initial version 1.0
233: --
234: -- Input parameters:
235: -- p_api_version_number standard input parameter
236: -- p_init_msg_lst standard input parameter
237: -- p_organization_id organzation id
238: -- p_inventory_item_id inventory_item_id
239: -- p_tree_mode tree mode, either g_reservation_mode
232: -- Initial version 1.0
233: --
234: -- Input parameters:
235: -- p_api_version_number standard input parameter
236: -- p_init_msg_lst standard input parameter
237: -- p_organization_id organzation id
238: -- p_inventory_item_id inventory_item_id
239: -- p_tree_mode tree mode, either g_reservation_mode
240: -- or g_transaction_mode
251: -- p_onhand_source describes subinventories in which to search
252: -- for onhand - nettable, ATPable, all
253: --
254: -- Output parameters:
255: -- x_return_status standard output parameter
256: -- x_msg_count standard output parameter
257: -- x_msg_data standard output parameter
258: -- x_tree_id used later to refer to the same tree
259: --
252: -- for onhand - nettable, ATPable, all
253: --
254: -- Output parameters:
255: -- x_return_status standard output parameter
256: -- x_msg_count standard output parameter
257: -- x_msg_data standard output parameter
258: -- x_tree_id used later to refer to the same tree
259: --
260: PROCEDURE create_tree
253: --
254: -- Output parameters:
255: -- x_return_status standard output parameter
256: -- x_msg_count standard output parameter
257: -- x_msg_data standard output parameter
258: -- x_tree_id used later to refer to the same tree
259: --
260: PROCEDURE create_tree
261: ( p_api_version_number IN NUMBER
318: -- Current version 1.0
319: -- Initial version 1.0
320: --
321: -- Input parameters:
322: -- p_api_version_number standard input parameter
323: -- p_init_msg_lst standard input parameter
324: -- p_tree_id tree_id
325: -- p_revision revision
326: -- p_lot_number lot_number
319: -- Initial version 1.0
320: --
321: -- Input parameters:
322: -- p_api_version_number standard input parameter
323: -- p_init_msg_lst standard input parameter
324: -- p_tree_id tree_id
325: -- p_revision revision
326: -- p_lot_number lot_number
327: -- p_subinventory_code subinventory code
329: -- p_to_subinventory_code destination subinventory for subinventory transfer
330: -- transactions. Should be NULL otherwise.
331: --
332: -- Output parameters:
333: -- x_return_status standard output parameter
334: -- x_msg_count standard output parameter
335: -- x_msg_data standard output parameter
336: -- x_qoh qoh
337: -- x_rqoh rqoh
330: -- transactions. Should be NULL otherwise.
331: --
332: -- Output parameters:
333: -- x_return_status standard output parameter
334: -- x_msg_count standard output parameter
335: -- x_msg_data standard output parameter
336: -- x_qoh qoh
337: -- x_rqoh rqoh
338: -- x_qr qr
331: --
332: -- Output parameters:
333: -- x_return_status standard output parameter
334: -- x_msg_count standard output parameter
335: -- x_msg_data standard output parameter
336: -- x_qoh qoh
337: -- x_rqoh rqoh
338: -- x_qr qr
339: -- x_qs qs
465: -- Current version 1.0
466: -- Initial version 1.0
467: --
468: -- Input parameters:
469: -- p_api_version_number standard input parameter
470: -- p_init_msg_lst standard input parameter
471: -- p_tree_id tree_id
472: -- p_revision revision
473: -- p_lot_number lot_number
466: -- Initial version 1.0
467: --
468: -- Input parameters:
469: -- p_api_version_number standard input parameter
470: -- p_init_msg_lst standard input parameter
471: -- p_tree_id tree_id
472: -- p_revision revision
473: -- p_lot_number lot_number
474: -- p_subinventory_code subinventory_code
477: -- p_quantity_type
478: -- p_containerized set to g_containerized_true if
479: -- quantity is in container
480: -- Output parameters:
481: -- x_return_status standard output parameter
482: -- x_msg_count standard output parameter
483: -- x_msg_data standard output parameter
484: -- x_tree_id used later to refer to the same tree
485: -- x_qoh qoh after the update
478: -- p_containerized set to g_containerized_true if
479: -- quantity is in container
480: -- Output parameters:
481: -- x_return_status standard output parameter
482: -- x_msg_count standard output parameter
483: -- x_msg_data standard output parameter
484: -- x_tree_id used later to refer to the same tree
485: -- x_qoh qoh after the update
486: -- x_rqoh rqoh after the update
479: -- quantity is in container
480: -- Output parameters:
481: -- x_return_status standard output parameter
482: -- x_msg_count standard output parameter
483: -- x_msg_data standard output parameter
484: -- x_tree_id used later to refer to the same tree
485: -- x_qoh qoh after the update
486: -- x_rqoh rqoh after the update
487: -- x_qr qr after the update
557: -- Current version 1.0
558: -- Initial version 1.0
559: --
560: -- Input parameters:
561: -- p_api_version_number standard input parameter
562: -- p_init_msg_lst standard input parameter
563: -- p_tree_id tree id
564: --
565: -- Output parameters:
558: -- Initial version 1.0
559: --
560: -- Input parameters:
561: -- p_api_version_number standard input parameter
562: -- p_init_msg_lst standard input parameter
563: -- p_tree_id tree id
564: --
565: -- Output parameters:
566: -- x_return_status standard output parameter
562: -- p_init_msg_lst standard input parameter
563: -- p_tree_id tree id
564: --
565: -- Output parameters:
566: -- x_return_status standard output parameter
567: -- x_msg_count standard output parameter
568: -- x_msg_data standard output parameter
569: -- x_no_violation true if no violation, false otherwise
570: --
563: -- p_tree_id tree id
564: --
565: -- Output parameters:
566: -- x_return_status standard output parameter
567: -- x_msg_count standard output parameter
568: -- x_msg_data standard output parameter
569: -- x_no_violation true if no violation, false otherwise
570: --
571: PROCEDURE do_check
564: --
565: -- Output parameters:
566: -- x_return_status standard output parameter
567: -- x_msg_count standard output parameter
568: -- x_msg_data standard output parameter
569: -- x_no_violation true if no violation, false otherwise
570: --
571: PROCEDURE do_check
572: ( p_api_version_number IN NUMBER
588: -- Current version 1.0
589: -- Initial version 1.0
590: --
591: -- Input parameters:
592: -- p_api_version_number standard input parameter
593: -- p_init_msg_lst standard input parameter
594: --
595: -- Output parameters:
596: -- x_return_status standard output parameter
589: -- Initial version 1.0
590: --
591: -- Input parameters:
592: -- p_api_version_number standard input parameter
593: -- p_init_msg_lst standard input parameter
594: --
595: -- Output parameters:
596: -- x_return_status standard output parameter
597: -- x_msg_count standard output parameter
592: -- p_api_version_number standard input parameter
593: -- p_init_msg_lst standard input parameter
594: --
595: -- Output parameters:
596: -- x_return_status standard output parameter
597: -- x_msg_count standard output parameter
598: -- x_msg_data standard output parameter
599: -- x_no_violation true if no violation, false otherwise
600: --
593: -- p_init_msg_lst standard input parameter
594: --
595: -- Output parameters:
596: -- x_return_status standard output parameter
597: -- x_msg_count standard output parameter
598: -- x_msg_data standard output parameter
599: -- x_no_violation true if no violation, false otherwise
600: --
601: PROCEDURE do_check
594: --
595: -- Output parameters:
596: -- x_return_status standard output parameter
597: -- x_msg_count standard output parameter
598: -- x_msg_data standard output parameter
599: -- x_no_violation true if no violation, false otherwise
600: --
601: PROCEDURE do_check
602: ( p_api_version_number IN NUMBER
617: -- Current version 1.0
618: -- Initial version 1.0
619: --
620: -- Input parameters:
621: -- p_api_version_number standard input parameter
622: -- p_init_msg_lst standard input parameter
623: -- p_tree_id tree id
624: --
625: -- Output parameters:
618: -- Initial version 1.0
619: --
620: -- Input parameters:
621: -- p_api_version_number standard input parameter
622: -- p_init_msg_lst standard input parameter
623: -- p_tree_id tree id
624: --
625: -- Output parameters:
626: -- x_return_status standard output parameter
622: -- p_init_msg_lst standard input parameter
623: -- p_tree_id tree id
624: --
625: -- Output parameters:
626: -- x_return_status standard output parameter
627: -- x_msg_count standard output parameter
628: -- x_msg_data standard output parameter
629: --
630: PROCEDURE free_tree
623: -- p_tree_id tree id
624: --
625: -- Output parameters:
626: -- x_return_status standard output parameter
627: -- x_msg_count standard output parameter
628: -- x_msg_data standard output parameter
629: --
630: PROCEDURE free_tree
631: ( p_api_version_number IN NUMBER
624: --
625: -- Output parameters:
626: -- x_return_status standard output parameter
627: -- x_msg_count standard output parameter
628: -- x_msg_data standard output parameter
629: --
630: PROCEDURE free_tree
631: ( p_api_version_number IN NUMBER
632: , p_init_msg_lst IN VARCHAR2 DEFAULT fnd_api.g_false
646: -- Current version 1.0
647: -- Initial version 1.0
648: --
649: -- Input parameters:
650: -- p_api_version_number standard input parameter
651: -- p_init_msg_lst standard input parameter
652: --
653: -- Output parameters:
654: -- x_return_status standard output parameter
647: -- Initial version 1.0
648: --
649: -- Input parameters:
650: -- p_api_version_number standard input parameter
651: -- p_init_msg_lst standard input parameter
652: --
653: -- Output parameters:
654: -- x_return_status standard output parameter
655: -- x_msg_count standard output parameter
650: -- p_api_version_number standard input parameter
651: -- p_init_msg_lst standard input parameter
652: --
653: -- Output parameters:
654: -- x_return_status standard output parameter
655: -- x_msg_count standard output parameter
656: -- x_msg_data standard output parameter
657: --
658: PROCEDURE free_all
651: -- p_init_msg_lst standard input parameter
652: --
653: -- Output parameters:
654: -- x_return_status standard output parameter
655: -- x_msg_count standard output parameter
656: -- x_msg_data standard output parameter
657: --
658: PROCEDURE free_all
659: ( p_api_version_number IN NUMBER
652: --
653: -- Output parameters:
654: -- x_return_status standard output parameter
655: -- x_msg_count standard output parameter
656: -- x_msg_data standard output parameter
657: --
658: PROCEDURE free_all
659: ( p_api_version_number IN NUMBER
660: , p_init_msg_lst IN VARCHAR2 DEFAULT fnd_api.g_false
681: -- Current version 1.0
682: -- Initial version 1.0
683: --
684: -- Input parameters:
685: -- p_api_version_number standard input parameter
686: -- p_init_msg_lst standard input parameter
687: --
688: -- Output parameters:
689: -- x_return_status standard output parameter
682: -- Initial version 1.0
683: --
684: -- Input parameters:
685: -- p_api_version_number standard input parameter
686: -- p_init_msg_lst standard input parameter
687: --
688: -- Output parameters:
689: -- x_return_status standard output parameter
690: -- x_msg_count standard output parameter
685: -- p_api_version_number standard input parameter
686: -- p_init_msg_lst standard input parameter
687: --
688: -- Output parameters:
689: -- x_return_status standard output parameter
690: -- x_msg_count standard output parameter
691: -- x_msg_data standard output parameter
692: --
693: PROCEDURE mark_all_for_refresh
686: -- p_init_msg_lst standard input parameter
687: --
688: -- Output parameters:
689: -- x_return_status standard output parameter
690: -- x_msg_count standard output parameter
691: -- x_msg_data standard output parameter
692: --
693: PROCEDURE mark_all_for_refresh
694: ( p_api_version_number IN NUMBER
687: --
688: -- Output parameters:
689: -- x_return_status standard output parameter
690: -- x_msg_count standard output parameter
691: -- x_msg_data standard output parameter
692: --
693: PROCEDURE mark_all_for_refresh
694: ( p_api_version_number IN NUMBER
695: , p_init_msg_lst IN VARCHAR2
708: -- Current Version 1.0
709: -- Initial Version 1.0
710: --
711: -- Input Parameters
712: -- p_api_version_number standard input parameter
713: -- p_init_msg_lst standard input parameter
714: --
715: -- Output parameters:
716: -- x_return_status standard output parameter
709: -- Initial Version 1.0
710: --
711: -- Input Parameters
712: -- p_api_version_number standard input parameter
713: -- p_init_msg_lst standard input parameter
714: --
715: -- Output parameters:
716: -- x_return_status standard output parameter
717: -- x_msg_count standard output parameter
712: -- p_api_version_number standard input parameter
713: -- p_init_msg_lst standard input parameter
714: --
715: -- Output parameters:
716: -- x_return_status standard output parameter
717: -- x_msg_count standard output parameter
718: -- x_msg_data standard output parameter
719: --
720: -- Return
713: -- p_init_msg_lst standard input parameter
714: --
715: -- Output parameters:
716: -- x_return_status standard output parameter
717: -- x_msg_count standard output parameter
718: -- x_msg_data standard output parameter
719: --
720: -- Return
721: -- 0 if rootinfo not found
714: --
715: -- Output parameters:
716: -- x_return_status standard output parameter
717: -- x_msg_count standard output parameter
718: -- x_msg_data standard output parameter
719: --
720: -- Return
721: -- 0 if rootinfo not found
722: -- >0 index for the rootinfo in the rootinfo array
923: -- Current version 1.0
924: -- Initial version 1.0
925: --
926: -- Input parameters:
927: -- p_api_version_number standard input parameter
928: -- p_init_msg_lst standard input parameter
929: -- p_tree_id tree_id
930: -- p_revision revision
931: -- p_lot_number lot_number
924: -- Initial version 1.0
925: --
926: -- Input parameters:
927: -- p_api_version_number standard input parameter
928: -- p_init_msg_lst standard input parameter
929: -- p_tree_id tree_id
930: -- p_revision revision
931: -- p_lot_number lot_number
932: -- p_subinventory_code subinventory_code
936: -- p_containerized set to g_containerized_true if
937: -- quantity is in container
938: -- p_call_for_form chek if procedure called from form
939: -- Output parameters:
940: -- x_return_status standard output parameter
941: -- x_msg_count standard output parameter
942: -- x_msg_data standard output parameter
943: -- x_tree_id used later to refer to the same tree
944: -- x_qoh qoh after the update
937: -- quantity is in container
938: -- p_call_for_form chek if procedure called from form
939: -- Output parameters:
940: -- x_return_status standard output parameter
941: -- x_msg_count standard output parameter
942: -- x_msg_data standard output parameter
943: -- x_tree_id used later to refer to the same tree
944: -- x_qoh qoh after the update
945: -- x_rqoh rqoh after the update
938: -- p_call_for_form chek if procedure called from form
939: -- Output parameters:
940: -- x_return_status standard output parameter
941: -- x_msg_count standard output parameter
942: -- x_msg_data standard output parameter
943: -- x_tree_id used later to refer to the same tree
944: -- x_qoh qoh after the update
945: -- x_rqoh rqoh after the update
946: -- x_qr qr after the update