SAP Business one Business Partners: Adding/Updating

How to add a Business Partner: // Create an instance of the BP object SAPbobsCOM.BusinessPartners sboBP = (SAPbobsCOM.BusinessPartners)_sboCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners); // Set the basic properties sboBP.CardCode = “S00001”; sboBP.CardName = “New Supplier …