283: | |
284: | MODIFICATION HISTORY |
285: | 23-SEP-97 Kristie Chen Created. |
286: | 17-NOV-98 Tony Ricci removed application parameter (was 1st) for |
287: | R11 changes to fnd_flex_dsc_api.delete_segment |
288: +========================================================================+
289: */
290:
291: procedure delete_segments IS
289: */
290:
291: procedure delete_segments IS
292: BEGIN
293: fnd_flex_dsc_api.set_session_mode('customer_data');
294:
295: fnd_flex_dsc_api.delete_segment('PO', 'PO_HEADERS', 'Global Data Elements', 'GEMMS Organization');
296:
297: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'QC Grade');
291: procedure delete_segments IS
292: BEGIN
293: fnd_flex_dsc_api.set_session_mode('customer_data');
294:
295: fnd_flex_dsc_api.delete_segment('PO', 'PO_HEADERS', 'Global Data Elements', 'GEMMS Organization');
296:
297: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'QC Grade');
298:
299: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'Base UOM');
293: fnd_flex_dsc_api.set_session_mode('customer_data');
294:
295: fnd_flex_dsc_api.delete_segment('PO', 'PO_HEADERS', 'Global Data Elements', 'GEMMS Organization');
296:
297: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'QC Grade');
298:
299: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'Base UOM');
300:
301: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'Base Qty');
295: fnd_flex_dsc_api.delete_segment('PO', 'PO_HEADERS', 'Global Data Elements', 'GEMMS Organization');
296:
297: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'QC Grade');
298:
299: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'Base UOM');
300:
301: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'Base Qty');
302:
303: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'Secondary UOM');
297: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'QC Grade');
298:
299: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'Base UOM');
300:
301: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'Base Qty');
302:
303: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'Secondary UOM');
304:
305: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'Secondary Qty');
299: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'Base UOM');
300:
301: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'Base Qty');
302:
303: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'Secondary UOM');
304:
305: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'Secondary Qty');
306:
307: end delete_segments;
301: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'Base Qty');
302:
303: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'Secondary UOM');
304:
305: fnd_flex_dsc_api.delete_segment('PO', 'PO_LINES', 'Global Data Elements', 'Secondary Qty');
306:
307: end delete_segments;
308:
309:
320: | |
321: | MODIFICATION HISTORY |
322: | 23-SEP-97 Kristie Chen Created. |
323: | 17-NOV-98 Tony Ricci removed application parameter (was 1st) for |
324: | R11 changes to fnd_flex_dsc_api.create_segment and |
325: | fnd_flex_dsc_api.freeze |
326: +========================================================================+ */
327:
328: procedure create_segments IS
321: | MODIFICATION HISTORY |
322: | 23-SEP-97 Kristie Chen Created. |
323: | 17-NOV-98 Tony Ricci removed application parameter (was 1st) for |
324: | R11 changes to fnd_flex_dsc_api.create_segment and |
325: | fnd_flex_dsc_api.freeze |
326: +========================================================================+ */
327:
328: procedure create_segments IS
329: BEGIN
327:
328: procedure create_segments IS
329: BEGIN
330:
331: fnd_flex_dsc_api.set_session_mode('customer_data');
332:
333: fnd_flex_dsc_api.create_segment(
334: appl_short_name => 'PO' ,
335: flexfield_name => 'PO_HEADERS',
329: BEGIN
330:
331: fnd_flex_dsc_api.set_session_mode('customer_data');
332:
333: fnd_flex_dsc_api.create_segment(
334: appl_short_name => 'PO' ,
335: flexfield_name => 'PO_HEADERS',
336: context_name => 'Global Data Elements',
337: name => 'GEMMS Organization',
353: range => NULL,
354: srw_parameter => NULL);
355:
356:
357: fnd_flex_dsc_api.create_segment(
358: appl_short_name => 'PO' ,
359: flexfield_name => 'PO_LINES',
360: context_name => 'Global Data Elements',
361: name => 'QC Grade',
378: srw_parameter => NULL);
379:
380:
381:
382: fnd_flex_dsc_api.create_segment(
383: appl_short_name => 'PO' ,
384: flexfield_name => 'PO_LINES',
385: context_name => 'Global Data Elements',
386: name => 'Base UOM',
403: srw_parameter => NULL);
404:
405:
406:
407: fnd_flex_dsc_api.create_segment(
408: appl_short_name => 'PO' ,
409: flexfield_name => 'PO_LINES',
410: context_name => 'Global Data Elements',
411: name => 'Base Qty',
430: srw_parameter => NULL);
431:
432:
433:
434: fnd_flex_dsc_api.create_segment(
435: appl_short_name => 'PO' ,
436: flexfield_name => 'PO_LINES',
437: context_name => 'Global Data Elements',
438: name => 'Secondary UOM',
455: srw_parameter => NULL);
456:
457:
458:
459: fnd_flex_dsc_api.create_segment(
460: appl_short_name => 'PO' ,
461: flexfield_name => 'PO_LINES',
462: context_name => 'Global Data Elements',
463: name => 'Secondary Qty',
480: range => NULL,
481: srw_parameter => NULL);
482:
483:
484: fnd_flex_dsc_api.freeze(
485: appl_short_name => 'PO' ,
486: flexfield_name => 'PO_HEADERS');
487:
488:
485: appl_short_name => 'PO' ,
486: flexfield_name => 'PO_HEADERS');
487:
488:
489: fnd_flex_dsc_api.freeze(
490: appl_short_name => 'PO' ,
491: flexfield_name => 'PO_LINES');
492:
493: end create_segments;