DBA Data[Home] [Help]

APPS.PO_ENCUMBRANCE_PREPROCESSING dependencies on STANDARD

Line 114: g_doc_subtype_STANDARD CONSTANT

110: ;
111:
112:
113: -- doc subtypes
114: g_doc_subtype_STANDARD CONSTANT
115: PO_HEADERS_ALL.type_lookup_code%TYPE
116: := PO_DOCUMENT_FUNDS_PVT.g_doc_subtype_STANDARD
117: ;
118: g_doc_subtype_PLANNED CONSTANT

Line 116: := PO_DOCUMENT_FUNDS_PVT.g_doc_subtype_STANDARD

112:
113: -- doc subtypes
114: g_doc_subtype_STANDARD CONSTANT
115: PO_HEADERS_ALL.type_lookup_code%TYPE
116: := PO_DOCUMENT_FUNDS_PVT.g_doc_subtype_STANDARD
117: ;
118: g_doc_subtype_PLANNED CONSTANT
119: PO_HEADERS_ALL.type_lookup_code%TYPE
120: := PO_DOCUMENT_FUNDS_PVT.g_doc_subtype_PLANNED

Line 156: g_dist_type_STANDARD CONSTANT

152: ;
153:
154:
155: -- distribution types
156: g_dist_type_STANDARD CONSTANT
157: PO_DISTRIBUTIONS_ALL.distribution_type%TYPE
158: := PO_DOCUMENT_FUNDS_PVT.g_dist_type_STANDARD
159: ;
160: g_dist_type_PLANNED CONSTANT

Line 158: := PO_DOCUMENT_FUNDS_PVT.g_dist_type_STANDARD

154:
155: -- distribution types
156: g_dist_type_STANDARD CONSTANT
157: PO_DISTRIBUTIONS_ALL.distribution_type%TYPE
158: := PO_DOCUMENT_FUNDS_PVT.g_dist_type_STANDARD
159: ;
160: g_dist_type_PLANNED CONSTANT
161: PO_DISTRIBUTIONS_ALL.distribution_type%TYPE
162: := PO_DOCUMENT_FUNDS_PVT.g_dist_type_PLANNED

Line 520: -- STANDARD Standard PO

516: -- RELEASE
517: -- MIXED_PO_RELEASE - supported only for Adjust
518: --p_doc_subtype
519: -- The document subtype. Use the g_doc_subtype_<> variables:
520: -- STANDARD Standard PO
521: -- PLANNED Planned PO
522: -- BLANKET Blanket Release, Blanket Agreement, Global Agreement
523: -- SCHEDULED Scheduled Release
524: -- MIXED_PO_RELEASE supported only for Adjust

