× Discuss on T24 Installation, Setting up the environment, TC Server, jBOSS, Package & Deployment, etc…

Call core routine ENQ CUSTOMER.POSITION

  • it.chhengsopheak@gmail.com
  • it.chhengsopheak@gmail.com's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 9 months ago #18020 by it.chhengsopheak@gmail.com
Call core routine ENQ CUSTOMER.POSITION was created by it.chhengsopheak@gmail.com
Dear All,

I facing the problem of calling the core subroutine ENQ CUTOMER.POSITION, i use below code:

Y.ID = '216044'
OPERATION = ""
DETAILS<1> = 'CUSTOMER.POSITION'
DETAILS<2> = 'CUSTOMER.NO':VM:'EQ':VM:Y.ID:VM:''
CALL S.ENQUIRY.REPORT(OPERATION, DETAILS)

SEL.CMD = "SELECT &HOLD& WITH @ID EQ ":DETAILS
EXECUTE SEL.CMD

As the result, the R.RECORD is empty, but when I check the &HOLD& id, it having a record

Can someone telling me how to call the core enquiry of CUSTOMER.POSITION and get the output from this enquiry?

Please Log in or Create an account to join the conversation.

  • armin
  • armin's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • “So long - and thanks for all the fish!”
More
9 years 9 months ago #18024 by armin
Replied by armin on topic Call core routine ENQ CUSTOMER.POSITION
Which R.RECORD ?
What do you do after selecting &HOLD& with the returned report ID ?

using R11 on Unix

Please Log in or Create an account to join the conversation.

  • it.chhengsopheak@gmail.com
  • it.chhengsopheak@gmail.com's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 9 months ago #18026 by it.chhengsopheak@gmail.com
Replied by it.chhengsopheak@gmail.com on topic Call core routine ENQ CUSTOMER.POSITION
R.RECORD is keep the output data (result) from enquiry.

Please Log in or Create an account to join the conversation.

  • armin
  • armin's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • “So long - and thanks for all the fish!”
More
9 years 9 months ago #18027 by armin
Replied by armin on topic Call core routine ENQ CUSTOMER.POSITION
Only when you have I_ENQUIRY.COMMON in your routine and when you launch the routine from inside an enquiry . . .

But again :
"What do you do after selecting &HOLD& with the returned report ID ? "
and what kind of routine is this - where attached - what do you try to achieve ?

using R11 on Unix

Please Log in or Create an account to join the conversation.

Time to create page: 0.045 seconds