RULE_START_DATE overrides GL_DATE in AR_INVOICE_API_PUB.CREATE_SINGLE_INVOICE .
we are trying to create invoices using CREATE_SINGLE_INVOICE api,but we find that RULE_START_DATE always overrides the GL_DATE in AR_INVOICE_API_PUB.CREATE_SINGLE_INVOICE .
This is happening despite the fact that we have hardcoded gl_date to be SYSDATE
l_trx_header_tbl(1).gl_date := trunc(sysdate);
earlier when we were not passing the rule_start_date, the gl_date was defaulting always to SYSDATE.
But now we have started passing a value for rule_start_date and now the gl_date takes the rule_start_date value.
Is this normal ?