Quantcast
Channel: Microsoft Dynamics NAV
Viewing all articles
Browse latest Browse all 65770

Forum Post: show only last record released production order without finish it

$
0
0

Hi guys in production order list form my user face problem .released productions order is more and show when he make consumption to material from consumption journal(Manufacturing - execution-consumption journal- function -calc consumption-No-Production Order List) it show all released production order. so that i decided to hide all exception last one.

because it some times it select wrong released order and this make problem for  dynamic in my company.

so that in form of production order list  in open form trigger i write this code but not affect


ProdOrder.RESET;
ProdOrder.SETRANGE(Status,ProdOrder.Status::Released);
IF ProdOrder.FIND('+') THEN
ProdOrder.MARK(FALSE) ;

ProdOrder is global variable as record from table production order table.and you can hide this by finish released order but i dont need this solution.

i make code as above to show only last record of released production order and hide any record released before it show to me all records why.what is wrong in this code what i need is last record released order show only.

please help me

thanks


Viewing all articles
Browse latest Browse all 65770

Trending Articles