DBA Data[Home] [Help]

APPS.MRP_WFS_FORM_FLOW_SCHEDULE dependencies on MRP_GLOBALS

Line 138: l_control_rec MRP_GLOBALS.Control_Rec_Type;

134: )
135: IS
136: l_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
137: l_flow_schedule_val_rec MRP_Flow_Schedule_PVT.Flow_Schedule_Val_PVT_Rec_Type;
138: l_control_rec MRP_GLOBALS.Control_Rec_Type;
139: l_return_status VARCHAR2(1);
140: l_x_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
141: l_p_old_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
142: BEGIN

Line 190: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_CREATE;

186: l_flow_schedule_rec.schedule_number := NULL;
187:
188: -- Set Operation to Create
189:
190: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_CREATE;
191:
192: -- Call MRP_Flow_Schedule_PVT.Process_flow_schedule
193:
194: MRP_Flow_Schedule_PVT.Process_flow_schedule

Line 457: l_control_rec MRP_GLOBALS.Control_Rec_Type;

453: IS
454: l_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
455: l_old_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
456: l_flow_schedule_val_rec MRP_Flow_Schedule_PVT.Flow_Schedule_Val_PVT_Rec_Type;
457: l_control_rec MRP_GLOBALS.Control_Rec_Type;
458: l_return_status VARCHAR2(1);
459: l_x_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
460: temp varchar2(1000);
461: BEGIN

Line 632: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_UPDATE;

628:
629: -- Set Operation.
630:
631: IF FND_API.To_Boolean(l_flow_schedule_rec.db_flag) THEN
632: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_UPDATE;
633: ELSE
634: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_CREATE;
635: END IF;
636:

Line 634: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_CREATE;

630:
631: IF FND_API.To_Boolean(l_flow_schedule_rec.db_flag) THEN
632: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_UPDATE;
633: ELSE
634: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_CREATE;
635: END IF;
636:
637: -- Call MRP_Flow_Schedule_PVT.Process_flow_schedule
638:

Line 740: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.alternate_bom_designator,

736: );
737:
738: -- Return changed attributes.
739:
740: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.alternate_bom_designator,
741: l_flow_schedule_rec.alternate_bom_designator)
742: THEN
743: x_alternate_bom_designator := l_x_flow_schedule_rec.alternate_bom_designator;
744: END IF;

Line 746: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.alternate_routing_desig,

742: THEN
743: x_alternate_bom_designator := l_x_flow_schedule_rec.alternate_bom_designator;
744: END IF;
745:
746: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.alternate_routing_desig,
747: l_flow_schedule_rec.alternate_routing_desig)
748: THEN
749: x_alternate_routing_desig := l_x_flow_schedule_rec.alternate_routing_desig;
750: END IF;

Line 752: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute1,

748: THEN
749: x_alternate_routing_desig := l_x_flow_schedule_rec.alternate_routing_desig;
750: END IF;
751:
752: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute1,
753: l_flow_schedule_rec.attribute1)
754: THEN
755: x_attribute1 := l_x_flow_schedule_rec.attribute1;
756: END IF;

Line 758: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute10,

754: THEN
755: x_attribute1 := l_x_flow_schedule_rec.attribute1;
756: END IF;
757:
758: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute10,
759: l_flow_schedule_rec.attribute10)
760: THEN
761: x_attribute10 := l_x_flow_schedule_rec.attribute10;
762: END IF;

Line 764: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute11,

760: THEN
761: x_attribute10 := l_x_flow_schedule_rec.attribute10;
762: END IF;
763:
764: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute11,
765: l_flow_schedule_rec.attribute11)
766: THEN
767: x_attribute11 := l_x_flow_schedule_rec.attribute11;
768: END IF;

Line 770: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute12,

766: THEN
767: x_attribute11 := l_x_flow_schedule_rec.attribute11;
768: END IF;
769:
770: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute12,
771: l_flow_schedule_rec.attribute12)
772: THEN
773: x_attribute12 := l_x_flow_schedule_rec.attribute12;
774: END IF;

Line 776: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute13,

772: THEN
773: x_attribute12 := l_x_flow_schedule_rec.attribute12;
774: END IF;
775:
776: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute13,
777: l_flow_schedule_rec.attribute13)
778: THEN
779: x_attribute13 := l_x_flow_schedule_rec.attribute13;
780: END IF;

