[Home] [Help]
2093: END IF;
2094: IF (
2095: -- If the GL Account is excluded using a Security Rule
2096: -- 3567612 : pass ARP_GLOBAL.chart_of_accounts_id instead of 101
2097: ( NOT fnd_flex_keyval.validate_ccid ( appl_short_name => 'SQLGL',
2098: key_flex_code => 'GL#',
2099: structure_number => ARP_GLOBAL.chart_of_accounts_id,
2100: combination_id => l_gl_account_ccid,
2101: security => 'ENFORCE'
2102: )
2103: )
2104: OR
2105: -- If the GL Account is End Dated
2106: (fnd_flex_keyval.start_date > l_dist_gl_date)
2107: OR
2108: (fnd_flex_keyval.end_date < l_dist_gl_date)
2109: /*3679531*/
2110: OR (fnd_flex_keyval.enabled_flag=FALSE)
2104: OR
2105: -- If the GL Account is End Dated
2106: (fnd_flex_keyval.start_date > l_dist_gl_date)
2107: OR
2108: (fnd_flex_keyval.end_date < l_dist_gl_date)
2109: /*3679531*/
2110: OR (fnd_flex_keyval.enabled_flag=FALSE)
2111: )
2112: THEN
2106: (fnd_flex_keyval.start_date > l_dist_gl_date)
2107: OR
2108: (fnd_flex_keyval.end_date < l_dist_gl_date)
2109: /*3679531*/
2110: OR (fnd_flex_keyval.enabled_flag=FALSE)
2111: )
2112: THEN
2113:
2114: IF PG_DEBUG in ('Y', 'C') THEN