Quantcast
Channel: Microsoft Dynamics RMS Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4248

Multiple tender qsrules

$
0
0

does this make any sense to verify if more then one tender proposed ? coz i need to block multi tender if debit card is there for the obvious bug

Does this make any senses to figure if multitender ?


Dim tvalrslt As Integer
     
 
 
        rslt = False
 
        If clsSession.Transaction.Tenders(1).AmountIn > 0 Then
            tvalrslt = tvalrslt + 1
        End If
        If clsSession.Transaction.Tenders(2).AmountIn > 0 Then
            tvalrslt = tvalrslt + 1
        End If
        If clsSession.Transaction.Tenders(3).AmountIn > 0 Then
            tvalrslt = tvalrslt + 1
        End If
        If clsSession.Transaction.Tenders(4).AmountIn > 0 Then
            tvalrslt = tvalrslt + 1
        End If
        If clsSession.Transaction.Tenders(5).AmountIn > 0 Then
            tvalrslt = tvalrslt + 1
        End If
 
 
        If tvalrslt > 1 Then
 
            MsgBox("Faites une mise de coté !")
            Return True
 
 
        End If



Viewing all articles
Browse latest Browse all 4248

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>