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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[Simphony] TSAPI Probability error.Please go to workstaion "CAPS01(121)" to access check

Status
Not open for further replies.

goodbody

Programmer
Feb 28, 2022
136
US
I encountered a probabilistic error when using TSAPI. There is a slight probability that the check will not be opened. My tender type is Service Totals.
I don't know if anyone has encountered such a problem. Hahaha.
But the solution is very simple. Adding a dish with a price of 0 can solve this problem.
XML:
<soap:Envelope xmlns:xsi="[URL unfurl="true"]http://www.w3.org/2001/XMLSchema-instance"[/URL] xmlns:xsd="[URL unfurl="true"]http://www.w3.org/2001/XMLSchema"[/URL] xmlns:soap="[URL unfurl="true"]http://schemas.xmlsoap.org/soap/envelope/">[/URL]
    <soap:Body>
        <PostTransactionEx xmlns="[URL unfurl="true"]http://micros-hosting.com/EGateway/">[/URL]
            <vendorCode />
            <pGuestCheck>
                <CheckEmployeeObjectNum>1001</CheckEmployeeObjectNum>
                <CheckGuestCount>2</CheckGuestCount>
                <CheckID />
                <CheckNum>0</CheckNum>
                <CheckOrderType>0</CheckOrderType>
                <CheckRevenueCenterID>1</CheckRevenueCenterID>
                <CheckSeq>0</CheckSeq>
                <CheckStatusBits>0</CheckStatusBits>
                <CheckTableObjectNum>103</CheckTableObjectNum>
                <PCheckInfoLines>
                    <string />
                    <string />
                </PCheckInfoLines>
                <EventObjectNum>0</EventObjectNum>
            </pGuestCheck>
            <ppMenuItems />
            <ppComboMeals/>
            <pServiceChg/>
            <pSubTotalDiscount/>
            <pTmedDetail>
                <TmedEPayment>
                    <AccountDataSource>SOURCE_UNDEFINED</AccountDataSource>
                    <AccountType>ACCOUNT_TYPE_UNDEFINED</AccountType>
                    <ExpirationDate>0001-01-01T00:00:00</ExpirationDate>
                    <IssueNumber>0</IssueNumber>
                    <PaymentCommand>NO_E_PAYMENT</PaymentCommand>
                    <StartDate>0001-01-01T00:00:00</StartDate>
                </TmedEPayment>
                <TmedObjectNum>9003</TmedObjectNum>
                <TmedPartialPayment>0.00</TmedPartialPayment>
                <TmedReference />
            </pTmedDetail>
            <pTotalsResponse />
            <ppCheckPrintLines>
                <string />
            </ppCheckPrintLines>
            <ppVoucherOutput>
                <string />
            </ppVoucherOutput>
        </PostTransactionEx>
    </soap:Body>
</soap:Envelope>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top