Skip to main content

SAP Business One - [ERROR] CardCode cannot be null

Resolve the 'CardCode cannot be null' error in SAP Business One by reviewing and updating the Partner List in Transaction Manager to ensure the Business Partner is properly recognized.

S
Written by Scott Keel

Product: SAP Business One


Issue: When attempting to export a transaction to SAP Business One from Transaction Manager, the following error is received: 'CardCode cannot be null'

Reason: SAP Business One is unable to identify which Business Partner to write the transaction to. The Business Partner is matched using the Customer Name or CardCode, and the system cannot find a recognized match based on the data currently configured in the Partner List.


Solution - Update the Partner List


A missing or unrecognized entry in the Partner List within Transaction Manager is the most common cause of this error. If a new customer or Ship-To address has been introduced on a Purchase Order (850), a corresponding Business Partner entry may need to be added.

Navigate: Trading Partners → (Trading Partner) → Translations → Partner List

Check: For an existing entry that matches the Business Partner on the transaction

Select: Add Partner (if the entry is missing)

Enter: The correct Business Partner CardCode from SAP Business One

Save

rev 09/04/26

Did this answer your question?