[DataMethod(), PermissionSet(SecurityAction.Assert, Name = "FullTrust")]
public static String
drillThroughActionPurchId(String
reportContext, String purchId)
{
return DrillThroughCommonHelper.ToPurchTable(reportContext,
purchId);
}
If this function somehow does not work anymore (in my case my client upgraded from AX 2012 to AX 2012 R2 and since the upgrade all the hyperlink to the PurchTable form does not work anymore), a workaround is by creating directly the hyperlink on the expression window (without business logic as the code above):
="MenuItemDisplay://PurchTable/+345+[1:" & Fields!PurchId.Value & "]"
345 is the ID of the PurchTable and 1 is the ID of the PurchId field.
Is there another way to fix it / make it work?
No comments:
Post a Comment