DBA Data[Home] [Help]

APPS.OE_DEFAULT_LINE_PAYMENT dependencies on OE_GLOBALS

Line 35: AND l_operation = OE_GLOBALS.G_OPR_CREATE

31: l_operation := p_x_line_payment_rec.operation;
32:
33: IF (p_x_line_payment_rec.payment_number = FND_API.G_MISS_NUM
34: OR p_x_line_payment_rec.payment_number IS NULL)
35: AND l_operation = OE_GLOBALS.G_OPR_CREATE
36: THEN
37: p_x_line_payment_rec.payment_number
38: := Get_Payment_Number(p_x_line_payment_rec.header_id
39: ,p_x_line_payment_rec.line_id);

Line 54: IF l_operation = OE_GLOBALS.G_OPR_CREATE THEN

50: (p_line_payment_rec => p_old_line_payment_rec
51: ,x_rowtype_rec => l_old_line_payment_rec);
52:
53: -- For some fields, get hardcoded defaults based on the operation
54: IF l_operation = OE_GLOBALS.G_OPR_CREATE THEN
55:
56: g_line_payment_rec.payment_level_code := 'LINE';
57:
58: END IF;

Line 65: IF OE_GLOBALS.G_UI_FLAG THEN

61: -- call the default handler framework to default the missing attributes
62: --oe_debug_pub.add('g_line_payment_rec.credit_card_number...'||g_line_payment_rec.credit_card_number);
63: --oe_debug_pub.add('g_line_payment_rec.credit_card_code...'||g_line_payment_rec.credit_card_code);
64:
65: IF OE_GLOBALS.G_UI_FLAG THEN
66: oe_debug_pub.add('G ui flag True');
67: ELSE
68: oe_debug_pub.add('Gui flag false');
69: END IF;

Line 87: NOT OE_GLOBALS.Equal(p_x_line_payment_rec.trxn_extension_id,FND_API.G_MISS_NUM)

83: --other products were passing the trxn extension id alone and the
84: --other credit card attributes were set as G_MISS values. When
85: --the call comes from OM, defaulting would need to happen.
86: IF p_x_line_payment_rec.trxn_extension_id IS NOT NULL AND
87: NOT OE_GLOBALS.Equal(p_x_line_payment_rec.trxn_extension_id,FND_API.G_MISS_NUM)
88: AND NOT OE_GLOBALS.G_UI_FLAG and p_x_line_payment_rec.operation = OE_GLOBALS.G_OPR_CREATE
89: THEN
90: IF OE_GLOBALS.Equal(g_line_payment_rec.credit_Card_number,FND_API.G_MISS_CHAR) THEN --bug 5020737
91: g_line_payment_rec.credit_card_number := null;

Line 88: AND NOT OE_GLOBALS.G_UI_FLAG and p_x_line_payment_rec.operation = OE_GLOBALS.G_OPR_CREATE

84: --other credit card attributes were set as G_MISS values. When
85: --the call comes from OM, defaulting would need to happen.
86: IF p_x_line_payment_rec.trxn_extension_id IS NOT NULL AND
87: NOT OE_GLOBALS.Equal(p_x_line_payment_rec.trxn_extension_id,FND_API.G_MISS_NUM)
88: AND NOT OE_GLOBALS.G_UI_FLAG and p_x_line_payment_rec.operation = OE_GLOBALS.G_OPR_CREATE
89: THEN
90: IF OE_GLOBALS.Equal(g_line_payment_rec.credit_Card_number,FND_API.G_MISS_CHAR) THEN --bug 5020737
91: g_line_payment_rec.credit_card_number := null;
92: END IF;

Line 90: IF OE_GLOBALS.Equal(g_line_payment_rec.credit_Card_number,FND_API.G_MISS_CHAR) THEN --bug 5020737

