Notifications
Announcements
No record found.
[DataContractAttribute] class ContractClasz { private ItemId itemId; [DataMemberAttribute('ItemId')] public ItemId parmItemId(ItemId _itemId = itemId) { itemId = _itemId; return itemId; } }
public class SalesControllerClasz extends SrsReportRunController { protected void PrePromptModifyContract() { ContractClasz contract = this.parmReportContract().parmRdpContract(); this.processReportParameters(contract); } void processReportParameters(ContractClasz _contract) { ContractClasz contract; SalesTable SalesTable; SalesLine SalesLine; if(this.parmArgs().record().TableId == tableNum(SalesLine)) { if(this.parmArgs() && this.parmArgs().record()) { contract = this.parmReportContract().parmRdpContract() as ContractClasz ; SalesLine = this.parmArgs().record(); } _contract.parmItemId(SalesLine.ItemId); } } public static void main(Args _args) { SalesControllerClasz controller = new SalesControllerClasz(); controller.parmArgs(_args); controller.parmReportName(ssrsReportStr(ReportTTT, Design)); controller.startOperation(); } }
*If this resolved your issue, please mark it as "Verified" to assist others facing the same problem*
Try modifying this part of the code as follows :
public class SalesControllerClasz extends SrsReportRunController { protected void PrePromptModifyContract() { ContractClasz contract = this.parmReportContract().parmRdpContract() as ContractClasz;
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Abhilash Warrier 669 Super User 2025 Season 2
André Arnaud de Cal... 449 Super User 2025 Season 2
Martin Dráb 384 Most Valuable Professional