Pranoy
Active Member
HI,
I have requirement where program needs to create a new media object in (GT4211) with text copied from MO Template (GT98TMPL) and edit it and save it for the line user is entering.
I was able to achieve but after editing the save system function is not creating MO silently but its showing the MO Text window and user needs to click on ok button to go back to SO Detail screen.
Code i've written for test using the address book is -
//
Media Object Structures(GT98TMPL, <Default Media Object>, <Get Text>, <Default Text Object>, VA frm_MediaObjectText, "TMPL1", BC Date - Beginning Effective (F0101)(EFTB))
//
Media Object Structures(ABGT, <Default Media Object>, <Set Text>, <Default Text Object>, VA frm_MediaObjectText, GC AddressNumber)
Media Object Structures(ABGT, <Default Media Object>, <Save>, VA frm_EverestEventPoint01, GC AddressNumber)
Media Object Structures(ABGT, <Default Media Object>, <Exist>, VA frm_EverestEventPoint01, GC AddressNumber)
//
If VA frm_EverestEventPoint01 is equal to "1"
Set Grid Text Indicator(FC Grid, <Currently Selected Row>, <Yes>)
End If
//
Any suggestions or information would help.
Thanks.
Pranoy
9.2.4.4
I have requirement where program needs to create a new media object in (GT4211) with text copied from MO Template (GT98TMPL) and edit it and save it for the line user is entering.
I was able to achieve but after editing the save system function is not creating MO silently but its showing the MO Text window and user needs to click on ok button to go back to SO Detail screen.
Code i've written for test using the address book is -
//
Media Object Structures(GT98TMPL, <Default Media Object>, <Get Text>, <Default Text Object>, VA frm_MediaObjectText, "TMPL1", BC Date - Beginning Effective (F0101)(EFTB))
//
Media Object Structures(ABGT, <Default Media Object>, <Set Text>, <Default Text Object>, VA frm_MediaObjectText, GC AddressNumber)
Media Object Structures(ABGT, <Default Media Object>, <Save>, VA frm_EverestEventPoint01, GC AddressNumber)
Media Object Structures(ABGT, <Default Media Object>, <Exist>, VA frm_EverestEventPoint01, GC AddressNumber)
//
If VA frm_EverestEventPoint01 is equal to "1"
Set Grid Text Indicator(FC Grid, <Currently Selected Row>, <Yes>)
End If
//
Any suggestions or information would help.
Thanks.
Pranoy
9.2.4.4