cancel
Showing results for 
Search instead for 
Did you mean: 

Error: [sql server native client 10.0][sql server]invalid column name 'loginstanc'.

tkchuah
Member
0 Kudos

Hi,

I am having an issue when i add A/R invoice using SDK.

this is the error i am getting "[sql server native client 10.0][sql server]invalid column name 'loginstanc'."

i checked this field in the DB in table OINV and it does exists

i am using SAPbobsCOM v9.0.0.0

SAP B1 9.3 (9.30.100) PL:00 64-bit

any idea why this is happening? and any fix for that?

Thanks

         var arInvoice = (Documents)Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices);

            arInvoice.DocDate = dmsData.BillingDate;
            arInvoice.CardCode = debtor.CardCode;
            arInvoice.CardName = debtor.CardName;
            arInvoice.DocTotal = (double)dmsData.TotalAmount;
            arInvoice.Comments = dmsData.Remarks;
       
        


            var result = arInvoice.Add();
            if (result == 0)
            {
                return "";
            }
            else
            {
                throw new InvalidOperationException(Company.GetLastErrorDescription());
            }
DellSC
Active Contributor
0 Kudos

I changed your tag to SAP Business One. This question is not related to SAP BusinessObjects.

Accepted Solutions (0)

Answers (0)