Wednesday, 18 May 2016

SSRS : Contract Class & Debug it (parameter)

Below is the sample code to Develop the contract class.
Here I need to pass the “Date” as the parameter, based on the selected data I need to get the data.

1) [DataContractAttribute]
class SrsRDPContractIndemnity
StartDate        tillDate;

2)  [DataMemberAttribute(“Date”)]
public StartDate asOfDate(StartDate _tilldate = today())
tillDate = _tilldate;
return tillDate;

Debug the contact class: 
static void SSRS_ContractclsDEBUG(Args _args)
ProdRouteTrans  prodRouteTrans;
//ACWAPIPETotalItemProdPerMonthTmp  acwaPIPETotalItemProdPerMonthTmp;
MZK_PayrollIndemnityTmp payrollIndemnityTmp;
IndemnityRDP dataprovider = new IndemnityRDP();
SrsRDPContractIndemnity    contract    = new SrsRDPContractIndemnity();
payrollIndemnityTmp = dataProvider.getDate();

No comments:

Post a Comment

Excel data connector in AX7/D365

Excel data connector in AX7: Configuring and using the Excel Data Connector Add-in The Excel Data Connector add-in is built by usi...