SAP Business One SDK
How to Auto-Increment Business Partner Code for SAP Business One
This article describes how to set up SAP Business One to automatically calculate the next card code for new Business Partners.