Question about PostReceipt...

Nov 22, 2005 0 Replies

Has anyone used PostReceipt method in QSRules?



The prototype is that...



public virtual new QSRules.StatusCategoryEnum PostReceipt ( System.String ReceiptText , System.Int32 Batch ) Member of QSRules.TransactionClass



Basically, it creates Journal entry. I know I need to provide xml receipt format in order to work this method.....However, I do not think that this receipt xml string should be generated from scrach....I believe that QSRules provides some method to generate this ReceptText so that I can use for PostReceipt method..... I guess there should something like in QSRules..



String GenerateXMLReceipt(int TransactionNumber,String store...etc...some required parameters)...



I've tried to find out this kind of helper function to generate this xml receipt string in QSRules, however, I could not find it...



Has anyone used this PostReceipt method successfully? Should I generate raw XML receipt string by something like XMLDocument class to provide in ReceiptText arguement? It can be done, however, I guess it is too much work....


Thank you in advance.



..........................................................................TJ



Join the Discussion

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

Didn't find your answer?

Ask the community — no account required