I have one query i have to certain condition for posting , i have made one Boolean field (approved) and i want posting according to this here the example ,
suppose there are 5 line in Job journal in which 3 line which are approved i want to post only these 3 three line and 2 line remain there can any one help me how to achieve this.
JobJnline2.setrange(JobJnLine2.Approved,Ture);
IF JobJnline2. Findfirst then
WITH JObJnlLine
{
code from base
}
else
WITH JObJnlLine
{
code from base
}