Line 782: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute14,

778: THEN
779: x_attribute13 := l_x_flow_schedule_rec.attribute13;
780: END IF;
781:
782: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute14,
783: l_flow_schedule_rec.attribute14)
784: THEN
785: x_attribute14 := l_x_flow_schedule_rec.attribute14;
786: END IF;

Line 788: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute15,

784: THEN
785: x_attribute14 := l_x_flow_schedule_rec.attribute14;
786: END IF;
787:
788: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute15,
789: l_flow_schedule_rec.attribute15)
790: THEN
791: x_attribute15 := l_x_flow_schedule_rec.attribute15;
792: END IF;

Line 794: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute2,

790: THEN
791: x_attribute15 := l_x_flow_schedule_rec.attribute15;
792: END IF;
793:
794: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute2,
795: l_flow_schedule_rec.attribute2)
796: THEN
797: x_attribute2 := l_x_flow_schedule_rec.attribute2;
798: END IF;

Line 800: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute3,

796: THEN
797: x_attribute2 := l_x_flow_schedule_rec.attribute2;
798: END IF;
799:
800: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute3,
801: l_flow_schedule_rec.attribute3)
802: THEN
803: x_attribute3 := l_x_flow_schedule_rec.attribute3;
804: END IF;

Line 806: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute4,

802: THEN
803: x_attribute3 := l_x_flow_schedule_rec.attribute3;
804: END IF;
805:
806: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute4,
807: l_flow_schedule_rec.attribute4)
808: THEN
809: x_attribute4 := l_x_flow_schedule_rec.attribute4;
810: END IF;

Line 812: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute5,

808: THEN
809: x_attribute4 := l_x_flow_schedule_rec.attribute4;
810: END IF;
811:
812: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute5,
813: l_flow_schedule_rec.attribute5)
814: THEN
815: x_attribute5 := l_x_flow_schedule_rec.attribute5;
816: END IF;

Line 818: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute6,

814: THEN
815: x_attribute5 := l_x_flow_schedule_rec.attribute5;
816: END IF;
817:
818: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute6,
819: l_flow_schedule_rec.attribute6)
820: THEN
821: x_attribute6 := l_x_flow_schedule_rec.attribute6;
822: END IF;

Line 824: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute7,

820: THEN
821: x_attribute6 := l_x_flow_schedule_rec.attribute6;
822: END IF;
823:
824: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute7,
825: l_flow_schedule_rec.attribute7)
826: THEN
827: x_attribute7 := l_x_flow_schedule_rec.attribute7;
828: END IF;

Line 830: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute8,

826: THEN
827: x_attribute7 := l_x_flow_schedule_rec.attribute7;
828: END IF;
829:
830: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute8,
831: l_flow_schedule_rec.attribute8)
832: THEN
833: x_attribute8 := l_x_flow_schedule_rec.attribute8;
834: END IF;

Line 836: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute9,

832: THEN
833: x_attribute8 := l_x_flow_schedule_rec.attribute8;
834: END IF;
835:
836: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute9,
837: l_flow_schedule_rec.attribute9)
838: THEN
839: x_attribute9 := l_x_flow_schedule_rec.attribute9;
840: END IF;

Line 842: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute_category,

838: THEN
839: x_attribute9 := l_x_flow_schedule_rec.attribute9;
840: END IF;
841:
842: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.attribute_category,
843: l_flow_schedule_rec.attribute_category)
844: THEN
845: x_attribute_category := l_x_flow_schedule_rec.attribute_category;
846: END IF;

Line 848: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.bom_revision,

844: THEN
845: x_attribute_category := l_x_flow_schedule_rec.attribute_category;
846: END IF;
847:
848: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.bom_revision,
849: l_flow_schedule_rec.bom_revision)
850: THEN
851: x_bom_revision := l_x_flow_schedule_rec.bom_revision;
852: END IF;

Line 854: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.bom_revision_date,

850: THEN
851: x_bom_revision := l_x_flow_schedule_rec.bom_revision;
852: END IF;
853:
854: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.bom_revision_date,
855: l_flow_schedule_rec.bom_revision_date)
856: THEN
857: x_bom_revision_date := l_x_flow_schedule_rec.bom_revision_date;
858: END IF;

