Hi everyone,
I occasionaly create job that's why i'm not familiar with this type of error, could you please help me ?
public static void LAF_Update_Sales_Orders(Args _args)
{
SalesTable SalesTable;
int CPT;
ttsBegin ;
while select forUpdate SalesTable where
SalesTable.SettleVoucher == "Open transactions"
&& SalesTable.Salesstatus == "Open Order"
{
SalesTable.SettleVoucher = None
CPT = CPT+1;
}
ttsCommit ;
info(strfmt("fin du script LAF_Update_Sales_Orders '%1'", CPT));
}
Thanks !
*This post is locked for comments
I have the same question (0)