DECLARE
CURSOR c1
IS
SELECT *
FROM temp_gl_code;
v_chart_of_accounts_id VARCHAR2 (200);
v_n_code_combination_id VARCHAR2 (200);
BEGIN
FOR i in c1
LOOP
SELECT gsob.chart_of_accounts_id -- To Get the Chart of Accounts id
INTO v_chart_of_accounts_id
FROM gl_sets_of_books gsob
WHERE gsob.set_of_books_id = fnd_profile.VALUE ('GL_SET_OF_BKS_ID');
v_n_code_combination_id :=
fnd_flex_ext.get_ccid ('SQLGL',
'GL#',
v_chart_of_accounts_id,
TO_CHAR (SYSDATE, 'YYYY/MM/DD HH24:MI:SS'),
i.CODE_COBIN
);
IF v_n_code_combination_id <> 0
THEN
DBMS_OUTPUT.put_line ('success');
ELSE
DBMS_OUTPUT.put_line ('failure');
END IF;
END LOOP;
END;
CURSOR c1
IS
SELECT *
FROM temp_gl_code;
v_chart_of_accounts_id VARCHAR2 (200);
v_n_code_combination_id VARCHAR2 (200);
BEGIN
FOR i in c1
LOOP
SELECT gsob.chart_of_accounts_id -- To Get the Chart of Accounts id
INTO v_chart_of_accounts_id
FROM gl_sets_of_books gsob
WHERE gsob.set_of_books_id = fnd_profile.VALUE ('GL_SET_OF_BKS_ID');
v_n_code_combination_id :=
fnd_flex_ext.get_ccid ('SQLGL',
'GL#',
v_chart_of_accounts_id,
TO_CHAR (SYSDATE, 'YYYY/MM/DD HH24:MI:SS'),
i.CODE_COBIN
);
IF v_n_code_combination_id <> 0
THEN
DBMS_OUTPUT.put_line ('success');
ELSE
DBMS_OUTPUT.put_line ('failure');
END IF;
END LOOP;
END;
PSEB is a well-known educational Board, for its quality of education along with a commendable academic structure. The PSEB came into existence in the year 1969 with an aim to provide a smooth learning and better career opportunities to students. PSEB 11th Class Textbooks Along with the structured syllabus, the Punjab State Board of Education also provides free pseb textbooks and other study materials to help students in their exam preparations. These textbook of PSEB play a vital role in every student’s education as they are widely used by the students as the reference study materials.
ReplyDelete