on 10-21-2020 8:26 AM
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());
}
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.