Recently I faced an issue where Only one specific PR, which has completed the workflow approval cycle; showas the status as ‘Approved’ but still not coming on Release Approve Purchase Requisitions form. During research I found lot of things to check listed like.
1. The green color flag against the PR is missing that could be the reason
2. Purchase Requisition with corresponding “source document ” has incorrect status
Tables>Purchreqline > select the record>copy the value in “source document line” field
tables>source document line> select specific source document line and change the status to “completed”
3. Batch group blank has a selected batch server ?
go to System administration> Setup > Batch Group
Click on the blank batch group then select the batch server tab.
There needs to be a server name selected on the batch server tab
I checked all these specific setting even I created a small job to verify with the form required query.
static void Job44(Args _args)
{
PurchReqLine PurchReqLine;
PurchReqLine = PurchReqLine::find(5637312081);
info(strFmt(“%1, %2, %3, %4, %5, %6″,PurchReqLine.PurchLineCreated,
PurchReqLine.RequisitionStatus, PurchReqLine.IsPreEncumbranceRequired,
PurchReqLine.IsPurchaseOrderGenerationManual, PurchReqLine.RequisitionPurpose,
SourceDocumentLine::find(PurchReqLine.SourceDocumentLine).AccountingStatus));
}
Later I found a work around from Microsoft that on specific Purchase Requisition and on the Financial tab click button Reserve budget funds. This should bring your PR to Release approve PRs form to further process.
this community link help me also in solving this problem.
https://community.dynamics.com/ax/f/33/t/78293.aspx#.Uae6PZyKySp
Happy Daxing
