Friday, May 23, 2014

Job Code to Test Dp class (Process report) input from Contract Class...

// Job Code to Test Dp class from input Contract Class... Testing... And change a Temp table to Regular table while testing in job

static void DPClassTest(Args _args)
{
    //initialize contract
    CustContract cont = new    CustContract();
    CustDP        dp  = new     CustDP();
    //fill the contract
    cont.parmRecId(5637144576);
    //pass the contract
    dp.parmDataContract(cont);
    //fill the table
    dp.processReport();
}

No comments:

Post a Comment

Disabling the flight in D365FO (CHD - Tier 1)

 INSERT INTO dbo.SYSFLIGHTING(FLIGHTNAME, ENABLED)  VALUES ('<FlightObjectName>_KillSwitch', 1)  or  INSERT INTO dbo.SYSFLIGHT...