Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Micros Simphony 2 - Display Reference Info For Tender Media

Status
Not open for further replies.

nvak

Programmer
May 25, 2015
60
GR
Hello Guys,

I am trying to add reference info for a tender media (cash) but something doesnt work well.

Even if everything works great for the info i add for a menu item (coca cola), the micros check doesnt show the info for the tender media.

Also when i loop in check details i can see the record for the cash info but the Type is "?" not "R" and the name is an xml document.

Can anybody help me?

dfasdssa_j26zsx.png


dgfsafsa_wk1czz.png
 
Manually. From the pop up window. The ISL code sets the description but first the pop up window has been appeared. I have set the tender to ask for reference.

Is there any way to do it via ISL? To add a reference info on a menu item already in check? Maybe just for the last?

Thanks
 
Does anynone knows something?

How can I add a reference on menuitem and a tender media from isl?
 
This should work:

Code:
event inq : 1  
    // 0.10 is the payment amount. You can remove this one if they payment is assumed to be full. 
    LoadKybdMacro makekeys("0.10"), defkey( "Payment", N:1, A:"Cash:Cash") , makekeys("ref entry bleh"), @KEY_ENTER    
    
endevent

event inq : 2  
    // 1123456 is the menu item number
    LoadKybdMacro defkey( "MenuItem", N:1123456) , makekeys("ref entry bleh"), @KEY_ENTER    
    
endevent

Do you want some custom SIM scripts developed. Contact me via my website
 
Thank you for your answer.

This is exactly what i was doing and the results are the same as above.

When i do it for menu item everything is perfect. The problem occures when i try it on Tender Media.

The new record created for the reference was supposed to have @DTL_TYPE = "R" and @DTL_NAME = "ref entry bleh".

But the one that created has @DTL_TYPE = "?" and @DTL_NAME = a xml document as you can see.

Untitled_pvh4yk.png


Also the new line is not shown on Check Screen

Untitled1_bfxudv.png


Is it possible for us to have wrong configuration on EMC?
 
It works fine on mine.
What Simphony version are you using?
Have you made any other custom sim scripts that could have having some affect on this one?

Do you want some custom SIM scripts developed. Contact me via my website
 
The Version is 2.7 MR 6

No there is no other script.

I am pretty sure that if the version is alright then something is wrong on EMC.
 
Can you share the exact script you are using to add this?

This shouldnt be anything in the EMC that effects adding of reference information to the check.

Do you want some custom SIM scripts developed. Contact me via my website
 
I think your issue is that you havent enabled the "Reference Entry Required" option for the tender media you are using.

Do you want some custom SIM scripts developed. Contact me via my website
 
No no, of course i have enabled that option.

If I hadn't do that I wouldn't be able to add even the reference with wrong @DTL_TYPE = "?".

The script that i use is exactlty what you sent me, with my object number for cash.

event inq : 1
LoadKybdMacro makekeys("0,10"), defkey( "Payment", N:2, A:"Cash:Cash") , makekeys("ref entry bleh"), @KEY_ENTER
endevent


the result is the same: An xml document for Name, and Type "?".

 
Can you have a look in the Check_Detail table of the database for this check and see what the DetailType numbers are.
Menu Items = 1
Tender = 4
Reference = 5



Do you want some custom SIM scripts developed. Contact me via my website
 
Finaly i found the problem.

I think you asked me for that but i didnt undertand it.

The problem was on EMC.
The tender media that i used it was configured in the Interface Options to use an Interface Link (Interface Link #1).

When i turned it to None everythig worked fine.

Untitled_x7ysme.png


Thank you very much Cathal for your time.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top