DBA Data[Home] [Help]

APPS.AP_INVOICE_DISTRIBUTIONS_PKG dependencies on FND_PROFILE

Line 1796: FND_PROFILE.GET('USER_ID',l_user_id);

1792:
1793: EXIT WHEN pa_related_dist_cur%NOTFOUND;
1794:
1795: -- get the user id
1796: FND_PROFILE.GET('USER_ID',l_user_id);
1797:
1798: --Added the below if for bug7014798
1799:
1800: if instr(current_calling_sequence, 'RECURR') <> 0 then

Line 4164: l_copy_line_dff_flag := NVL(fnd_profile.value('AP_COPY_INV_LINE_DFF'),'N');

4160: /* Bug 8713737 End */
4161:
4162: -- Bug 6837035 Retrieve the profile value to check if the DFF info should be
4163: -- copied onto distributions for imported lines.
4164: l_copy_line_dff_flag := NVL(fnd_profile.value('AP_COPY_INV_LINE_DFF'),'N');
4165: IF NVL(l_invoice_line_rec.line_source, 'DUMMY') <> 'IMPORTED' OR l_copy_line_dff_flag <> 'Y' THEN
4166: l_invoice_line_rec.ATTRIBUTE_CATEGORY := NULL;
4167: l_invoice_line_rec.ATTRIBUTE1 := NULL;
4168: l_invoice_line_rec.ATTRIBUTE2 := NULL;

Line 4282: FND_PROFILE.VALUE('PA_ALLOW_FLEXBUILDER_OVERRIDES');

4278: RETURN(FALSE);
4279: END IF;
4280: END IF; -- Expenditure item date is null
4281: l_pa_allows_overrides :=
4282: FND_PROFILE.VALUE('PA_ALLOW_FLEXBUILDER_OVERRIDES');
4283:
4284: -- The Import process should make the call with X_Validate_Info FALSE
4285: -- since The same validation should have been done in the Import Validation
4286:

Line 4288: user_id := to_number(FND_PROFILE.VALUE('USER_ID'));

4284: -- The Import process should make the call with X_Validate_Info FALSE
4285: -- since The same validation should have been done in the Import Validation
4286:
4287: IF (X_validate_info) then
4288: user_id := to_number(FND_PROFILE.VALUE('USER_ID'));
4289:
4290: BEGIN
4291: SELECT employee_id
4292: INTO l_employee_id

Line 5360: l_copy_line_dff_flag := NVL(fnd_profile.value('AP_COPY_INV_LINE_DFF'),'N');

5356: END;
5357: END IF; -- If calling module requested validation
5358:
5359: -- copied onto distributions for imported lines.
5360: l_copy_line_dff_flag := NVL(fnd_profile.value('AP_COPY_INV_LINE_DFF'),'N');
5361: IF NVL(l_invoice_line_rec.line_source, 'DUMMY') <> 'IMPORTED' OR l_copy_line_dff_flag <> 'Y' THEN
5362: l_invoice_line_rec.ATTRIBUTE_CATEGORY := NULL;
5363: l_invoice_line_rec.ATTRIBUTE1 := NULL;
5364: l_invoice_line_rec.ATTRIBUTE2 := NULL;

Line 6140: user_id := TO_NUMBER(FND_PROFILE.VALUE('USER_ID'));

6136: -------------------------------------------------------------------
6137: -- Step 2 - Validate PA information
6138: -------------------------------------------------------------------
6139: IF (X_project_id IS NOT NULL AND X_item_dist_project_id IS NOT NULL) then
6140: user_id := TO_NUMBER(FND_PROFILE.VALUE('USER_ID'));
6141:
6142: X_expenditure_item_date := AP_INVOICES_PKG.get_expenditure_item_date(
6143: X_invoice_id,
6144: X_invoice_date,

Line 7197: FND_PROFILE.VALUE('PA_ALLOW_FLEXBUILDER_OVERRIDES');

7193: WHERE ap.set_of_books_id = gsob.set_of_books_id
7194: AND ap.org_id = l_org_id; -- Bug 13858818
7195:
7196: l_pa_allows_overrides :=
7197: FND_PROFILE.VALUE('PA_ALLOW_FLEXBUILDER_OVERRIDES');
7198:
7199: EXCEPTION
7200: WHEN no_data_found THEN
7201: Debug_info := debug_info || ': No GL information was found';

Line 7631: l_copy_line_dff_flag := NVL(fnd_profile.value('AP_COPY_INV_LINE_DFF'),'N');

7627: ----------------------------------------------------------------------------
7628:
7629: l_dist_updated := 0; --Bug#10241241
7630: -- Bug 13841774. Start.
7631: l_copy_line_dff_flag := NVL(fnd_profile.value('AP_COPY_INV_LINE_DFF'),'N');
7632:
7633: IF (l_line_source <> 'IMPORTED' OR l_copy_line_dff_flag <> 'Y') THEN
7634: l_attribute_category := NULL ;
7635: l_attribute1 := NULL ;