Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Monday, June 8, 2015

How to get the particular field value( not as dataset field) in SSRS

Hi,

 Add the below expression with your textbox name in the field you want.

=ReportItems!Textbox157.Value/ReportItems!Textbox151.Value

here TextBox157 is my field name.

Regards,

Friday, June 5, 2015

How to pass one contract parameters in to another contract class in AX

Hi,

1. Create the contract as normal you designed with reference to your param list.
2. Add below method.

[
DataMemberAttribute
]
public InventDimViewContract parmNestedContract(InventDimViewContract _nestedContract = InventDimViewContract)
{
    InventDimViewContract = _nestedContract;
    return InventDimViewContract;
}

Here this methods inherits the another contract class called InventDimContract.

3. Dont forgot to declare in class declaration method as

InventDimViewContract              InventDimViewContract ;

Thanks,

How find size of recordsortedlist in D365/AX 2012

Hi, This is the continuity of the previous article where we are now getting the size of recordsortedlist . if(recordsortedlist.len() >1) ...