Line 860: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.build_sequence,

856: THEN
857: x_bom_revision_date := l_x_flow_schedule_rec.bom_revision_date;
858: END IF;
859:
860: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.build_sequence,
861: l_flow_schedule_rec.build_sequence)
862: THEN
863: x_build_sequence := l_x_flow_schedule_rec.build_sequence;
864: END IF;

Line 866: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.class_code,

862: THEN
863: x_build_sequence := l_x_flow_schedule_rec.build_sequence;
864: END IF;
865:
866: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.class_code,
867: l_flow_schedule_rec.class_code)
868: THEN
869: x_class_code := l_x_flow_schedule_rec.class_code;
870: END IF;

Line 872: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.completion_locator_id,

868: THEN
869: x_class_code := l_x_flow_schedule_rec.class_code;
870: END IF;
871:
872: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.completion_locator_id,
873: l_flow_schedule_rec.completion_locator_id)
874: THEN
875: x_completion_locator_id := l_x_flow_schedule_rec.completion_locator_id;
876: x_completion_locator := l_flow_schedule_val_rec.completion_locator;

Line 879: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.completion_subinventory,

875: x_completion_locator_id := l_x_flow_schedule_rec.completion_locator_id;
876: x_completion_locator := l_flow_schedule_val_rec.completion_locator;
877: END IF;
878:
879: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.completion_subinventory,
880: l_flow_schedule_rec.completion_subinventory)
881: THEN
882: x_completion_subinventory := l_x_flow_schedule_rec.completion_subinventory;
883: END IF;

Line 885: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.date_closed,

881: THEN
882: x_completion_subinventory := l_x_flow_schedule_rec.completion_subinventory;
883: END IF;
884:
885: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.date_closed,
886: l_flow_schedule_rec.date_closed)
887: THEN
888: x_date_closed := l_x_flow_schedule_rec.date_closed;
889: END IF;

Line 891: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.demand_class,

887: THEN
888: x_date_closed := l_x_flow_schedule_rec.date_closed;
889: END IF;
890:
891: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.demand_class,
892: l_flow_schedule_rec.demand_class)
893: THEN
894: x_demand_class := l_x_flow_schedule_rec.demand_class;
895: END IF;

Line 897: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.demand_source_delivery,

893: THEN
894: x_demand_class := l_x_flow_schedule_rec.demand_class;
895: END IF;
896:
897: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.demand_source_delivery,
898: l_flow_schedule_rec.demand_source_delivery)
899: THEN
900: x_demand_source_delivery := l_x_flow_schedule_rec.demand_source_delivery;
901: END IF;

Line 903: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.demand_source_header_id,

899: THEN
900: x_demand_source_delivery := l_x_flow_schedule_rec.demand_source_delivery;
901: END IF;
902:
903: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.demand_source_header_id,
904: l_flow_schedule_rec.demand_source_header_id)
905: THEN
906: x_demand_source_header_id := l_x_flow_schedule_rec.demand_source_header_id;
907: END IF;

Line 909: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.demand_source_line,

905: THEN
906: x_demand_source_header_id := l_x_flow_schedule_rec.demand_source_header_id;
907: END IF;
908:
909: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.demand_source_line,
910: l_flow_schedule_rec.demand_source_line)
911: THEN
912: x_demand_source_line := l_x_flow_schedule_rec.demand_source_line;
913: END IF;

Line 915: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.demand_source_type,

911: THEN
912: x_demand_source_line := l_x_flow_schedule_rec.demand_source_line;
913: END IF;
914:
915: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.demand_source_type,
916: l_flow_schedule_rec.demand_source_type)
917: THEN
918: x_demand_source_type := l_x_flow_schedule_rec.demand_source_type;
919: END IF;

Line 921: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.line_id,

917: THEN
918: x_demand_source_type := l_x_flow_schedule_rec.demand_source_type;
919: END IF;
920:
921: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.line_id,
922: l_flow_schedule_rec.line_id)
923: THEN
924: x_line_id := l_x_flow_schedule_rec.line_id;
925: x_line := l_flow_schedule_val_rec.line;

Line 928: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.material_account,

924: x_line_id := l_x_flow_schedule_rec.line_id;
925: x_line := l_flow_schedule_val_rec.line;
926: END IF;
927:
928: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.material_account,
929: l_flow_schedule_rec.material_account)
930: THEN
931: x_material_account := l_x_flow_schedule_rec.material_account;
932: END IF;