86: IF p_x_line_payment_rec.trxn_extension_id IS NOT NULL AND
87: NOT OE_GLOBALS.Equal(p_x_line_payment_rec.trxn_extension_id,FND_API.G_MISS_NUM)
88: AND NOT OE_GLOBALS.G_UI_FLAG and p_x_line_payment_rec.operation = OE_GLOBALS.G_OPR_CREATE
89: THEN
90: IF OE_GLOBALS.Equal(g_line_payment_rec.credit_Card_number,FND_API.G_MISS_CHAR) THEN --bug 5020737
91: g_line_payment_rec.credit_card_number := null;
92: END IF;
93:
94: IF OE_GLOBALS.Equal(g_line_payment_rec.credit_card_code,FND_API.G_MISS_CHAR) THEN --bug 5020737

Line 94: IF OE_GLOBALS.Equal(g_line_payment_rec.credit_card_code,FND_API.G_MISS_CHAR) THEN --bug 5020737

90: IF OE_GLOBALS.Equal(g_line_payment_rec.credit_Card_number,FND_API.G_MISS_CHAR) THEN --bug 5020737
91: g_line_payment_rec.credit_card_number := null;
92: END IF;
93:
94: IF OE_GLOBALS.Equal(g_line_payment_rec.credit_card_code,FND_API.G_MISS_CHAR) THEN --bug 5020737
95: g_line_payment_rec.credit_card_code := null;
96: END IF;
97:
98: IF OE_GLOBALS.Equal(g_line_payment_rec.credit_card_holder_name,FND_API.G_MISS_CHAR) THEN --bug 5020737

Line 98: IF OE_GLOBALS.Equal(g_line_payment_rec.credit_card_holder_name,FND_API.G_MISS_CHAR) THEN --bug 5020737

94: IF OE_GLOBALS.Equal(g_line_payment_rec.credit_card_code,FND_API.G_MISS_CHAR) THEN --bug 5020737
95: g_line_payment_rec.credit_card_code := null;
96: END IF;
97:
98: IF OE_GLOBALS.Equal(g_line_payment_rec.credit_card_holder_name,FND_API.G_MISS_CHAR) THEN --bug 5020737
99: g_line_payment_rec.credit_card_holder_name := null;
100: END IF;
101:
102: IF OE_GLOBALS.Equal(g_line_payment_rec.credit_card_expiration_date,FND_API.G_MISS_DATE) THEN --bug 5020737

Line 102: IF OE_GLOBALS.Equal(g_line_payment_rec.credit_card_expiration_date,FND_API.G_MISS_DATE) THEN --bug 5020737

98: IF OE_GLOBALS.Equal(g_line_payment_rec.credit_card_holder_name,FND_API.G_MISS_CHAR) THEN --bug 5020737
99: g_line_payment_rec.credit_card_holder_name := null;
100: END IF;
101:
102: IF OE_GLOBALS.Equal(g_line_payment_rec.credit_card_expiration_date,FND_API.G_MISS_DATE) THEN --bug 5020737
103: g_line_payment_rec.credit_card_expiration_date := null;
104: END IF;
105:
106: END IF;

Line 135: l_org_id := OE_GLOBALS.G_ORG_ID;

131: (p_x_line_Payment_rec);
132:
133: /* code change for defer_payment_processing_flag */
134:
135: l_org_id := OE_GLOBALS.G_ORG_ID;
136: l_payment_type_code := p_x_line_Payment_rec.payment_type_code;
137: l_old_payment_type_code := p_old_line_Payment_rec.payment_type_code;
138:
139: if l_org_id is null then

Line 140: OE_GLOBALS.Set_Context;

136: l_payment_type_code := p_x_line_Payment_rec.payment_type_code;
137: l_old_payment_type_code := p_old_line_Payment_rec.payment_type_code;
138:
139: if l_org_id is null then
140: OE_GLOBALS.Set_Context;
141: l_org_id := OE_GLOBALS.G_ORG_ID;
142: end if;
143:
144: Begin

Line 141: l_org_id := OE_GLOBALS.G_ORG_ID;

