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?
↧