Line 934: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.material_overhead_account,

930: THEN
931: x_material_account := l_x_flow_schedule_rec.material_account;
932: END IF;
933:
934: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.material_overhead_account,
935: l_flow_schedule_rec.material_overhead_account)
936: THEN
937: x_material_overhead_account := l_x_flow_schedule_rec.material_overhead_account;
938: END IF;

Line 940: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.material_variance_account,

936: THEN
937: x_material_overhead_account := l_x_flow_schedule_rec.material_overhead_account;
938: END IF;
939:
940: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.material_variance_account,
941: l_flow_schedule_rec.material_variance_account)
942: THEN
943: x_material_variance_account := l_x_flow_schedule_rec.material_variance_account;
944: END IF;

Line 946: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.mps_net_quantity,

942: THEN
943: x_material_variance_account := l_x_flow_schedule_rec.material_variance_account;
944: END IF;
945:
946: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.mps_net_quantity,
947: l_flow_schedule_rec.mps_net_quantity)
948: THEN
949: x_mps_net_quantity := l_x_flow_schedule_rec.mps_net_quantity;
950: END IF;

Line 952: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.mps_scheduled_comp_date,

948: THEN
949: x_mps_net_quantity := l_x_flow_schedule_rec.mps_net_quantity;
950: END IF;
951:
952: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.mps_scheduled_comp_date,
953: l_flow_schedule_rec.mps_scheduled_comp_date)
954: THEN
955: x_mps_scheduled_comp_date := l_x_flow_schedule_rec.mps_scheduled_comp_date;
956: END IF;

Line 958: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.organization_id,

954: THEN
955: x_mps_scheduled_comp_date := l_x_flow_schedule_rec.mps_scheduled_comp_date;
956: END IF;
957:
958: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.organization_id,
959: l_flow_schedule_rec.organization_id)
960: THEN
961: x_organization_id := l_x_flow_schedule_rec.organization_id;
962: x_organization := l_flow_schedule_val_rec.organization;

Line 965: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.outside_processing_acct,

961: x_organization_id := l_x_flow_schedule_rec.organization_id;
962: x_organization := l_flow_schedule_val_rec.organization;
963: END IF;
964:
965: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.outside_processing_acct,
966: l_flow_schedule_rec.outside_processing_acct)
967: THEN
968: x_outside_processing_acct := l_x_flow_schedule_rec.outside_processing_acct;
969: END IF;

Line 971: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.outside_proc_var_acct,

967: THEN
968: x_outside_processing_acct := l_x_flow_schedule_rec.outside_processing_acct;
969: END IF;
970:
971: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.outside_proc_var_acct,
972: l_flow_schedule_rec.outside_proc_var_acct)
973: THEN
974: x_outside_proc_var_acct := l_x_flow_schedule_rec.outside_proc_var_acct;
975: END IF;

Line 977: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.overhead_account,

973: THEN
974: x_outside_proc_var_acct := l_x_flow_schedule_rec.outside_proc_var_acct;
975: END IF;
976:
977: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.overhead_account,
978: l_flow_schedule_rec.overhead_account)
979: THEN
980: x_overhead_account := l_x_flow_schedule_rec.overhead_account;
981: END IF;

Line 983: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.overhead_variance_account,

979: THEN
980: x_overhead_account := l_x_flow_schedule_rec.overhead_account;
981: END IF;
982:
983: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.overhead_variance_account,
984: l_flow_schedule_rec.overhead_variance_account)
985: THEN
986: x_overhead_variance_account := l_x_flow_schedule_rec.overhead_variance_account;
987: END IF;

Line 989: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.planned_quantity,

985: THEN
986: x_overhead_variance_account := l_x_flow_schedule_rec.overhead_variance_account;
987: END IF;
988:
989: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.planned_quantity,
990: l_flow_schedule_rec.planned_quantity)
991: THEN
992: x_planned_quantity := l_x_flow_schedule_rec.planned_quantity;
993: END IF;

Line 995: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.primary_item_id,

991: THEN
992: x_planned_quantity := l_x_flow_schedule_rec.planned_quantity;
993: END IF;
994:
995: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.primary_item_id,
996: l_flow_schedule_rec.primary_item_id)
997: THEN
998: x_primary_item_id := l_x_flow_schedule_rec.primary_item_id;
999: x_primary_item := l_flow_schedule_val_rec.primary_item;

