Adjusting General Ledger Dates
If the GL Date in a Closed Period field for your batch source is set to Adjust and you pass a general ledger date in a 'Closed' or 'Not Opened' period for a line that does not use rules or uses the Bill in Advance rule accounting rule, AutoInvoice will adjust the general ledger date.
In addtion, if the GL Date in a Closed Period field is set to Adjust, AutoInvoice will adjust the general ledger date if you pass a line that uses the Bill in Arrears accounting rule and the general ledger date falls into a 'Closed' period.
AutoInvoice uses the following rules in the order listed when adjusting general ledger dates:
1. AutoInvoice uses the last day of the prior period, if this period has a status of 'Open'.
2. If a prior period with a status of 'Open' does not exist, AutoInvoice uses the first day of the subsequent period that has a status of 'Open'. However, if there are more than one subsequent periods with a status of 'Open', AutoInvoice cannot adjust the general ledger date, and the line is rejected.
3. If an 'Open' period does not exist, AutoInvoice uses the first day of the first subsequent period that has a status of 'Future'. If it cannot find a future period, AutoInvoice cannot adjust the general ledger date, and the line is rejected.
See Also
Determining Dates
Validating Dates
Determining Exchange Rates