Hi guys in production order list form my user face proplem .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);
ProdOrder.SETRANGE("No.","No.");
IF ProdOrder.FIND('+') THEN
ProdOrder.MARK(FALSE) ;
i make code as above to show only last record and hide any record released before it but all records show why.what is wrong in this code please help me
thanks