Line 1002: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.project_id,

998: x_primary_item_id := l_x_flow_schedule_rec.primary_item_id;
999: x_primary_item := l_flow_schedule_val_rec.primary_item;
1000: END IF;
1001:
1002: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.project_id,
1003: l_flow_schedule_rec.project_id)
1004: THEN
1005: x_project_id := l_x_flow_schedule_rec.project_id;
1006: x_project := l_flow_schedule_val_rec.project;

Line 1009: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.quantity_completed,

1005: x_project_id := l_x_flow_schedule_rec.project_id;
1006: x_project := l_flow_schedule_val_rec.project;
1007: END IF;
1008:
1009: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.quantity_completed,
1010: l_flow_schedule_rec.quantity_completed)
1011: THEN
1012: x_quantity_completed := l_x_flow_schedule_rec.quantity_completed;
1013: END IF;

Line 1015: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.request_id,

1011: THEN
1012: x_quantity_completed := l_x_flow_schedule_rec.quantity_completed;
1013: END IF;
1014:
1015: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.request_id,
1016: l_flow_schedule_rec.request_id)
1017: THEN
1018: x_request_id := l_x_flow_schedule_rec.request_id;
1019: END IF;

Line 1021: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.resource_account,

1017: THEN
1018: x_request_id := l_x_flow_schedule_rec.request_id;
1019: END IF;
1020:
1021: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.resource_account,
1022: l_flow_schedule_rec.resource_account)
1023: THEN
1024: x_resource_account := l_x_flow_schedule_rec.resource_account;
1025: END IF;

Line 1027: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.resource_variance_account,

1023: THEN
1024: x_resource_account := l_x_flow_schedule_rec.resource_account;
1025: END IF;
1026:
1027: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.resource_variance_account,
1028: l_flow_schedule_rec.resource_variance_account)
1029: THEN
1030: x_resource_variance_account := l_x_flow_schedule_rec.resource_variance_account;
1031: END IF;

Line 1033: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.routing_revision,

1029: THEN
1030: x_resource_variance_account := l_x_flow_schedule_rec.resource_variance_account;
1031: END IF;
1032:
1033: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.routing_revision,
1034: l_flow_schedule_rec.routing_revision)
1035: THEN
1036: x_routing_revision := l_x_flow_schedule_rec.routing_revision;
1037: END IF;

Line 1039: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.routing_revision_date,

1035: THEN
1036: x_routing_revision := l_x_flow_schedule_rec.routing_revision;
1037: END IF;
1038:
1039: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.routing_revision_date,
1040: l_flow_schedule_rec.routing_revision_date)
1041: THEN
1042: x_routing_revision_date := l_x_flow_schedule_rec.routing_revision_date;
1043: END IF;

Line 1045: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.scheduled_completion_date,

1041: THEN
1042: x_routing_revision_date := l_x_flow_schedule_rec.routing_revision_date;
1043: END IF;
1044:
1045: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.scheduled_completion_date,
1046: l_flow_schedule_rec.scheduled_completion_date)
1047: THEN
1048: x_scheduled_completion_date := l_x_flow_schedule_rec.scheduled_completion_date;
1049: END IF;

Line 1051: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.scheduled_flag,

1047: THEN
1048: x_scheduled_completion_date := l_x_flow_schedule_rec.scheduled_completion_date;
1049: END IF;
1050:
1051: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.scheduled_flag,
1052: l_flow_schedule_rec.scheduled_flag)
1053: THEN
1054: x_scheduled_flag := l_x_flow_schedule_rec.scheduled_flag;
1055: END IF;

Line 1057: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.scheduled_start_date,

1053: THEN
1054: x_scheduled_flag := l_x_flow_schedule_rec.scheduled_flag;
1055: END IF;
1056:
1057: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.scheduled_start_date,
1058: l_flow_schedule_rec.scheduled_start_date)
1059: THEN
1060: x_scheduled_start_date := l_x_flow_schedule_rec.scheduled_start_date;
1061: END IF;

Line 1063: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.schedule_group_id,

