DBA Data[Home] [Help]

APPS.RLM_MANAGE_DEMAND_SV dependencies on RLM_TPA_SV

Line 78: RLM_TPA_SV.CUMToDiscrete(x_Sched_rec, x_Group_rec);

74: CallSetups(x_Sched_rec,x_Group_rec);
75: --
76: PopulateCUMRec(x_Sched_rec, x_Group_rec);
77: --
78: RLM_TPA_SV.CUMToDiscrete(x_Sched_rec, x_Group_rec);
79: --
80: RLM_TPA_SV.ApplySourceRules(x_Sched_rec,x_Group_rec,
81: v_SourcedDemand_Tab,v_Source_Tab);
82: --

Line 80: RLM_TPA_SV.ApplySourceRules(x_Sched_rec,x_Group_rec,

76: PopulateCUMRec(x_Sched_rec, x_Group_rec);
77: --
78: RLM_TPA_SV.CUMToDiscrete(x_Sched_rec, x_Group_rec);
79: --
80: RLM_TPA_SV.ApplySourceRules(x_Sched_rec,x_Group_rec,
81: v_SourcedDemand_Tab,v_Source_Tab);
82: --
83: ProcessTable(g_ManageDemand_Tab);
84: --

Line 100: g_AllIntransitQty := RLM_TPA_SV.GetAllIntransitQty(x_Sched_rec,x_Group_rec);

96: IF x_Group_rec.setup_terms_rec.cum_org_level_code IN
97: ('SHIP_TO_ALL_SHIP_FROMS', 'BILL_TO_ALL_SHIP_FROMS',
98: 'DELIVER_TO_ALL_SHIP_FROMS') THEN
99: --
100: g_AllIntransitQty := RLM_TPA_SV.GetAllIntransitQty(x_Sched_rec,x_Group_rec);
101: --
102: END IF;
103: --
104: */

Line 120: RLM_TPA_SV.InitializeMdGroup(x_Sched_rec, v_SrcGroup_ref, x_Group_rec);

116: -- which belong to a different group
117: --
118: IF x_Group_rec.IsSourced THEN
119: --
120: RLM_TPA_SV.InitializeMdGroup(x_Sched_rec, v_SrcGroup_ref, x_Group_rec);
121: --
122: WHILE FetchGroup(v_SrcGroup_ref, v_SrcGroup_rec) LOOP
123: --
124: IF NOT LockLines(x_Sched_rec.header_id,v_SrcGroup_rec) AND

Line 135: RLM_TPA_SV.DeriveRSO(x_Sched_rec, v_SrcGroup_rec, l_ReturnStatus);

131: ManageGroupDemand(x_Sched_rec, v_SrcGroup_rec, x_ReturnStatus);
132: --
133: IF v_SrcGroup_rec.blanket_number IS NOT NULL THEN
134: --
135: RLM_TPA_SV.DeriveRSO(x_Sched_rec, v_SrcGroup_rec, l_ReturnStatus);
136: --
137: IF (l_debug <> -1) THEN
138: rlm_core_sv.dlog(C_DEBUG, 'DeriveRSO return status', l_ReturnStatus);
139: END IF;

Line 161: RLM_TPA_SV.DeriveRSO(x_Sched_rec, x_Group_rec, l_ReturnStatus);

157: ManageGroupDemand(x_Sched_rec, x_Group_rec, x_ReturnStatus);
158: --
159: IF x_Group_rec.blanket_number IS NOT NULL THEN
160: --
161: RLM_TPA_SV.DeriveRSO(x_Sched_rec, x_Group_rec, l_ReturnStatus);
162: --
163: IF (l_debug <> -1) THEN
164: rlm_core_sv.dlog(C_DEBUG, 'DeriveRSO return status', l_ReturnStatus);
165: END IF;

Line 275: RLM_TPA_SV.UOMConversion(x_Group_rec);

271: PopulateMD(x_Sched_rec, x_Group_rec);
272: --
273: IF g_ManageDemand_tab.COUNT > 0 THEN
274: --
275: RLM_TPA_SV.UOMConversion(x_Group_rec);
276:
277: IF(UPPER(x_Group_rec.setup_terms_rec.intransit_calc_basis)<>'CUSTOMER_CUM') THEN
278: --
279: RLM_TPA_SV.CUMDiscrepancyCheck(x_Sched_rec, x_Group_rec);

Line 279: RLM_TPA_SV.CUMDiscrepancyCheck(x_Sched_rec, x_Group_rec);

275: RLM_TPA_SV.UOMConversion(x_Group_rec);
276:
277: IF(UPPER(x_Group_rec.setup_terms_rec.intransit_calc_basis)<>'CUSTOMER_CUM') THEN
278: --
279: RLM_TPA_SV.CUMDiscrepancyCheck(x_Sched_rec, x_Group_rec);
280: --
281: END IF;
282:
283: --RLM_TPA_SV.CUMToDiscrete(x_Sched_rec, x_Group_rec);

Line 283: --RLM_TPA_SV.CUMToDiscrete(x_Sched_rec, x_Group_rec);

279: RLM_TPA_SV.CUMDiscrepancyCheck(x_Sched_rec, x_Group_rec);
280: --
281: END IF;
282:
283: --RLM_TPA_SV.CUMToDiscrete(x_Sched_rec, x_Group_rec);
284: --
285: RLM_TPA_SV.CalculateShipDate(x_Sched_rec,x_Group_rec);
286: --
287: IsLineProcessed := FALSE;

Line 285: RLM_TPA_SV.CalculateShipDate(x_Sched_rec,x_Group_rec);

281: END IF;
282:
283: --RLM_TPA_SV.CUMToDiscrete(x_Sched_rec, x_Group_rec);
284: --
285: RLM_TPA_SV.CalculateShipDate(x_Sched_rec,x_Group_rec);
286: --
287: IsLineProcessed := FALSE;
288: RLM_TPA_SV.ApplyFFFFences(x_Sched_rec, x_Group_rec, IsLineProcessed);
289: --

Line 288: RLM_TPA_SV.ApplyFFFFences(x_Sched_rec, x_Group_rec, IsLineProcessed);

284: --
285: RLM_TPA_SV.CalculateShipDate(x_Sched_rec,x_Group_rec);
286: --
287: IsLineProcessed := FALSE;
288: RLM_TPA_SV.ApplyFFFFences(x_Sched_rec, x_Group_rec, IsLineProcessed);
289: --
290: IF x_Sched_rec.Schedule_type <> k_SEQUENCED THEN
291: --
292: --performance changes

Line 295: RLM_TPA_SV.RoundStandardPack(x_Sched_rec,x_Group_rec);

291: --
292: --performance changes
293: SortDemand;
294: AggregateDemand(x_Group_rec);
295: RLM_TPA_SV.RoundStandardPack(x_Sched_rec,x_Group_rec);
296: --
297: END IF;
298: --
299: ProcessTable(g_ManageDemand_Tab);

Line 919: RLM_TPA_SV.CalculateCumKey(v_cum_key_record,v_cum_record);

915: v_cum_key_record.create_cum_key_flag);
916: rlm_core_sv.dlog(C_DEBUG,'call cum api for calculate cum key');
917: END IF;
918: --
919: RLM_TPA_SV.CalculateCumKey(v_cum_key_record,v_cum_record);
920: --
921: IF (l_debug <> -1) THEN
922: rlm_core_sv.dlog(C_DEBUG,'v_cum_record.record_return_status',
923: v_cum_record.record_return_status);

