DBA Data[Home] [Help]

APPS.INV_MOVE_ORDER_PUB dependencies on INV_GLOBALS

Line 72: l_control_rec INV_GLOBALS.Control_Rec_Type;

68: , p_validation_flag IN VARCHAR2
69: ) IS
70: l_api_version_number CONSTANT NUMBER := 1.0;
71: l_api_name CONSTANT VARCHAR2(30):= 'Create_Move_Order_Header';
72: l_control_rec INV_GLOBALS.Control_Rec_Type;
73: l_return_status VARCHAR2(1);
74: l_trohdr_rec Trohdr_Rec_Type;
75: l_trolin_tbl Trolin_Tbl_Type := G_MISS_TROLIN_TBL;
76: l_trolin_val_tbl Trolin_Val_Tbl_Type := G_MISS_TROLIN_VAL_TBL;

Line 138: l_control_Rec.process_entity := INV_GLOBALS.G_ENTITY_TROHDR;

134: If l_debug = 1 THEN
135: print_debug('Validation turned on', l_api_name);
136: End If;
137: l_control_rec.controlled_operation := TRUE;
138: l_control_Rec.process_entity := INV_GLOBALS.G_ENTITY_TROHDR;
139: l_control_Rec.default_attributes := TRUE;
140: l_control_rec.change_attributes := TRUE;
141: l_control_rec.write_to_db := TRUE;
142:

Line 272: l_control_rec INV_GLOBALS.Control_Rec_Type;

268: )
269: IS
270: l_api_version_number CONSTANT NUMBER := 1.0;
271: l_api_name CONSTANT VARCHAR2(30):= 'Create_Move_Order_Lines';
272: l_control_rec INV_GLOBALS.Control_Rec_Type;
273: l_return_status VARCHAR2(1);
274: l_trohdr_rec Trohdr_Rec_Type := G_MISS_TROHDR_REC;
275: l_trohdr_val_rec Trohdr_Val_Rec_Type := G_MISS_TROHDR_VAL_REC;
276: l_trolin_tbl Trolin_Tbl_Type := p_trolin_tbl;

Line 367: --l_control_rec.process_entity := INV_GLOBALS.G_ENTITY_TROLIN;

363: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
364: RAISE FND_API.G_EXC_ERROR;
365: END IF;
366: */
367: --l_control_rec.process_entity := INV_GLOBALS.G_ENTITY_TROLIN;
368: --l_control_rec.controlled_operation := TRUE;
369: --l_control_rec.write_to_db := FND_API.to_boolean(p_commit);
370:
371: IF NVL(p_validation_flag, g_validation_yes) = g_validation_no THEN --{ Validation No

Line 1107: l_control_Rec.process_entity := INV_GLOBALS.G_ENTITY_TROLIN;

1103: END IF;
1104:
1105: ELSE --} Validation Yes
1106: l_control_rec.controlled_operation := TRUE;
1107: l_control_Rec.process_entity := INV_GLOBALS.G_ENTITY_TROLIN;
1108: l_control_Rec.default_attributes := TRUE;
1109: l_control_rec.change_attributes := TRUE;
1110: l_control_rec.write_to_db := TRUE;
1111: -- Call INV_Transfer_Order_PVT.Process_Transfer_Order

Line 1117: l_trolin_tbl(i).operation = INV_GLOBALS.G_OPR_CREATE ) then

