-
Rinku Karda
- PowerBuilder
- Wednesday, 9 April 2025 04:04 AM UTC
Hi All,
Thanks for assisting me for my previous questions! I got stuck in below issue, appreciate your help on below.
I am importing the json in the datawindow as (dw_temp.importjson( ls_api_output,primary!)): but it is creating issue with Datawindow update, where I am performing the data updates depends on item status, here item status is not reflecting correct status for the first time, when I save the data by below function. I have used acceptText() too. When the below function invoke for the second time i.e. I am hitting Save second time, then it is returning correct status.
DW_OnUpdate {
Dw_1.accepttext()
If Dw_1.GetItemStatus(ll_idx, 0, Primary!) = DataModIfied! Then
// Data Updates Operations
End if
My question is, when datawindow is imported by json file, how can we set the rowstatus to "Notmodified!", is there any way to set the Row status when we are importing the datawindow through Json file.
Thanks in advance.
Regards,
Rinku
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.