Oct 4, 2016

(Sample) exist method in X++ (X++ exist 메소드 샘플)

public static boolean exist(VendAccount _vendAccount )
{
    boolean found;
    ;
    found = (select firstonly
                 RecId
            from
                 vendTable
             where
                 vendTable.AccountNum == _vendAccount).RecId != 0;
    return found;
}

No comments:

Post a Comment