1113: for i in 1..l_trolin_tbl.count LOOP
1114: --inv_debug.message('trolin.line_id is ' || l_trolin_tbl(l).line_id);
1115: /* to fix bug 1402677: Also we shouldn't change the operation here
1116: if( (l_trolin_tbl(i).line_id <> FND_API.G_MISS_NUM OR l_trolin_tbl(i).line_id is NULL ) AND
1117: l_trolin_tbl(i).operation = INV_GLOBALS.G_OPR_CREATE ) then
1118: l_trolin_tbl(i).operation := INV_GLOBALS.G_OPR_UPDATE;
1119: els*/
1120: if (l_trolin_tbl(i).operation = INV_GLOBALS.G_OPR_UPDATE and
1121: (l_trolin_tbl(i).line_id = FND_API.G_MISS_NUM OR

Line 1118: l_trolin_tbl(i).operation := INV_GLOBALS.G_OPR_UPDATE;

1114: --inv_debug.message('trolin.line_id is ' || l_trolin_tbl(l).line_id);
1115: /* to fix bug 1402677: Also we shouldn't change the operation here
1116: if( (l_trolin_tbl(i).line_id <> FND_API.G_MISS_NUM OR l_trolin_tbl(i).line_id is NULL ) AND
1117: l_trolin_tbl(i).operation = INV_GLOBALS.G_OPR_CREATE ) then
1118: l_trolin_tbl(i).operation := INV_GLOBALS.G_OPR_UPDATE;
1119: els*/
1120: if (l_trolin_tbl(i).operation = INV_GLOBALS.G_OPR_UPDATE and
1121: (l_trolin_tbl(i).line_id = FND_API.G_MISS_NUM OR
1122: l_trolin_tbl(i).line_id is null ) ) then

Line 1120: if (l_trolin_tbl(i).operation = INV_GLOBALS.G_OPR_UPDATE and

1116: if( (l_trolin_tbl(i).line_id <> FND_API.G_MISS_NUM OR l_trolin_tbl(i).line_id is NULL ) AND
1117: l_trolin_tbl(i).operation = INV_GLOBALS.G_OPR_CREATE ) then
1118: l_trolin_tbl(i).operation := INV_GLOBALS.G_OPR_UPDATE;
1119: els*/
1120: if (l_trolin_tbl(i).operation = INV_GLOBALS.G_OPR_UPDATE and
1121: (l_trolin_tbl(i).line_id = FND_API.G_MISS_NUM OR
1122: l_trolin_tbl(i).line_id is null ) ) then
1123: --inv_debug.message('update and no line id');
1124: fnd_message.set_name('INV', 'INV_ATTRIBUTE_REQUIRED');

Line 1312: l_control_rec INV_GLOBALS.Control_Rec_Type;

1308: )
1309: IS
1310: l_api_version_number CONSTANT NUMBER := 1.0;
1311: l_api_name CONSTANT VARCHAR2(30):= 'Process_Move_Order';
1312: l_control_rec INV_GLOBALS.Control_Rec_Type;
1313: l_return_status VARCHAR2(1);
1314: l_trohdr_rec Trohdr_Rec_Type;
1315: l_trolin_tbl Trolin_Tbl_Type;
1316: l_debug number := NVL(FND_PROFILE.VALUE('INV_DEBUG_TRACE'),0);

Line 1331: l_control_Rec.process_entity := INV_GLOBALS.G_ENTITY_ALL;

1327: THEN
1328: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1329: END IF;
1330:
1331: l_control_Rec.process_entity := INV_GLOBALS.G_ENTITY_ALL;
1332: /*
1333: -- Perform Value to Id conversion
1334: Value_To_Id
1335: ( x_return_status => l_return_status

Line 1886: l_control_rec INV_GLOBALS.Control_Rec_Type;

1882: , x_trolin_tbl IN OUT NOCOPY Trolin_Tbl_Type
1883: ) IS
1884: l_api_version_number CONSTANT NUMBER := 1.0;
1885: l_api_name CONSTANT VARCHAR2(30):= 'Update_Move_Order_line';
1886: l_control_rec INV_GLOBALS.Control_Rec_Type;
1887: l_return_status VARCHAR2(1);
1888: l_trohdr_rec Trohdr_Rec_Type := G_MISS_TROHDR_REC;
1889: l_trohdr_val_rec Trohdr_Val_Rec_Type := G_MISS_TROHDR_VAL_REC;
1890: l_trolin_tbl Trolin_Tbl_Type := p_trolin_tbl;

Line 1908: l_control_Rec.process_entity := INV_GLOBALS.G_ENTITY_TROLIN;

1904: END IF;
1905:
1906: l_control_rec.controlled_operation := TRUE;
1907: l_control_Rec.validate_entity := TRUE;
1908: l_control_Rec.process_entity := INV_GLOBALS.G_ENTITY_TROLIN;
1909: l_control_rec.write_to_db := TRUE;
1910: l_control_Rec.default_attributes := FALSE;
1911: l_control_Rec.change_attributes := FALSE;
1912: l_control_rec.process := FALSE;