Line 786: IF ( p_doc_subtype IN ( g_doc_subtype_STANDARD,g_doc_subtype_BLANKET

782: PO_DEBUG.debug_var(l_log_head,l_progress,'pa encumbrance'
783: , PO_DOCUMENT_FUNDS_PVT.g_pa_encumbrance_on);
784: END IF;
785:
786: IF ( p_doc_subtype IN ( g_doc_subtype_STANDARD,g_doc_subtype_BLANKET
787: , g_doc_subtype_MIXED_PO_RELEASE)
788: AND PO_DOCUMENT_FUNDS_PVT.g_pa_encumbrance_on
789: )
790: THEN

Line 1463: ( g_dist_type_STANDARD, g_dist_type_PLANNED,

1459: -- A workaround for the warnings, as explained in the bug,
1460: -- is to drop only those distributions that are both approved
1461: -- and have prevent encumbrance flag = 'Y'.
1462: OR ( ENC.distribution_type IN
1463: ( g_dist_type_STANDARD, g_dist_type_PLANNED,
1464: g_dist_type_SCHEDULED, g_dist_type_BLANKET )
1465: AND ENC.approved_flag = 'Y'
1466: AND ( p_action = g_action_REJECT
1467: or

Line 1661: (g_dist_type_STANDARD, g_dist_type_MIXED_PO_RELEASE))

1657: -- (i.e., the org of the PO).
1658:
1659: IF (p_main_or_backing = g_MAIN
1660: AND p_distribution_type IN
1661: (g_dist_type_STANDARD, g_dist_type_MIXED_PO_RELEASE))
1662: THEN
1663:
1664: l_progress := '200';
1665: IF g_debug_stmt THEN

Line 1675: WHERE PO_DIST.distribution_type = g_dist_type_STANDARD

1671: ( SELECT GA_DIST.po_distribution_id
1672: FROM PO_DISTRIBUTIONS GA_DIST
1673: WHERE GA_DIST.po_header_id = PO_DIST.from_header_id
1674: )
1675: WHERE PO_DIST.distribution_type = g_dist_type_STANDARD
1676: AND PO_DIST.prevent_encumbrance_flag = 'N'
1677: ;
1678:
1679: l_progress := '210';

Line 2323: -- STANDARD Standard PO

2319: --p_doc_subtype
2320: -- PO_HEADERS_ALL.type_lookup_code%TYPE
2321: -- PO_RELEASES_ALL.release_type%TYPE
2322: -- The document subtype. g_doc_subtype_<>
2323: -- STANDARD Standard PO
2324: -- PLANNED Planned PO
2325: -- BLANKET Blanket Release, Blanket Agreement, Global Agreement
2326: -- SCHEDULED Scheduled Release
2327: --Testing:

Line 2362: ELSIF (p_distribution_type IN (g_dist_type_STANDARD, g_dist_type_PLANNED)) THEN

2358: x_doc_subtype := g_doc_subtype_BLANKET;
2359: ELSIF (p_distribution_type IN (g_dist_type_BLANKET, g_dist_type_SCHEDULED)) THEN
2360: x_doc_type := g_doc_type_RELEASE;
2361: x_doc_subtype := p_distribution_type;
2362: ELSIF (p_distribution_type IN (g_dist_type_STANDARD, g_dist_type_PLANNED)) THEN
2363: x_doc_type := g_doc_type_PO;
2364: x_doc_subtype := p_distribution_type;
2365: --
2366: ELSIF (p_distribution_type = g_dist_type_PREPAYMENT) THEN

Line 2368: x_doc_subtype := g_doc_subtype_STANDARD;

2364: x_doc_subtype := p_distribution_type;
2365: --
2366: ELSIF (p_distribution_type = g_dist_type_PREPAYMENT) THEN
2367: x_doc_type := g_doc_type_PO;
2368: x_doc_subtype := g_doc_subtype_STANDARD;
2369: --
2370: ELSIF (p_distribution_type = g_dist_type_MIXED_PO_RELEASE) THEN
2371: x_doc_type := g_doc_type_MIXED_PO_RELEASE;
2372: x_doc_subtype := g_doc_subtype_MIXED_PO_RELEASE;

Line 2428: -- STANDARD Standard PO

2424: -- PO
2425: -- RELEASE
2426: --p_doc_subtype
2427: -- The document subtype. g_doc_subtype_<>
2428: -- STANDARD Standard PO
2429: -- PLANNED Planned PO
2430: -- BLANKET Blanket Release, Blanket Agreement, Global Agreement
2431: -- SCHEDULED Scheduled Release
2432: -- This parameter is not checked for requisitions.

Line 2534: -- STANDARD Standard PO

2530: -- RELEASE
2531: -- MIXED_PO_RELEASE - supported only for Adjust
2532: --p_doc_subtype
2533: -- The document subtype. Use the g_doc_subtype_<> variables:
2534: -- STANDARD Standard PO
2535: -- PLANNED Planned PO
2536: -- BLANKET Blanket Release, Blanket Agreement, Global Agreement
2537: -- SCHEDULED Scheduled Release
2538: -- MIXED_PO_RELEASE supported only for Adjust

Line 3435: -- STANDARD Standard PO

3431: -- PO
3432: -- RELEASE
3433: --p_doc_subtype
3434: -- The document subtype. Use the g_doc_subtype_<> variables:
3435: -- STANDARD Standard PO
3436: -- PLANNED Planned PO
3437: -- BLANKET Blanket Release, Blanket Agreement, Global Agreement
3438: -- SCHEDULED Scheduled Release
3439: -- This parameter is not checked for requisitions.

Line 4858: IF (p_doc_subtype = g_doc_subtype_STANDARD) THEN

4854: PO_DEBUG.debug_stmt(l_log_head,l_progress,'Doc type can have backing docs');
4855: END IF;
4856:
4857: --: determine if the Std PO is a Complex Work PO
4858: IF (p_doc_subtype = g_doc_subtype_STANDARD) THEN
4859: -- There should only be 1 main doc per encumbrance trxn in the Standard PO
4860: -- Requester Change Order is the only code that calls encumbrance on multiple docs
4861: -- and they pass the subtype as MIXED_PO_RELEASE.
4862: -- Requester Change Order is not supported for Complex Work POs.

Line 4859: -- There should only be 1 main doc per encumbrance trxn in the Standard PO

4855: END IF;
4856:
4857: --: determine if the Std PO is a Complex Work PO
4858: IF (p_doc_subtype = g_doc_subtype_STANDARD) THEN
4859: -- There should only be 1 main doc per encumbrance trxn in the Standard PO
4860: -- Requester Change Order is the only code that calls encumbrance on multiple docs
4861: -- and they pass the subtype as MIXED_PO_RELEASE.
4862: -- Requester Change Order is not supported for Complex Work POs.
4863:

Line 5010: IF p_doc_subtype IN (g_doc_subtype_BLANKET, g_doc_subtype_STANDARD,

5006: -- and store this in the amt_to_encumber_func column.
5007: -- For BPAs, we need to do this before further calculations
5008: -- since the amount_to_encumber and the unencumbered_amount may
5009: -- be in different currencies, and are compared in later calculations.
5010: IF p_doc_subtype IN (g_doc_subtype_BLANKET, g_doc_subtype_STANDARD,
5011: g_doc_subtype_MIXED_PO_RELEASE)
5012: THEN
5013: round_and_convert_amounts(
5014: p_action => p_action

Line 5495: g_doc_subtype_STANDARD,

5491:
5492:
5493: -- Calculations for Backing Reqs:
5494: IF ( (p_doc_subtype IN (g_doc_subtype_PLANNED,
5495: g_doc_subtype_STANDARD,
5496: g_doc_subtype_MIXED_PO_RELEASE))
5497: OR
5498: (p_doc_type = g_doc_type_RELEASE
5499: AND p_doc_subtype = g_doc_subtype_BLANKET) ) THEN

Line 5500: -- Only PPOs, Standard POs and Blanket Releases have backing Reqs

5496: g_doc_subtype_MIXED_PO_RELEASE))
5497: OR
5498: (p_doc_type = g_doc_type_RELEASE
5499: AND p_doc_subtype = g_doc_subtype_BLANKET) ) THEN
5500: -- Only PPOs, Standard POs and Blanket Releases have backing Reqs
5501:
5502: l_progress := '010';
5503:
5504: IF (p_action <> g_action_CANCEL) THEN

Line 6050: IF p_doc_subtype IN (g_doc_subtype_STANDARD, g_doc_subtype_BLANKET,

6046: ;
6047:
6048:
6049:
6050: IF p_doc_subtype IN (g_doc_subtype_STANDARD, g_doc_subtype_BLANKET,
6051: g_doc_subtype_MIXED_PO_RELEASE) THEN
6052: -- only Std POs and Bl Releases can have backing PAs
6053: l_progress := '100';
6054: