Question
Tech Mahindra
CA
Last activity: 6 Jul 2016 12:33 EDT
Refresh section on date change for page list is not working in 6.1 SP2
We have PRPC 6.1 SP2 and we have a requirement to refresh section and populate a field based on a date we selected in the section (Date must be selected from calender window). This section is rendered from page list. We used out of box "DateTime" control and while section is refreshed, it is expecting the section name with that of parent class (Property under which page list is defined) and error in reloadsection activity so unable to see the refreshed data in the screen.
To make it works, we created a section with the same name of child in parent class but thereafter when the date is changed, other sections data is being replaced with the first one.
Please suggest me on this?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Hi Naveen
Could you elaborate with screen shots if possible
You gave section "A". You have the data property "Dt" in Section "A" . when the value of DT changes, do you refresh Section "A" or some other section contained in Section "A"
Could you post the screen shot of how you have configured your "Action" - OnChange event ?
Tech Mahindra
CA
Hi Samba,
AdjTemp (PegaApp-Step class) is a page property under work class. Txn is pagelist (PegaApp-Txn class) under AdjTemp page.
FinTxnVoucher is the name of section defined under PegaApp-Txn class and which is called from CompleteVouchers(PegaApp-Step class) section for for every Txn page.
FinTxnVoucher section has a "Value Date" field on which OnChange event is being set up as below
At runtime, we are getting error message saying "Unable to find rule FinTxnVoucher of class PegaApp-Step".
Please advise.
Pegasystems Inc.
US
Hi Naveen
Let me know if I am understanding this right
1. You have page list property - AdjTemp.Txn( ).
2. The OnChange + refresh section is defined on FinTxnVoucher
How is the FinTxnVoucher section referred to
Do you have a section in PegaApp-Step class, that repeat grid referring to AdjTemp.Txn ? Is FinTxnVoucher referred to from within a repeat grid ?
Updated: 2 Apr 2016 5:36 EDT
Hi Krithiga,
FinTxnVoucher section is dropped in one the column of the grid bound to .Txn pagelist and this section holds a datetime property with onchange "refresh this section". During section refresh, instead of looking for the section in .Txn(<CURRENT>) class (which is PegaApp-Txn), we are looking for it in the class of the section where grid layout is present (which is PegaApp-Step). This looks like a typical bug and I am pretty sure that this might have been already addressed via some HFix.
Tech Mahindra
CA
Thanks for info Sathish. Looks like i must raise an SR for this.
Yeah. Seems like it.
Hi Naveen,
Please let us know here if you open an SR, so that we may track it through this post!
Thanks,
Lochan
Tech Mahindra
CA
Hi,
Can you please provide me the HF details. As of now, we proceeded with work around and in future if required we would raise an SR.