Line 991: v_Intransit := RLM_TPA_SV.CalculateIntransitQty(x_Sched_rec,

987: 'DELIVER_TO_ALL_SHIP_FROMS') THEN
988: --
989: g_count := v_Count; --Bugfix 7007638
990: --
991: v_Intransit := RLM_TPA_SV.CalculateIntransitQty(x_Sched_rec,
992: x_Group_rec);
993: IF (l_debug <> -1) THEN
994: rlm_core_sv.dlog(C_DEBUG,'v_Intransit', v_Intransit);
995: END IF;

Line 1020: g_AllIntransitQty := RLM_TPA_SV.GetIntransitAcrossOrgs(x_Sched_rec, x_Group_rec, v_cum_record.cum_key_id);

1016: ELSE
1017: --
1018: g_count := v_Count; --Bugfix 7007638
1019: --
1020: g_AllIntransitQty := RLM_TPA_SV.GetIntransitAcrossOrgs(x_Sched_rec, x_Group_rec, v_cum_record.cum_key_id);
1021: --
1022: IF (l_debug <> -1) THEN
1023: rlm_core_sv.dlog(C_DEBUG, 'g_AllIntransitQty', g_AllIntransitQty);
1024: END IF;

Line 1542: rlm_tpa_sv.CalculateCumKey(v_cum_key_record, v_cum_record);

