Containers and its methods in Dynamics 365 for Finance and Operations


public void containerClasses()
    {
        container con;

        //Initialize container
        con = ["Serv001", 897, 123];

        //Insert into container
        conIns(con, 1, "Serv001");
        conIns(con, 2, 1234.80);
        conIns(con, 3, 123);

        //Retrieve the value
        conPeek(con, 1); //Serv001

        //Update container
        conPoke(con, 2, 897); //Serv001, 897, 123

        //Delete the value
        conDel(con, 2, 1); //Serv001, 123
    }