If you did not have run the Fiscal year close process then you can write the Job to update the status of period to open. We can update the fiscal Period Status via Job
static void LedgerPeriodStatusUpdate(Args _args)
{
LedgerFiscalCalendarPeriod period;
ttsBegin;
select forupdate period
where period.FiscalCalendarPeriod==5637155104;// (RecID of the Period Status which you want to modify)
if(period)
{
period.Status=FiscalPeriodStatus::Open;
period.update();
info("Done");
}
ttsCommit;
}
No comments:
Post a Comment