I think the Tender or Service Total you are using need to be configured to print the check trailer in order for the event to be fired.
Option bits 22 and 28
Z
Use request OpsContext.RequestEntry instead. here is a thread that talks about how to do it:
https://www.tek-tips.com/threads/micros-simphony-how-to-get-mag-swipe-data-c-extensibility.1830389/
I am doing exploration into this as well. From what i gather so far, you will need to do all that within JS snippets in your HTML5 code.
Alternatively, you can look into 19.7 JS Extensibility support instead of SIM/ISL. I believe you can do File System operations in JS ext, but not API calls...
Were you able to make any progress on this? I am messing around with JS support as well but ran into the same issue. I can't seem to locate the equivalent of @OpsContext in ISL or Ops.OpsContext in .Net ext apps. I only see the properties you mentioned. The only thing i got to work is the...
hey Abhi,
Can you please share the snippet of how you managed to ring up the reference? how did you setup the macro? I wasn't able to do that.
here's how you can get the reference entries:
public void ShowItemDiscounts()
{
foreach (var checkDetail in OpsContext.CheckDetail)...
Hi Abhi,
I thought you can chain the OpsCommands like we were used to be able to with LoadKybdMacro in ISL, but i think you need to create a macro, which i don't know how to do.
The commands you can use to save a reference to discount (Asssming that the discount has "Reference Entry Required"...
i don't have working sample, but you need to new up some OpsCommands and process them using OpsContext.ProcessCommand. That's like LoadKybdMacro in isl. I seem the remember some samples in this blog. Search for OpsCommand...
If you can't get it to work, post back, i'll try to pro-type a sample...
Hello Abhi,
Something like this whould work:
public void ShowItemDiscounts()
{
foreach (var checkDetail in OpsContext.CheckDetail)
{
if (checkDetail.DetailType != CheckDetailType.DtlTypeDsc) continue;
var discDtl = checkDetail as...
Hello Bassel,
Unfortunately there is no grid-like component available through opscontext api. The closest thing to it is OpsContext.ShowTextList.
if your Service Host clients are all windows32 clients, you can instantiate and display a winforms or wpf forms with grids on them.
19.2 docs...
Oh, OK. Yeah it seems 3700 works as a bool:
If memory serves, the references are the next detail after the tender. So try this:
if selected = 1
if (@DTL_TYPE [ecnt+1] = "R")
InfoMessage "RefName",@DTL_NAME[ecnt+1]
endif
endif
Hey Azrobert,
I don't think the size limit on variables changed, and Format is still the best way to build your sql commands. However i seem to remember a change where they have done something with DateTime values that are returned frm SQL as well as how you need to send them. I think you need...
Hey Vedank,
It should be something like this:
loadkybdmacro makekeys(<Qty>),key(1,458752),key(3,<MiNumber>),MakeKeys(<Amount>),@KEY_ENTER,MakeKeys(<Reference>),@KEY_ENTER
good luck
hey JCCR,
Depending on what Db, user schema your table is and what user you use in your connection string, you may have to fully qualify the table names you insert into, like micros.micros.mytable, or micros.custom.mytable
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.