How to Check for Sale and Return

Aug 26, 2005 6 Replies

I am integrating MS RMS with another product. Can anyone tell me how to know whether the transaction being processed is 'Sale' or 'Return'? Thank you very much....



Srikanth...


Transaction.TransactionType

"Srikanth" ha scritto nel messaggio news: snipped-for-privacy@g14g2000cwa.googlegroups.com...

QSRules use TransactionType enumeration, but the transaction type isn't in [Transaction].. verify status or entries of a return..

bye antonio

Public Enum transactiontypeEnum

transactiontypeSales = 1

transactiontypeWorkOrder = 2

transactiontypeQuote = 3

transactiontypeBackOrder = 4

transactiontypeLayaway = 5

transactiontypeDrop = 11

transactiontypePayOut = 12

transactiontypeNoSale = 13

transactiontypeAbortedTransaction = 14

transactiontypeAccountPayment = 15

transactiontypeXReport = 16

transactiontypeZReport = 17

transactiontypeZZReport = 18

transactiontypeBlindCloseout = 19

transactiontypeAccountAdjustment = 20

transactiontypeFinanceCharge = 21

End Enum

Something wrong when RMS is in return mode.

I tried in return mode by pressing Ctrl + F4, the property Session.Transaction.RetureMode returns TRUE, however, Session.Transaction.TransactionType returns 1, which is transactiontypeSales defined in the transactiontypeEnum. Why?

After pressing F11 (Recall) for return on SO, all items are displayed in red, which means in return mode, however, Transaction.TransactionType still returns 1, which is transactiontypeSales, how can I then determine this is in return mode or sales mode? Please help.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required