SAP Message UA_INV_DEBITCREDIT003 - Posting date is not within current or previous posting period

UA_INV_DEBITCREDIT003 : Posting date is not within current or previous posting period