metropoj
3rd April 2012, 15:28
I have taken some code from our Infor consultant that was in a dal working and tried to replicate this in PCF to call a Start.session ....
I have the start.session working after some fiddling around BUT get an unresolved reference when I try to add in the query extend as below ....
I read up on many other logs about a #include or #pragma or similar things needed to add but I have no idea what may need to be added to this code or how to ever know how to find out on my own. Can anyone please shed some light ?? :confused:
Code: Before Input PCF.....
!domain tcitem tmp_item
!domain tccitg tmp.citg
! tmp_item= ""
! tmp.citg = "RUBPLY"
if [sb-curve] = "z" then
! query.extend.where.in.zoom("tcibd001.citg = " & quoted.string(tmp.citg))
! tmp_item = start.session(MODAL, "tcibd0501m000", "tipcf5120s000", "tcibd001.item")
! [sb-curve] = tmp_item
endif
I have the start.session working after some fiddling around BUT get an unresolved reference when I try to add in the query extend as below ....
I read up on many other logs about a #include or #pragma or similar things needed to add but I have no idea what may need to be added to this code or how to ever know how to find out on my own. Can anyone please shed some light ?? :confused:
Code: Before Input PCF.....
!domain tcitem tmp_item
!domain tccitg tmp.citg
! tmp_item= ""
! tmp.citg = "RUBPLY"
if [sb-curve] = "z" then
! query.extend.where.in.zoom("tcibd001.citg = " & quoted.string(tmp.citg))
! tmp_item = start.session(MODAL, "tcibd0501m000", "tipcf5120s000", "tcibd001.item")
! [sb-curve] = tmp_item
endif