Skip to content
Credit Limits and Terms: Bulk Upload

Load credit terms and limits onto customers in bulk

Step 6 of setting up credit limits and payment terms: attach terms and limits to many customers at once, from a file. It follows Steps 3 to 5, which do the same for one customer on screen, and it needs the definitions from Steps 1 and 2 to exist first. GadgetSphere Distribution has about 180 corporate buyers on four terms and perhaps six limits (Meet GadgetSphere).

  1. Step 6: load them in bulk, if you have hundreds.

Step 6: Load them in bulk, if you have hundreds

Master Data > Customer Maintenance > Upload Credit Terms and Upload Credit Limits (the Supplier applet has the same two entries)

The outcome: every customer on your agreed-terms list carries the right term and the right limit, without anyone opening 180 records one by one.

These two screens attach definitions to customers. They do not build the definitions. Neither the customer nor the supplier applet has a screen that uploads the term list or the limit list itself, so Steps 1 and 2 stay a job done by hand. With four terms and six limits, that is the right size of job anyway.

Each screen takes one CSV file and processes it in the background. The Sample Format link under the drop zone opens an Export Data picker, and the template it saves has a heading row only, for the columns in Target Fields. The code, status and (on limits) currency columns are always there. The six term numbers, or the limit amount, start under Source Fields: move them across with Add before you export, or your file has no column for them and fails. The listing shows each file’s Process Status and Error Message; read those. The file’s Checking tab may stay empty even when rows failed, so an empty tab is not proof that every row loaded.

The term file carries, per row, the customer code, the term code, the three Set numbers, the three Add numbers and a status. The limit file carries the customer code, the limit code, a currency, an amount and a status. The supplier files are the same with the supplier code first. Build yours from the sample, in the sample’s column order, and read these before you upload:

  • The numbers come from your file, not from the definition. On screen, attaching NET30 copies NET30’s numbers (Step 3). The upload uses the code only to look up the name. The six numbers, or the currency and amount, are whatever your row says. A row reading NET30 with an Add Day of 15 gives the customer a term called Net 30 days that dates their invoices 15 days out, and a row reading LIMIT-150K with an amount of 50000 gives them a limit of 50,000 with a 150K label. A code that is not in your list is not refused either: the customer gets an assignment carrying that code and a blank name. So copy the numbers into the file from the definitions you built in Steps 1 and 2, never from memory.
  • Rows are matched on customer and code, so uploading again corrects rather than duplicates. If the customer already has an assignment with that code, the row overwrites its numbers (or its currency and amount) and its status. Never leave the code blank: a row with no code overwrites one of the customer’s existing assignments, whichever the search finds first. A row with a different code adds a second assignment beside the first, which is exactly the two-active-limits trap from Step 3. To move 40 resellers from LIMIT-50K to LIMIT-150K in one file, give each of them two rows: the old code with INACTIVE and the new code with ACTIVE.
  • A cell the upload cannot read fails the whole file, and no row of it loads. Spaces and commas are stripped from the amount, so a quoted 150,000.00 loads as 150000.00, but a decimal comma (150000,50) loads as 15000050: write amounts with a decimal point. RM150000 or an empty amount stops the file, and so does a day, month or year cell that is not a whole number, such as 30 days. The file’s Error Message says the file is invalid without naming the row. An empty day, month or year cell is different: it loads as 0, so a blank Add Day turns a thirty-day term into “due on the invoice date”.
  • Be careful with the online store. A limit assignment the upload creates (rather than updates) is not linked to the limit you built in Step 2, and the server reports no available credit for an unlinked limit. In the storefront source we could read, no figure counts as zero, so an uploaded limit of any amount may stop on-account buying there. We have not confirmed this on a live store. If customers buy on account online, attach their limits on screen (Step 3) or test one customer first.
  • The term upload refuses an Add Day above 31, an Add Month above 12, and an Add Year that is not 0 or four digits. It checks the Add numbers as if they were a date. So NET60, written as Add Day 60, fails with Add Day Must Be One Or Two Digits And 31st Is Largest Date, 60 Is Not Valid. The screen in Steps 1 and 3 has no such limit. Add Month 2 is not a way round it, because two calendar months is not sixty days. Upload the thirty-day customers and attach the sixty-day ones on screen.
  • Headings: capitals on the customer term upload, position on the other three. The customer Upload Credit Terms screen reads your heading row by name and fails the whole file with Wrong Columns or Mandatory Columns Missing if it does not recognise a heading. It expects capitals (CUSTOMER_CODE), and the sample has lowercase headings. If a file built from that sample fails with Wrong Columns or Mandatory Columns Missing, retype the heading row in capitals and check its spelling. The customer limit upload and both supplier uploads do not read the heading row at all. They read columns by position, so Set Day and Add Day swapped loads the wrong values into the wrong fields and says nothing.
  • The status must be ACTIVE or INACTIVE, in capitals. active, Active or an empty cell fails the whole file before any row loads. Other status words the platform knows are not refused: a DELETED row is skipped without a message.
  • The customer code must exist, or the row fails with Customer Code Does Not Exist (Supplier Code Does Not Exist on the supplier screens).

We have not tested most of this on a live tenant: the failed file on an unreadable cell, the Add Day ceiling, the capitals check on the heading row and the column-by-position reading. Test it before you rely on it. Upload a two-row term file, one customer on NET30 and one on NET60, and a one-row limit file with "150,000.00" in the amount. Then open those customers’ Credit Term and Limit tab and read what landed: the NET30 row loads even though the file ends FAILED, because a row that fails its own check does not stop the others.

A bulk load does not set the Default Credit Limit and Default Credit Term pointers from Step 4. No upload or import sets them, and a customer whose pointer is empty, or points at an assignment you have just set INACTIVE, is invisible to the credit sweep’s over-limit check unless a company-level limit covers them. So this checking stays with a person:

  • Whoever prepares the file checks ten rows against the signed credit applications before it is uploaded.
  • After the upload, somebody other than the preparer opens five customers from the file and compares their Credit Term and Limit tab and their Main tab pointers with the file.
  • They also check that the file shows DONE on the upload listing. DONE is not proof on its own: a row whose save fails a later check can still count as loaded, which is why the five customers are opened.

What success looks like for this part

The file shows DONE, and somebody other than the preparer has opened five customers from the file and found their Credit Term and Limit tab and their Main tab pointers as the file says. A bulk load sets no Default pointer, so any that were empty, or still point at an assignment the file set INACTIVE, are set on screen, as in Step 4. Then run the whole setup’s success check on a few of them.

Common mistakes in this part

Uploading the Sample Format as it comes. The template carries lowercase headings and, unless you moved them across in the picker, no number columns. A limit file built from it fails on its first data row, and the customer term file fails its heading check until the headings are retyped in capitals. Add every column in the picker, retype the term headings, then check that the file shows DONE and open a few customers before you tell anyone the limits are in.

The rest of the setup’s mistakes are on the front page.

Next: What the numbers actually drive.

Related documentation

Last updated on