Thursday, June 25, 2015

code for inserting 10 records at a time with auto increment via job in a table

static void shiv_autoincrement(Args _args)
{
    auto_s auto; //table declaration
    int i ;
    ;
     for(i=0;i<=10;i++)

    {
        auto.Autoid=i; //inserting “i” value to the field “Autoid”
        auto.insert();
        info("inserted");
    }


}




No comments:

Post a Comment

Export a copy of the standard user acceptance testing (UAT) database

 Reference link: Export a copy of the standard user acceptance testing (UAT) database - Finance & Operations | Dynamics 365 | Microsoft ...