you just extract the day of week by using
day->integer
day:=date2dwy('day no.','month no.','year no.');
if (day=6|7) then
message('Allocate The Resources');
i think this will solve your problem
for thur clarifications mail me at sudhakar@praxistechnologies.com
i am MCCP in Navision
Comments
IF NOT weekends THEN
CurrForm.Matrix.MatrixRec.SETFILTER("Period No.",'<6') ELSE
CurrForm.Matrix.MatrixRec.SETRANGE("Period No.");
the above is an example for matrix form
day->integer
day:=date2dwy('day no.','month no.','year no.');
if (day=6|7) then
message('Allocate The Resources');
i think this will solve your problem
for thur clarifications mail me at sudhakar@praxistechnologies.com
i am MCCP in Navision
regards
s.v.sudhakar
Technical Consultant
Praxis i-Technologies Pvt. Ltd.