1059: THEN
1060: x_scheduled_start_date := l_x_flow_schedule_rec.scheduled_start_date;
1061: END IF;
1062:
1063: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.schedule_group_id,
1064: l_flow_schedule_rec.schedule_group_id)
1065: THEN
1066: x_schedule_group_id := l_x_flow_schedule_rec.schedule_group_id;
1067: x_schedule_group := l_flow_schedule_val_rec.schedule_group;

Line 1070: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.schedule_number,

1066: x_schedule_group_id := l_x_flow_schedule_rec.schedule_group_id;
1067: x_schedule_group := l_flow_schedule_val_rec.schedule_group;
1068: END IF;
1069:
1070: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.schedule_number,
1071: l_flow_schedule_rec.schedule_number)
1072: THEN
1073: x_schedule_number := l_x_flow_schedule_rec.schedule_number;
1074: END IF;

Line 1076: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.status,

1072: THEN
1073: x_schedule_number := l_x_flow_schedule_rec.schedule_number;
1074: END IF;
1075:
1076: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.status,
1077: l_flow_schedule_rec.status)
1078: THEN
1079: x_status := l_x_flow_schedule_rec.status;
1080: END IF;

Line 1082: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.std_cost_adjustment_acct,

1078: THEN
1079: x_status := l_x_flow_schedule_rec.status;
1080: END IF;
1081:
1082: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.std_cost_adjustment_acct,
1083: l_flow_schedule_rec.std_cost_adjustment_acct)
1084: THEN
1085: x_std_cost_adjustment_acct := l_x_flow_schedule_rec.std_cost_adjustment_acct;
1086: END IF;

Line 1088: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.task_id,

1084: THEN
1085: x_std_cost_adjustment_acct := l_x_flow_schedule_rec.std_cost_adjustment_acct;
1086: END IF;
1087:
1088: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.task_id,
1089: l_flow_schedule_rec.task_id)
1090: THEN
1091: x_task_id := l_x_flow_schedule_rec.task_id;
1092: x_task := l_flow_schedule_val_rec.task;

Line 1095: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.wip_entity_id,

1091: x_task_id := l_x_flow_schedule_rec.task_id;
1092: x_task := l_flow_schedule_val_rec.task;
1093: END IF;
1094:
1095: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.wip_entity_id,
1096: l_flow_schedule_rec.wip_entity_id)
1097: THEN
1098: x_wip_entity_id := l_x_flow_schedule_rec.wip_entity_id;
1099: x_wip_entity := l_flow_schedule_val_rec.wip_entity;

Line 1102: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.end_item_unit_number,

1098: x_wip_entity_id := l_x_flow_schedule_rec.wip_entity_id;
1099: x_wip_entity := l_flow_schedule_val_rec.wip_entity;
1100: END IF;
1101:
1102: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.end_item_unit_number,
1103: l_flow_schedule_rec.end_item_unit_number)
1104: THEN
1105: x_end_item_unit_number := l_x_flow_schedule_rec.end_item_unit_number;
1106: END IF;

Line 1108: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.quantity_scrapped,

1104: THEN
1105: x_end_item_unit_number := l_x_flow_schedule_rec.end_item_unit_number;
1106: END IF;
1107:
1108: IF NOT MRP_GLOBALS.Equal(l_x_flow_schedule_rec.quantity_scrapped,
1109: l_flow_schedule_rec.quantity_scrapped)
1110: THEN
1111: x_quantity_scrapped := l_x_flow_schedule_rec.quantity_scrapped;
1112: END IF;

Line 1489: l_control_rec MRP_GLOBALS.Control_Rec_Type;

1485: )
1486: IS
1487: l_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
1488: l_old_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
1489: l_control_rec MRP_GLOBALS.Control_Rec_Type;
1490: l_return_status VARCHAR2(1);
1491: l_x_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
1492: BEGIN
1493:

Line 1524: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_UPDATE;

1520:
1521: -- Set Operation.
1522:
1523: IF FND_API.To_Boolean(l_flow_schedule_rec.db_flag) THEN
1524: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_UPDATE;
1525: ELSE
1526: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_CREATE;
1527: END IF;
1528:

Line 1526: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_CREATE;

1522:
1523: IF FND_API.To_Boolean(l_flow_schedule_rec.db_flag) THEN
1524: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_UPDATE;
1525: ELSE
1526: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_CREATE;
1527: END IF;
1528:
1529: -- Call MRP_Flow_Schedule_PVT.Process_flow_schedule
1530: MRP_Flow_Schedule_PVT.Process_flow_schedule

