groovy:getCfmUserForOrder
Callout
====================
import org.compiere.util.DB
import org.compiere.util.Env
import java.math.BigDecimal
A_Tab.setValue("審核狀態", "已確認" );
int uid =Env.getContextAsInt(A_Ctx, "#AD_User_ID");
int rid =Env.getContextAsInt(A_Ctx, "#AD_Role_ID");
if (uid==1000729 || rid==1000011)
{
A_Tab.setValue("訂單確認者_ID", new Integer(uid) );
}
result=""
沒有留言:
張貼留言