Skip to content
Link suppliers to items in bulk

How do I add suppliers to many items at once? Link suppliers to items in bulk

Stock Replenishment can only order from a supplier it knows about. For one item, you add the supplier on the item’s Entity Pricing tab. For three hundred items, you do it from a spreadsheet with the Entity Pricing Import. This guide walks you through that import, from exporting your item codes to checking that every supplier really landed. A three-row test file takes about fifteen minutes.

By the end, each item will have its suppliers, each with the purchase price, lead time and order quantities that replenishment copies onto the purchase orders it raises, and one supplier per item marked as the one to order from.

Meet GadgetSphere

GadgetSphere Sdn Bhd buys each flagship phone from two authorised distributors, and its chargers and cables from an accessory wholesaler. Its buyer has agreed this quarter’s prices and wants replenishment to pick them up, without opening 400 items one by one. The examples below use three of its items (PH-FLAG-128, PH-FLAG-256 and ACC-CHG-65W) and three suppliers (SUP-DIST-01, SUP-DIST-02 and SUP-ACC-01).

How a supplier link is used

Each row you import becomes one supplier link: one item, one supplier, and the terms you buy on. When a replenishment run decides an item needs ordering, it:

  1. picks one supplier for the item, the one with the highest Supplier Priority;
  2. copies that supplier’s purchase price, lead time and minimum and maximum order quantity onto the run;
  3. puts that price on the purchase order line it creates.

Three consequences matter for the import, and the steps below come back to each:

  • The import has no Supplier Priority column. Every supplier you import starts equal, and replenishment then takes whichever one it finds first. Step 5 fixes that.
  • The price on the purchase order comes from PURCHASE_PRICE_INCL_TAX. Fill in only the excl-tax column and the purchase order line comes out at RM 0.00.
  • A blank cell is saved as 0, not left empty.

An item with no supplier link at all is not stuck: replenishment normally falls back to the supplier on the item’s last purchase invoice. Links are for when you want to choose the supplier and the terms yourself.

Before you start

  • Your supplier codes. In the Supplier applet, export the supplier listing. The Supplier Code column holds the codes the file needs. Check the export has all your suppliers, not just the first page of the listing.
  • Your item codes and units. Step 1 shows how to export them.
  • The prices you have agreed. Have them ready from each supplier’s price list or quotation. The import copies whatever you type; it has nothing to check them against.
  • A small test first. Run two or three rows before the full file. A mistake in a 3-row file costs a minute to put right. In a 400-row file it costs an afternoon.

Step 1: Export your item codes

You get the exact item codes and units from BigLedger, so you never type a code by hand.

Doc Item Maintenance › Items › Export

  1. Clear the search box and reset the filter, so the export covers every item. To export only some items, set the filter first.
  2. Click Export, keep the fields already selected, and click Export at the bottom of the dialog. You get exportItem.csv.
  3. Open it in Excel and tidy it up:
    • Keep only rows where ITEM_TYPE is BASIC_ITEM. Services, vouchers and account-code items are not reordered from a supplier.
    • Remove duplicate ITEM_CODE rows (Data › Remove Duplicates). The same item can appear more than once in the export.

Watch out for leading zeros. Excel turns a code like 00123 into 123, and the import then cannot find the item. Format the code columns as Text before you paste into them.

Step 2: Download the template

Doc Item Maintenance › Entity Pricing Import › +

On the Create Entity Pricing Import screen, under Sample Format, click Entity Pricing. You get entity-pricing-import-template.csv. Keep its header row exactly as it is.

Step 3: Fill in one row per item and supplier

Each row links one item to one supplier. To give an item two suppliers, give it two rows.

ColumnWhat to put in it
SUPPLIER_CODEThe supplier’s code. Required
ITEM_CODEThe item’s code from Step 1. Required
UOMThe item’s unit, for example PCS
PURCHASE_PRICE_INCL_TAXThe price you pay per unit. This is the price that goes on the purchase order. If the supplier charges no tax, put the same number here and in the excl-tax column
PURCHASE_PRICE_EXCL_TAXThe same price before tax
PURCHASE_ORDER_LEAD_TIME_DAYHow many days the supplier takes to deliver
PURCHASE_QTY_MIN_ORDER / PURCHASE_QTY_MAX_ORDERThe smallest and largest quantity you order from this supplier at a time
ENTITY_ITEM_CODE / ENTITY_ITEM_NAMEOptional: the supplier’s own code and name for the item, handy when you match their invoice

GadgetSphere’s file looks like this in Excel. Only the columns it filled in are shown; every other column stays empty.

