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
233: -- Current version 1.0
234: -- Initial version 1.0
235: --
236: -- Input parameters:
237: -- p_api_version_number standard input parameter
238: -- p_init_msg_lst standard input parameter
239: -- p_organization_id organzation id
240: -- p_inventory_item_id inventory_item_id
241: -- p_tree_mode tree mode, either g_reservation_mode
234: -- Initial version 1.0
235: --
236: -- Input parameters:
237: -- p_api_version_number standard input parameter
238: -- p_init_msg_lst standard input parameter
239: -- p_organization_id organzation id
240: -- p_inventory_item_id inventory_item_id
241: -- p_tree_mode tree mode, either g_reservation_mode
242: -- or g_transaction_mode
253: -- p_onhand_source describes subinventories in which to search
254: -- for onhand - nettable, ATPable, all
255: --
256: -- Output parameters:
257: -- x_return_status standard output parameter
258: -- x_msg_count standard output parameter
259: -- x_msg_data standard output parameter
260: -- x_tree_id used later to refer to the same tree
261: --
254: -- for onhand - nettable, ATPable, all
255: --
256: -- Output parameters:
257: -- x_return_status standard output parameter
258: -- x_msg_count standard output parameter
259: -- x_msg_data standard output parameter
260: -- x_tree_id used later to refer to the same tree
261: --
262: PROCEDURE create_tree
255: --
256: -- Output parameters:
257: -- x_return_status standard output parameter
258: -- x_msg_count standard output parameter
259: -- x_msg_data standard output parameter
260: -- x_tree_id used later to refer to the same tree
261: --
262: PROCEDURE create_tree
263: ( p_api_version_number IN NUMBER
321: -- Current version 1.0
322: -- Initial version 1.0
323: --
324: -- Input parameters:
325: -- p_api_version_number standard input parameter
326: -- p_init_msg_lst standard input parameter
327: -- p_tree_id tree_id
328: -- p_revision revision
329: -- p_lot_number lot_number
322: -- Initial version 1.0
323: --
324: -- Input parameters:
325: -- p_api_version_number standard input parameter
326: -- p_init_msg_lst standard input parameter
327: -- p_tree_id tree_id
328: -- p_revision revision
329: -- p_lot_number lot_number
330: -- p_subinventory_code subinventory code
332: -- p_to_subinventory_code destination subinventory for subinventory transfer
333: -- transactions. Should be NULL otherwise.
334: --
335: -- Output parameters:
336: -- x_return_status standard output parameter
337: -- x_msg_count standard output parameter
338: -- x_msg_data standard output parameter
339: -- x_qoh qoh
340: -- x_rqoh rqoh
333: -- transactions. Should be NULL otherwise.
334: --
335: -- Output parameters:
336: -- x_return_status standard output parameter
337: -- x_msg_count standard output parameter
338: -- x_msg_data standard output parameter
339: -- x_qoh qoh
340: -- x_rqoh rqoh
341: -- x_qr qr
334: --
335: -- Output parameters:
336: -- x_return_status standard output parameter
337: -- x_msg_count standard output parameter
338: -- x_msg_data standard output parameter
339: -- x_qoh qoh
340: -- x_rqoh rqoh
341: -- x_qr qr
342: -- x_qs qs
472: -- Current version 1.0
473: -- Initial version 1.0
474: --
475: -- Input parameters:
476: -- p_api_version_number standard input parameter
477: -- p_init_msg_lst standard input parameter
478: -- p_tree_id tree_id
479: -- p_revision revision
480: -- p_lot_number lot_number
473: -- Initial version 1.0
474: --
475: -- Input parameters:
476: -- p_api_version_number standard input parameter
477: -- p_init_msg_lst standard input parameter
478: -- p_tree_id tree_id
479: -- p_revision revision
480: -- p_lot_number lot_number
481: -- p_subinventory_code subinventory_code
484: -- p_quantity_type
485: -- p_containerized set to g_containerized_true if
486: -- quantity is in container
487: -- Output parameters:
488: -- x_return_status standard output parameter
489: -- x_msg_count standard output parameter
490: -- x_msg_data standard output parameter
491: -- x_tree_id used later to refer to the same tree
492: -- x_qoh qoh after the update
485: -- p_containerized set to g_containerized_true if
486: -- quantity is in container
487: -- Output parameters:
488: -- x_return_status standard output parameter
489: -- x_msg_count standard output parameter
490: -- x_msg_data standard output parameter
491: -- x_tree_id used later to refer to the same tree
492: -- x_qoh qoh after the update
493: -- x_rqoh rqoh after the update
486: -- quantity is in container
487: -- Output parameters:
488: -- x_return_status standard output parameter
489: -- x_msg_count standard output parameter
490: -- x_msg_data standard output parameter
491: -- x_tree_id used later to refer to the same tree
492: -- x_qoh qoh after the update
493: -- x_rqoh rqoh after the update
494: -- x_qr qr after the update
566: -- Current version 1.0
567: -- Initial version 1.0
568: --
569: -- Input parameters:
570: -- p_api_version_number standard input parameter
571: -- p_init_msg_lst standard input parameter
572: -- p_tree_id tree id
573: --
574: -- Output parameters:
567: -- Initial version 1.0
568: --
569: -- Input parameters:
570: -- p_api_version_number standard input parameter
571: -- p_init_msg_lst standard input parameter
572: -- p_tree_id tree id
573: --
574: -- Output parameters:
575: -- x_return_status standard output parameter
571: -- p_init_msg_lst standard input parameter
572: -- p_tree_id tree id
573: --
574: -- Output parameters:
575: -- x_return_status standard output parameter
576: -- x_msg_count standard output parameter
577: -- x_msg_data standard output parameter
578: -- x_no_violation true if no violation, false otherwise
579: --
572: -- p_tree_id tree id
573: --
574: -- Output parameters:
575: -- x_return_status standard output parameter
576: -- x_msg_count standard output parameter
577: -- x_msg_data standard output parameter
578: -- x_no_violation true if no violation, false otherwise
579: --
580: PROCEDURE do_check
573: --
574: -- Output parameters:
575: -- x_return_status standard output parameter
576: -- x_msg_count standard output parameter
577: -- x_msg_data standard output parameter
578: -- x_no_violation true if no violation, false otherwise
579: --
580: PROCEDURE do_check
581: ( p_api_version_number IN NUMBER
597: -- Current version 1.0
598: -- Initial version 1.0
599: --
600: -- Input parameters:
601: -- p_api_version_number standard input parameter
602: -- p_init_msg_lst standard input parameter
603: --
604: -- Output parameters:
605: -- x_return_status standard output parameter
598: -- Initial version 1.0
599: --
600: -- Input parameters:
601: -- p_api_version_number standard input parameter
602: -- p_init_msg_lst standard input parameter
603: --
604: -- Output parameters:
605: -- x_return_status standard output parameter
606: -- x_msg_count standard output parameter
601: -- p_api_version_number standard input parameter
602: -- p_init_msg_lst standard input parameter
603: --
604: -- Output parameters:
605: -- x_return_status standard output parameter
606: -- x_msg_count standard output parameter
607: -- x_msg_data standard output parameter
608: -- x_no_violation true if no violation, false otherwise
609: --
602: -- p_init_msg_lst standard input parameter
603: --
604: -- Output parameters:
605: -- x_return_status standard output parameter
606: -- x_msg_count standard output parameter
607: -- x_msg_data standard output parameter
608: -- x_no_violation true if no violation, false otherwise
609: --
610: PROCEDURE do_check
603: --
604: -- Output parameters:
605: -- x_return_status standard output parameter
606: -- x_msg_count standard output parameter
607: -- x_msg_data standard output parameter
608: -- x_no_violation true if no violation, false otherwise
609: --
610: PROCEDURE do_check
611: ( p_api_version_number IN NUMBER
626: -- Current version 1.0
627: -- Initial version 1.0
628: --
629: -- Input parameters:
630: -- p_api_version_number standard input parameter
631: -- p_init_msg_lst standard input parameter
632: -- p_tree_id tree id
633: --
634: -- Output parameters:
627: -- Initial version 1.0
628: --
629: -- Input parameters:
630: -- p_api_version_number standard input parameter
631: -- p_init_msg_lst standard input parameter
632: -- p_tree_id tree id
633: --
634: -- Output parameters:
635: -- x_return_status standard output parameter
631: -- p_init_msg_lst standard input parameter
632: -- p_tree_id tree id
633: --
634: -- Output parameters:
635: -- x_return_status standard output parameter
636: -- x_msg_count standard output parameter
637: -- x_msg_data standard output parameter
638: --
639: PROCEDURE free_tree
632: -- p_tree_id tree id
633: --
634: -- Output parameters:
635: -- x_return_status standard output parameter
636: -- x_msg_count standard output parameter
637: -- x_msg_data standard output parameter
638: --
639: PROCEDURE free_tree
640: ( p_api_version_number IN NUMBER
633: --
634: -- Output parameters:
635: -- x_return_status standard output parameter
636: -- x_msg_count standard output parameter
637: -- x_msg_data standard output parameter
638: --
639: PROCEDURE free_tree
640: ( p_api_version_number IN NUMBER
641: , p_init_msg_lst IN VARCHAR2 DEFAULT fnd_api.g_false
655: -- Current version 1.0
656: -- Initial version 1.0
657: --
658: -- Input parameters:
659: -- p_api_version_number standard input parameter
660: -- p_init_msg_lst standard input parameter
661: --
662: -- Output parameters:
663: -- x_return_status standard output parameter
656: -- Initial version 1.0
657: --
658: -- Input parameters:
659: -- p_api_version_number standard input parameter
660: -- p_init_msg_lst standard input parameter
661: --
662: -- Output parameters:
663: -- x_return_status standard output parameter
664: -- x_msg_count standard output parameter
659: -- p_api_version_number standard input parameter
660: -- p_init_msg_lst standard input parameter
661: --
662: -- Output parameters:
663: -- x_return_status standard output parameter
664: -- x_msg_count standard output parameter
665: -- x_msg_data standard output parameter
666: --
667: PROCEDURE free_all
660: -- p_init_msg_lst standard input parameter
661: --
662: -- Output parameters:
663: -- x_return_status standard output parameter
664: -- x_msg_count standard output parameter
665: -- x_msg_data standard output parameter
666: --
667: PROCEDURE free_all
668: ( p_api_version_number IN NUMBER
661: --
662: -- Output parameters:
663: -- x_return_status standard output parameter
664: -- x_msg_count standard output parameter
665: -- x_msg_data standard output parameter
666: --
667: PROCEDURE free_all
668: ( p_api_version_number IN NUMBER
669: , p_init_msg_lst IN VARCHAR2 DEFAULT fnd_api.g_false
690: -- Current version 1.0
691: -- Initial version 1.0
692: --
693: -- Input parameters:
694: -- p_api_version_number standard input parameter
695: -- p_init_msg_lst standard input parameter
696: --
697: -- Output parameters:
698: -- x_return_status standard output parameter
691: -- Initial version 1.0
692: --
693: -- Input parameters:
694: -- p_api_version_number standard input parameter
695: -- p_init_msg_lst standard input parameter
696: --
697: -- Output parameters:
698: -- x_return_status standard output parameter
699: -- x_msg_count standard output parameter
694: -- p_api_version_number standard input parameter
695: -- p_init_msg_lst standard input parameter
696: --
697: -- Output parameters:
698: -- x_return_status standard output parameter
699: -- x_msg_count standard output parameter
700: -- x_msg_data standard output parameter
701: --
702: PROCEDURE mark_all_for_refresh
695: -- p_init_msg_lst standard input parameter
696: --
697: -- Output parameters:
698: -- x_return_status standard output parameter
699: -- x_msg_count standard output parameter
700: -- x_msg_data standard output parameter
701: --
702: PROCEDURE mark_all_for_refresh
703: ( p_api_version_number IN NUMBER
696: --
697: -- Output parameters:
698: -- x_return_status standard output parameter
699: -- x_msg_count standard output parameter
700: -- x_msg_data standard output parameter
701: --
702: PROCEDURE mark_all_for_refresh
703: ( p_api_version_number IN NUMBER
704: , p_init_msg_lst IN VARCHAR2
717: -- Current Version 1.0
718: -- Initial Version 1.0
719: --
720: -- Input Parameters
721: -- p_api_version_number standard input parameter
722: -- p_init_msg_lst standard input parameter
723: --
724: -- Output parameters:
725: -- x_return_status standard output parameter
718: -- Initial Version 1.0
719: --
720: -- Input Parameters
721: -- p_api_version_number standard input parameter
722: -- p_init_msg_lst standard input parameter
723: --
724: -- Output parameters:
725: -- x_return_status standard output parameter
726: -- x_msg_count standard output parameter
721: -- p_api_version_number standard input parameter
722: -- p_init_msg_lst standard input parameter
723: --
724: -- Output parameters:
725: -- x_return_status standard output parameter
726: -- x_msg_count standard output parameter
727: -- x_msg_data standard output parameter
728: --
729: -- Return
722: -- p_init_msg_lst standard input parameter
723: --
724: -- Output parameters:
725: -- x_return_status standard output parameter
726: -- x_msg_count standard output parameter
727: -- x_msg_data standard output parameter
728: --
729: -- Return
730: -- 0 if rootinfo not found
723: --
724: -- Output parameters:
725: -- x_return_status standard output parameter
726: -- x_msg_count standard output parameter
727: -- x_msg_data standard output parameter
728: --
729: -- Return
730: -- 0 if rootinfo not found
731: -- >0 index for the rootinfo in the rootinfo array
942: -- outside APIS (not quantity tree) should call build_sql --
943: -- with value of g_pick_release_no --
944: -- Output Parameters --
945: -- x_return_status --
946: -- standard output parameter. Possible values are --
947: -- 1. fnd_api.g_ret_sts_success for success --
948: -- 2. fnd_api.g_ret_sts_exc_error for expected error --
949: -- 3. fnd_api.g_ret_sts_unexp_error for unexpected error --
950: -------------------------------------------------------------------------------
1075: -- Current version 1.0
1076: -- Initial version 1.0
1077: --
1078: -- Input parameters:
1079: -- p_api_version_number standard input parameter
1080: -- p_init_msg_lst standard input parameter
1081: -- p_tree_id tree_id
1082: -- p_revision revision
1083: -- p_lot_number lot_number
1076: -- Initial version 1.0
1077: --
1078: -- Input parameters:
1079: -- p_api_version_number standard input parameter
1080: -- p_init_msg_lst standard input parameter
1081: -- p_tree_id tree_id
1082: -- p_revision revision
1083: -- p_lot_number lot_number
1084: -- p_subinventory_code subinventory_code
1088: -- p_containerized set to g_containerized_true if
1089: -- quantity is in container
1090: -- p_call_for_form chek if procedure called from form
1091: -- Output parameters:
1092: -- x_return_status standard output parameter
1093: -- x_msg_count standard output parameter
1094: -- x_msg_data standard output parameter
1095: -- x_tree_id used later to refer to the same tree
1096: -- x_qoh qoh after the update
1089: -- quantity is in container
1090: -- p_call_for_form chek if procedure called from form
1091: -- Output parameters:
1092: -- x_return_status standard output parameter
1093: -- x_msg_count standard output parameter
1094: -- x_msg_data standard output parameter
1095: -- x_tree_id used later to refer to the same tree
1096: -- x_qoh qoh after the update
1097: -- x_rqoh rqoh after the update
1090: -- p_call_for_form chek if procedure called from form
1091: -- Output parameters:
1092: -- x_return_status standard output parameter
1093: -- x_msg_count standard output parameter
1094: -- x_msg_data standard output parameter
1095: -- x_tree_id used later to refer to the same tree
1096: -- x_qoh qoh after the update
1097: -- x_rqoh rqoh after the update
1098: -- x_qr qr after the update