Quantcast
Channel: Sage 100
Viewing all articles
Browse latest Browse all 37135

Forum Post: Post Receipt Register for Purchase Order

$
0
0
I am able to create purchase order and also i am able to create entry for using PO_Receipt_bus object.Item for purchase order have valuation type serial.Now i am trying to post this thing using following code public void UpdateReceiptRegister() { using (DispatchObject pvx = new DispatchObject("ProvideX.Script")) { pvx.InvokeMethod("Init", sagePath); using (DispatchObject oSS = GenerateSession("P/O", "PO_ReceiptRegister_ui", pvx)) { using (DispatchObject printObject = GenerateBusinessObject(pvx, oSS, "PO_ReceiptRegister_upd")) { oSS.InvokeMethod("nTerminateUI"); printObject.InvokeMethod("nUpdateInit"); printObject.InvokeMethod("nUpdateMain"); printObject.InvokeMethod("nUpdateCleanup"); } } } } I am able to receive entry using this thing but issue is that i am not able to get entry in Lot/Serial.Can any one help in this?

Viewing all articles
Browse latest Browse all 37135

Trending Articles



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