Home Page link  

Finalizing Work Order through Custom Button

 

Point-Of-Sale Software - - MS Point Of Sale software discussed here 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Finalizing Work Order through Custom Button Alexander.Romanoff 07-21-2006
Posted by Alexander.Romanoff on July 21, 2006, 1:26 pm
Please log in for more thread options
I'm developing Custom POS button to process open Work Order using C#.

This button should do some custom functionality like sending some data
to payment processor (it's already implemented) after this order should
be mark as Closed, Inventory should be updated etc.

The problem is that I cannot find any ways of how to finalize the order
(for some reasons Transaction.Post doesn't work).

It's a code that I currently use. What else can I do to reach my goal?

int setDepositResult =
Convert.ToInt32(transactionComType.InvokeMember("SetDepositTotal",BindingFlags.InvokeMethod,
null,transaction,new object[1] ));

object tender =
sessionComType.InvokeMember("TenderDefault",BindingFlags.GetProperty,
null,transaction,null);

Type tenderComType = tender.GetType();

tenderComType.InvokeMember("AmountIn", BindingFlags.SetProperty, null,
tender, new object[1] );

int tendersForceValidationResult =
Convert.ToInt32(transactionComType.InvokeMember("TendersForceValidation",BindingFlags.InvokeMethod,
null, transaction, null));

int postFunctionResult =
Convert.ToInt32(transactionComType.InvokeMember("Post",
BindingFlags.InvokeMethod, null, transaction, null));



If it is necessary I'm ready use VB6 or VB.NET. Just extremely need
this button to work.


Similar ThreadsPosted
Pick up entire work order custom button May 12, 2007, 3:22 am
I'm developing Custom POS button to process open Work Order using July 21, 2006, 5:18 pm
Custom Headings in Work Order and Sales Receipts June 3, 2008, 4:05 pm
Associate a purchase order with a work order or back order June 9, 2006, 3:18 pm
Flip-Flooping of cost /price when finalizing PO's October 30, 2007, 1:52 pm
new item button in HQ taskpad doesn't work? June 24, 2005, 6:44 am
"Check Stores" button does not work November 14, 2005, 5:49 pm
custom pos button August 10, 2005, 8:42 pm
custom POS button October 14, 2005, 10:57 pm
Custom Button October 31, 2005, 9:53 pm

Contact Us | Privacy Policy
This site is not affiliated with Intuit - makers of Quickbooks and Quicken software
This site is not affiliated with Sage Software - makers of Peachtree accounting software
XML SitemapXML Sitemap