SUPPLIER_CODEITEM_CODEUOMPURCHASE_PRICE_INCL_TAXPURCHASE_PRICE_EXCL_TAXPURCHASE_ORDER_LEAD_TIME_DAYPURCHASE_QTY_MIN_ORDERPURCHASE_QTY_MAX_ORDER
SUP-DIST-01PH-FLAG-128PCS3200.003200.003550
SUP-DIST-02PH-FLAG-128PCS3250.003250.002130
SUP-DIST-01PH-FLAG-256PCS3700.003700.003550
SUP-ACC-01ACC-CHG-65WPCS45.0045.00720500

PH-FLAG-128 has two rows, so it gets two suppliers.

Leave the other columns empty. The customer and sales columns set a selling price per customer, and nothing that prices a sales document reads them. To give a customer a special price, use a price book.

Fill every purchase column you rely on. A blank cell is saved as 0, not “not set”:

  • a blank price puts RM 0.00 on the purchase order line;
  • a blank lead time is saved as 0 days. Replenishment only assumes 5 days when no lead time is stored at all, and the import always stores one.

Save the file as CSV UTF-8 (Comma delimited).

Step 4: Upload the file and read the Checking tab

Entity Pricing Import › + › Upload File › ADD

The file appears in the import listing. Open it. When Process Status shows DONE, processing has finished, but that does not mean every row went in.

Open the Checking tab:

  • Turn on Valid imports to see the rows marked Validated.
  • Turn it off to see the rows that failed. Almost always the cause is a supplier code or an item code that does not match BigLedger exactly: fix the code in your file and upload just those rows again.

“Validated” does not prove the link was saved. The import only ever adds links. When it is refused, it still marks the row Validated and saves nothing. The usual reason is that the item already has that supplier, for example from an earlier upload or because someone added it by hand. So after every upload, confirm on the item itself (see What success looks like). To change a supplier an item already has, edit it on the item’s Entity Pricing tab; uploading the row again changes nothing.

Step 5: Choose the supplier to order from

Skip this step if every item has only one supplier.

The import cannot set Supplier Priority, so every supplier you imported starts with none. When an item has two suppliers with the same priority, replenishment orders from whichever it finds first. That may not be the one with the better price or the shorter lead time, and it can differ from one item to the next.

Doc Item Maintenance › Items › (the item) › Entity Pricing tab

Edit the supplier you want replenishment to use and give it a Supplier Priority higher than the others, for example 1 against their blank. The highest number wins.

GadgetSphere wants PH-FLAG-128 from SUP-DIST-01, which is cheaper and holds more stock. It sets that link’s priority to 1 and leaves SUP-DIST-02 blank, as the fallback a buyer can still switch to on the purchase order.

Which supplier comes first is a buying decision, not a system setting. Price, delivery record, credit terms and how much stock they hold all count, and the import cannot weigh any of them. Make the decision for each item with more than one supplier, and look at it again when prices change.

What success looks like

Take two minutes, three items from your file:

  1. Open each item’s Entity Pricing tab. Every supplier you put in the file for it is listed, with the price you typed.
  2. For an item with more than one supplier, the one you want ordered from has the highest Supplier Priority.
  3. If you use Stock Replenishment, look at the next run for one of these items: the supplier and the unit price on its purchase order line are the ones you set.

Common mistakes

What goes wrongWhat you seeThe fix
Uploading a row to change a supplier the item already hasValidated, but the old price is still on the itemEdit the link on the item’s Entity Pricing tab. The import only adds
Trusting “Validated”A supplier you expected is missing from the itemCheck on the item after each upload
Filling only PURCHASE_PRICE_EXCL_TAXReplenishment’s purchase order lines at RM 0.00Fill PURCHASE_PRICE_INCL_TAX too, or edit the link
Leaving lead time or order quantities blankLead time 0 days and order quantity limits of 0 copied onto the runFill them in, or edit the link
Several suppliers, no priority setReplenishment orders from a different supplier than you expectedStep 5: give your preferred supplier the highest priority
Codes changed by ExcelRows that look right fail on the Checking tabFormat code columns as Text and check for lost leading zeros
One 1,000-row fileA long list of failures to untangleUpload in batches and check each one before the next

What the import will not do

  • Update or remove a supplier an item already has. Do that on the item’s Entity Pricing tab.
  • Set Supplier Priority. There is no column for it.
  • Export the supplier links you already have. Keep your uploaded CSV files as the record of what you loaded.

Related documentation

Last updated on