Line 1635: l_control_rec MRP_GLOBALS.Control_Rec_Type;

1631: )
1632: IS
1633: l_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
1634: l_p_old_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
1635: l_control_rec MRP_GLOBALS.Control_Rec_Type;
1636: l_return_status VARCHAR2(1);
1637: l_x_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
1638: BEGIN
1639:

Line 1664: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_DELETE;

1660: );
1661:
1662: -- Set Operation.
1663:
1664: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_DELETE;
1665:
1666: -- Call MRP_Flow_Schedule_PVT.Process_flow_schedule
1667:
1668: MRP_Flow_Schedule_PVT.Process_flow_schedule

Line 1757: l_control_rec MRP_GLOBALS.Control_Rec_Type;

1753: , x_msg_count OUT NOCOPY NUMBER
1754: , x_msg_data OUT NOCOPY VARCHAR2
1755: )
1756: IS
1757: l_control_rec MRP_GLOBALS.Control_Rec_Type;
1758: l_return_status VARCHAR2(1);
1759: l_x_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
1760: l_p_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
1761: l_p_old_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;

Line 1768: l_control_rec.process_entity := MRP_GLOBALS.G_ENTITY_FLOW_SCHEDULE;

1764: -- Set control flags.
1765:
1766: l_control_rec.controlled_operation := TRUE;
1767: l_control_rec.process := TRUE;
1768: l_control_rec.process_entity := MRP_GLOBALS.G_ENTITY_FLOW_SCHEDULE;
1769:
1770: l_control_rec.default_attributes := FALSE;
1771: l_control_rec.change_attributes := FALSE;
1772: l_control_rec.validate_entity := FALSE;

Line 1867: l_control_rec MRP_GLOBALS.Control_Rec_Type;

1863: , x_msg_count OUT NOCOPY NUMBER
1864: , x_msg_data OUT NOCOPY VARCHAR2
1865: )
1866: IS
1867: l_control_rec MRP_GLOBALS.Control_Rec_Type;
1868: l_return_status VARCHAR2(1);
1869: l_x_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
1870: l_p_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
1871: l_p_old_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;

Line 1879: l_control_rec.process_entity := MRP_GLOBALS.G_ENTITY_ALL;

1875: -- Set control flags.
1876:
1877: l_control_rec.controlled_operation := TRUE;
1878: l_control_rec.process := TRUE;
1879: l_control_rec.process_entity := MRP_GLOBALS.G_ENTITY_ALL;
1880:
1881: l_control_rec.default_attributes := FALSE;
1882: l_control_rec.change_attributes := FALSE;
1883: l_control_rec.validate_entity := FALSE;

Line 2125: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_LOCK;

2121: l_flow_schedule_rec.wip_entity_id := p_wip_entity_id;
2122: l_flow_schedule_rec.end_item_unit_number := p_end_item_unit_number;
2123: l_flow_schedule_rec.quantity_scrapped := p_quantity_scrapped;
2124:
2125: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_LOCK;
2126:
2127: -- Call MRP_Flow_Schedule_PVT.Lock_flow_schedule
2128:
2129: MRP_Flow_Schedule_PVT.Lock_flow_schedule

Line 2269: l_control_rec MRP_GLOBALS.Control_Rec_Type ;

2265:
2266: )
2267: IS
2268: l_return_status VARCHAR2(1);
2269: l_control_rec MRP_GLOBALS.Control_Rec_Type ;
2270: l_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
2271: l_x_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
2272: l_p_old_flow_schedule_rec MRP_Flow_Schedule_PVT.Flow_Schedule_PVT_Rec_Type;
2273: BEGIN

Line 2346: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_CREATE;

2342: l_flow_schedule_rec.task_id := p_task_id;
2343: l_flow_schedule_rec.wip_entity_id := p_wip_entity_id;
2344: l_flow_schedule_rec.end_item_unit_number := p_end_item_unit_number;
2345: l_flow_schedule_rec.quantity_scrapped := p_quantity_scrapped;
2346: l_flow_schedule_rec.operation := MRP_GLOBALS.G_OPR_CREATE;
2347:
2348: -- Call MRP_Flow_Schedule_PVT.Process_Flow_Schedule
2349:
2350: MRP_Flow_Schedule_PVT.Process_Flow_Schedule