Tuesday, 13 September 2016

DOUPDATE For skipping Validations

static void DOUPDATE(Args _args)
{
    ITLLNProposal ITLLNProposal ;

    ttsBegin;

    select forUpdate ITLLNProposal

    where ITLLNProposal.ProposalNo == "Prop-Old-Open055";
    if (ITLLNProposal)
    {
       ITLLNProposal.ApprovalDate = mkDate(31,03,2015);
       ITLLNProposal.doUpdate();
        info("UPDATED");
    }

    ttsCommit;

}

No comments:

Post a Comment

POSTMAN D365

  Postman is useful to test the behavior of different OData class from/to D365FO. In this post we will see the steps to setup Postman with D...