137: l_old_payment_type_code := p_old_line_Payment_rec.payment_type_code;
138:
139: if l_org_id is null then
140: OE_GLOBALS.Set_Context;
141: l_org_id := OE_GLOBALS.G_ORG_ID;
142: end if;
143:
144: Begin
145: --bug3504713 commenting the following condition and adding a new condition

Line 147: if NOT OE_GLOBALS.EQUAL(l_payment_type_code,l_old_payment_type_code)

143:
144: Begin
145: --bug3504713 commenting the following condition and adding a new condition
146: -- if p_x_line_Payment_rec.defer_payment_processing_flag is null
147: if NOT OE_GLOBALS.EQUAL(l_payment_type_code,l_old_payment_type_code)
148: and l_payment_type_code is not null
149: and (
150: (OE_GLOBALS.EQUAL(p_x_line_Payment_rec.defer_payment_processing_flag,
151: p_old_line_Payment_rec.defer_payment_processing_flag)

Line 150: (OE_GLOBALS.EQUAL(p_x_line_Payment_rec.defer_payment_processing_flag,

146: -- if p_x_line_Payment_rec.defer_payment_processing_flag is null
147: if NOT OE_GLOBALS.EQUAL(l_payment_type_code,l_old_payment_type_code)
148: and l_payment_type_code is not null
149: and (
150: (OE_GLOBALS.EQUAL(p_x_line_Payment_rec.defer_payment_processing_flag,
151: p_old_line_Payment_rec.defer_payment_processing_flag)
152: and p_x_line_Payment_rec.operation = OE_GLOBALS.G_OPR_UPDATE)
153: or (nvl(p_x_line_Payment_rec.defer_payment_processing_flag,
154: FND_API.G_MISS_CHAR) = FND_API.G_MISS_CHAR

Line 152: and p_x_line_Payment_rec.operation = OE_GLOBALS.G_OPR_UPDATE)

148: and l_payment_type_code is not null
149: and (
150: (OE_GLOBALS.EQUAL(p_x_line_Payment_rec.defer_payment_processing_flag,
151: p_old_line_Payment_rec.defer_payment_processing_flag)
152: and p_x_line_Payment_rec.operation = OE_GLOBALS.G_OPR_UPDATE)
153: or (nvl(p_x_line_Payment_rec.defer_payment_processing_flag,
154: FND_API.G_MISS_CHAR) = FND_API.G_MISS_CHAR
155: and p_x_line_Payment_rec.operation = OE_GLOBALS.G_OPR_CREATE)
156: or

Line 155: and p_x_line_Payment_rec.operation = OE_GLOBALS.G_OPR_CREATE)

151: p_old_line_Payment_rec.defer_payment_processing_flag)
152: and p_x_line_Payment_rec.operation = OE_GLOBALS.G_OPR_UPDATE)
153: or (nvl(p_x_line_Payment_rec.defer_payment_processing_flag,
154: FND_API.G_MISS_CHAR) = FND_API.G_MISS_CHAR
155: and p_x_line_Payment_rec.operation = OE_GLOBALS.G_OPR_CREATE)
156: or
157: (nvl(p_old_line_Payment_rec.defer_payment_processing_flag,
158: FND_API.G_MISS_CHAR) <> FND_API.G_MISS_CHAR
159: and p_x_line_Payment_rec.operation = OE_GLOBALS.G_OPR_CREATE)

Line 159: and p_x_line_Payment_rec.operation = OE_GLOBALS.G_OPR_CREATE)

155: and p_x_line_Payment_rec.operation = OE_GLOBALS.G_OPR_CREATE)
156: or
157: (nvl(p_old_line_Payment_rec.defer_payment_processing_flag,
158: FND_API.G_MISS_CHAR) <> FND_API.G_MISS_CHAR
159: and p_x_line_Payment_rec.operation = OE_GLOBALS.G_OPR_CREATE)
160: )
161: then
162:
163: --bug3504713 setting the defer_payment_processing_flag to null if payment_type_code is 'COMMITMENT'