Not able to write using AR_InvoiceHistoryInquiry_bus object

Hi,

I'm trying to use vbs script to insert an entry into the AR_InvoiceHistory table using AR_InvoiceHistoryInquiry_bus object but I'm getting the following error:

Can anybody please help.

Parents Reply
  • 0 in reply to Parag Vernekar

    Nothing matters until you get the record into an editable state.  Example from the scripting guide (which you'll have to adapt to your purpose):

    retVal = oBusObj.SetKeyValue("ARDivisionNo$", sDiv)

    retVal = oBusObj.SetKeyValue("CustomerNo$", sCust)

    retVal = oBusObj.SetKeyValue("ContactCode$", sContactCode)

    'Now the do the SetKey() with no arguments:

    retVal = oBusObj.SetKey()

    'Now the row has been put into an Edit State

Children