1538: v_cum_key_record.create_cum_key_flag := 'N';
1539: --
1540: END IF; --if g_CUM_tab
1541: --
1542: rlm_tpa_sv.CalculateCumKey(v_cum_key_record, v_cum_record);
1543: --
1544: --Bugfix 7007638
1545: IF x_Group_rec.setup_terms_rec.cum_control_code IN ('CUM_BY_DATE_PO','CUM_BY_PO_ONLY') THEN
1546: rlm_message_sv.get_msg_text(

Line 1710: rlm_tpa_sv.CalculateCumKey(v_cum_key_record, v_cum_record);

1706: v_cum_key_record.customer_id:= x_Sched_rec.customer_id;
1707: --
1708: v_cum_key_record.create_cum_key_flag := 'N';
1709: --
1710: rlm_tpa_sv.CalculateCumKey(v_cum_key_record, v_cum_record);
1711: --
1712: --Bugfix 7007638
1713: IF x_Group_rec.setup_terms_rec.cum_control_code IN ('CUM_BY_DATE_PO','CUM_BY_PO_ONLY') THEN
1714: rlm_message_sv.get_msg_text(

Line 2792: RLM_TPA_SV.DeriveInventoryItemId(x_Sched_rec,

2788: x_Sched_rec,
2789: x_SourcedDemand_tab(k));
2790:
2791: --deriveinventoryitemid not a part of DeriveOrgDependentIDs
2792: RLM_TPA_SV.DeriveInventoryItemId(x_Sched_rec,
2793: x_SourcedDemand_tab(k));
2794:
2795: RLM_TPA_SV.ValidateLineDetails(
2796: v_tmpGroup_rec.setup_terms_rec,

Line 2795: RLM_TPA_SV.ValidateLineDetails(

2791: --deriveinventoryitemid not a part of DeriveOrgDependentIDs
2792: RLM_TPA_SV.DeriveInventoryItemId(x_Sched_rec,
2793: x_SourcedDemand_tab(k));
2794:
2795: RLM_TPA_SV.ValidateLineDetails(
2796: v_tmpGroup_rec.setup_terms_rec,
2797: x_Sched_rec,
2798: x_SourcedDemand_tab(k),
2799: rlm_validatedemand_sv.k_MRP_SOURCED);

Line 2988: rlm_tpa_sv.calc_scheduled_ship_date(v_Input_rec,

2984: rlm_core_sv.dlog(C_DEBUG,'use_edi_sdp_code_flag ',
2985: v_Input_rec.use_edi_sdp_code_flag);
2986: END IF;
2987: --
2988: rlm_tpa_sv.calc_scheduled_ship_date(v_Input_rec,
2989: v_Output_tab,
2990: v_message_tab,
2991: v_ReturnStatus);
2992: --

Line 6155: RLM_TPA_SV.get_setup_terms(x_Group_rec.ship_from_org_id,

6151: -- NOTE: call rla setups to populate setup info in the group rec:
6152: -- schedule precedence,match within/across strings
6153: -- firm disposition code and offset days, order header id
6154:
6155: RLM_TPA_SV.get_setup_terms(x_Group_rec.ship_from_org_id,
6156: x_Group_rec.customer_id,
6157: x_Group_rec.ship_to_address_id,
6158: x_Group_rec.customer_item_id,
6159: v_TermsLevel,

Line 7142: RLM_TPA_SV.get_setup_terms(x_Source_Tab(i).organization_id,

7138: END IF;
7139: --
7140: BEGIN
7141:
7142: RLM_TPA_SV.get_setup_terms(x_Source_Tab(i).organization_id,
7143: x_Group_rec.customer_id,
7144: x_Group_rec.ship_to_address_id,
7145: x_Group_rec.customer_item_id,
7146: v_TermsLevel,