DBA Data[Home] [Help]

APPS.PA_CLIENT_EXTN_CHECK_CMT dependencies on STANDARD

Line 13: /** The below code lists all standard sqls to identify whether commitments

9: v_tmp VARCHAR2(1) := 'N';
10:
11: BEGIN
12:
13: /** The below code lists all standard sqls to identify whether commitments
14: have changed or not since the last summarization run. Customers can
15: uncomment the below code to check whether commitments have changed or not.
16: One benefit of uncommenting the below code is that customers can add hints
17: (which are suitable for the data distribution that exists in their system)

Line 20: what has been coded inside the standard Oracle Projects function

16: One benefit of uncommenting the below code is that customers can add hints
17: (which are suitable for the data distribution that exists in their system)
18: to the below sqls which will make the Summarization process much faster.
19: The default code which is written below inside comments is simlar to
20: what has been coded inside the standard Oracle Projects function
21: PA_CHECK_COMMITMENTS.COMMITMENTS_CHANGED. If customer uncomments the below
22: code then the same code in PA_CHECK_COMMITMENTS.COMMITMENTS_CHANGED
23: will not get executed again ensuring that performance is not hit.
24:

Line 32: from this procedure then the code in standard Oracle Projects function

28: This function should be able to determine whether the user defined
29: commitments have changed from the last summarization run or not.
30: If the commitments have changed, then the function should return
31: Y, else it should return S indicating STOP. If customers return 'N'
32: from this procedure then the code in standard Oracle Projects function
33: PA_CHECK_COMMITMENTS.COMMITMENTS_CHANGED will also get executed.
34: So for users who are going to uncomment the below code it is not
35: recommended to return 'N' from this function.
36:

Line 40: depending on the output of the sqls coded inside standard Oracle Projects function

36:
37: If Y is returned, then the summarization process would rebuild the
38: commitments, if S is returned then it will not rebuild the
39: commitments and if N is returned then it may or may not rebuild the commitments
40: depending on the output of the sqls coded inside standard Oracle Projects function
41: PA_CHECK_COMMITMENTS.COMMITMENTS_CHANGED. **/
42:
43: v_tmp := 'N';
44:

Line 194: AND PLL.SHIPMENT_TYPE IN ('STANDARD','BLANKET','SCHEDULED')

190: BETWEEN NVL(REQ.EFFECTIVE_START_DATE,TRUNC(SYSDATE))
191: AND NVL(REQ.EFFECTIVE_END_DATE,TRUNC(SYSDATE))
192: AND NVL(POH.CLOSED_CODE,'OPEN') NOT IN ('CLOSED','FINALLY CLOSED')
193: AND NVL(PLL.CLOSED_CODE,'OPEN') NOT IN ('CLOSED','FINALLY CLOSED')
194: AND PLL.SHIPMENT_TYPE IN ('STANDARD','BLANKET','SCHEDULED')
195: AND POH.TYPE_LOOKUP_CODE IN ('STANDARD','BLANKET','PLANNED')
196: AND POH.TYPE_LOOKUP_CODE = PDT.DOCUMENT_SUBTYPE
197: AND PDT.DOCUMENT_TYPE_CODE IN ('PO','PA')
198: AND PLL.PO_RELEASE_ID = POR.PO_RELEASE_ID(+)

Line 195: AND POH.TYPE_LOOKUP_CODE IN ('STANDARD','BLANKET','PLANNED')

191: AND NVL(REQ.EFFECTIVE_END_DATE,TRUNC(SYSDATE))
192: AND NVL(POH.CLOSED_CODE,'OPEN') NOT IN ('CLOSED','FINALLY CLOSED')
193: AND NVL(PLL.CLOSED_CODE,'OPEN') NOT IN ('CLOSED','FINALLY CLOSED')
194: AND PLL.SHIPMENT_TYPE IN ('STANDARD','BLANKET','SCHEDULED')
195: AND POH.TYPE_LOOKUP_CODE IN ('STANDARD','BLANKET','PLANNED')
196: AND POH.TYPE_LOOKUP_CODE = PDT.DOCUMENT_SUBTYPE
197: AND PDT.DOCUMENT_TYPE_CODE IN ('PO','PA')
198: AND PLL.PO_RELEASE_ID = POR.PO_RELEASE_ID(+)
199: AND NVL(POH.CANCEL_FLAG,'N') = 'N'

Line 278: AND PLL.SHIPMENT_TYPE IN ('STANDARD','BLANKET','SCHEDULED')

274: BETWEEN NVL(REQ.EFFECTIVE_START_DATE,TRUNC(SYSDATE))
275: AND NVL(REQ.EFFECTIVE_END_DATE,TRUNC(SYSDATE))
276: AND NVL(POH.CLOSED_CODE,'OPEN') NOT IN ('CLOSED','FINALLY CLOSED')
277: AND NVL(PLL.CLOSED_CODE,'OPEN') NOT IN ('CLOSED','FINALLY CLOSED')
278: AND PLL.SHIPMENT_TYPE IN ('STANDARD','BLANKET','SCHEDULED')
279: AND POH.TYPE_LOOKUP_CODE IN ('STANDARD','BLANKET','PLANNED')
280: AND POH.TYPE_LOOKUP_CODE = PDT.DOCUMENT_SUBTYPE
281: AND PDT.DOCUMENT_TYPE_CODE IN ('PO','PA')
282: AND PLL.PO_RELEASE_ID = POR.PO_RELEASE_ID(+)

Line 279: AND POH.TYPE_LOOKUP_CODE IN ('STANDARD','BLANKET','PLANNED')

275: AND NVL(REQ.EFFECTIVE_END_DATE,TRUNC(SYSDATE))
276: AND NVL(POH.CLOSED_CODE,'OPEN') NOT IN ('CLOSED','FINALLY CLOSED')
277: AND NVL(PLL.CLOSED_CODE,'OPEN') NOT IN ('CLOSED','FINALLY CLOSED')
278: AND PLL.SHIPMENT_TYPE IN ('STANDARD','BLANKET','SCHEDULED')
279: AND POH.TYPE_LOOKUP_CODE IN ('STANDARD','BLANKET','PLANNED')
280: AND POH.TYPE_LOOKUP_CODE = PDT.DOCUMENT_SUBTYPE
281: AND PDT.DOCUMENT_TYPE_CODE IN ('PO','PA')
282: AND PLL.PO_RELEASE_ID = POR.PO_RELEASE_ID(+)
283: AND NVL(POH.CANCEL_FLAG,'N') = 'N'