Skip to main content

Knowledge Center

Goods assignments

SAR (assignment register) is the RamBase archive which stores the assignments of goods from stock (SSA) and backlog (SPO/SOA/PWO) to orders (COA)/CSO), quotes (CQU), production work orders (PWO), stock corrections (SAW), goods transfers (STW), supplier returns (SRT) and shipping advice (CSA).

How goods are assigned to transaction documents which needs assignments from SAR

Abbreviations that are used:

  • Pending - Pending assignments, will show up as a need for purchase or manufacturing

  • CSV - Company settings

  • SSA - Goods reception item

  • SPO - Purchase order item

  • SOA - Purchase response item

  • PWO - Production work order

  • COA - Sales order item

  • CSO - Service order item

  • CQU - Sales quote item (it is only buffer qty which require assignments)

  • CSA - Shipping advice item

  • SRT - Supplier return item

  • STW - Goods transfer

  • SQU - Purchase quote

  • CDV - Customer deviation

  • REQ - Requested delivery date

  • CONF - Confirmed delivery date

  • DELDATE - Delivery date ('Scheduled shipping date' for a COA and 'Planned start date' for a PWO or a specific operation in PWO)

  • CLASS - Product type

  • ACCESS - Field in SAR which holds a customer id

  • ITMLOC - Location at item level of a transaction document

  • LOC - Location at main level of a transaction document

  • ITMLOC - Location at item level of a transaction document

  • KITSQUID - Reference to an SQU for a specific product in a special structure. Landed cost will be calculated based on this.

  • CUSOWNED - Type 'Customer owned product'

  • CUSOWNEDRETURN - Type 'Repaired for repair or service'

  • INBOUNDRENTAL - Type 'Inbound rental'

  • CUSRETURN - Type 'Returned from customer'

  • REPAIRSUPRETURN - Type 'Repaired by supplier'

  • ART - Product

Assignments are in many situations created automatically by RamBase, but can also be overruled manually by users. When assignments are created automatically, this will happen according to certain rules. There are two sets of rules that can apply: standard rules or special rules.

How to set up which assignment rules that should apply for a company

Which rules that should apply is set up at location level in CSV. If no configuration is done, standard rules will apply for all locations in the company.

If a company wants to run special rules for some locations, this has to be set up as follows:

  1. Turn the CSV/"Use special assignment (SAR) rules for certain locations" ON

  2. The locations where special rules should apply must be set up in the CSV/"Locations where special assignment rules apply", (e.g. VAT/HAU).

  3. In addition there are two more child settings for special rules:

    • CSV/'Window for prioritizing stock assignments for special assignment rules'. X number of days from todays date where assignments from SSA item have the highest priority. If DELDATE (REQ is used instead of DELDATE for COA which is pending registration (Status 1)) is todays date or earlier, stock will always have highest priority, even if the setting don't have any value.

    • CSV/'Confirm margin for special assignment rules'. X number of days. Here you may set up that CONF in SOA/PWO must be e.g. 2 days before PWO/transaction documents DELDATE to be regarded as time to fulfill DELDATE. (REQ is used instead of DELDATE for COA which is pending registration (Status 1).)

The different rules will apply when automatically getting assignments to different transactions documents, like e.g. when a COA item is created or when a PWO is registered and also if nightly optimalization of SAR is running.

Priority order for assignments if using standard rules

For COA and CSO program searches for available quantity in the following order:

  1. SSA sorted ascending by DATE. If any of the SAR documents have ACCESS set to Customer id matching customer COA, these SAR documents are assigned first.

  2. SOA/PWO with CONF>"", sorted ascending by CONF.

  3. SOA/PWO with CONF="", sorted ascending by REQ.

  4. SPO sorted ascending by REQ.

  5. Pending.

For PWO the program search for free quantity in the following order:

  1. SSA sorted by ascending DATE. In case ENDCUSTOMERACCOUNT is set in PWO, and there exist SAR documents with ACCESS set to this ENDCUSTOMERACCCOUNT, the program will only assign to these SAR documents.

  2. SOA/PWO with CONF>"", sorted ascending by CONF.

  3. SOA/PWO/SPO with CONF="", sorted ascending by REQ.

  4. Pending.

Priority order for assignments if using special rules

For COA and CSO program searches for available quantity in the following order:

  1. SOA/PWO with CONF in time to fulfill DELDATE. (REQ is used instead of DELDATE for COA which is pending registration (Status 1).)

  2. SSA sorted by ascending DATE. If any of the SAR documents have ACCESS set to Customer id matching customer in COA, these SAR documents are assigned first.

  3. SOA/PWO with CONF to late to fulfill DELDATE (REQ is used instead of DELDATE for COA which is pending registration (Status 1)), sorted ascending by CONF.

  4. SOA/PWO with CONF="", sorted ascending by REQ.

  5. SPO sorted ascending by REQ.

  6. Pending.

For PWO the program searches for available quantity in the following order:

  1. SOA/PWO with CONF in time to fulfill REQ date.

  2. SSA sorted by ascending DATE. In case ENDCUSTOMERACCOUNT is set in PWO, and there exists SAR documents with ACCESS set to this ENDCUSTOMERACCOUNT, the program will only assign to these SAR documents.

  3. SOA/PWO with CONF too late to fulfill DELDATE, sorted ascending by CONF.

  4. SOA/PWO with CONF="", sorted ascending by REQ.

  5. SPO sorted ascending by REQ.

  6. Pending.

Common for both standard and special assignment rules

In addition to dates, there is a lot of other data that will be taken into consideration when creating assignment.

CQU/CSA/SAW/STW/SRT:

  • These do only get assignments from stock (SSA), not from backlog (SOA/SPO/PWO) or 'Pending'.

  • Buffer quantity in CQU will also only get assignment from stock and if not enough available stock, the rest will be pending.

  • SRT will only get assignment from SSA with equal currency.

  • If the CSV/" Supplier return (SRT) linked to Goods reception (SSA) with another Supplier Id" is ON, SRT will only get assignments from SSA which is from the same supplier.

PWO:

  • In case the product (part in structure) has CLASS="WX" or CLASS="XF", or if KITSQUID is set, the PWO will be 'Pending'.

LOC/ACCESS:

  • If ITMLOC is set in item, the item will get assignment from this location, otherwise from LOC at main level.

  • If the setting CSV/"CusOrderAllowLinkToStockAtOtherLocation" is ON, and there is no available stock/backlog, the program will check if there do exist available stock at other locations. If there is enough stock available to cover the total need for the item, this will be assigned and ITMLOC will be changed to the location for this stock.

  • In case ACCESS in SAR has a customer reference, it is required that this value match. Otherwise a sales transaction document will not get assignments from this.

Check on CLASS:

  • COA/CQU with CLASS="KS" will not get any assignments at all.

  • COA with CLASS="WX" or KITID>"" will be 'Pending'.

  • If the setting CSV/'Automatically link Products (ART) with Product Structure to Pending' is ON, COA with CLASS="K" or CLASS="KA" will be 'Pending' (this rule does not apply if the COA is of TYPE="CUSOWNEDRETURN").

RENTAL handling:

  • If the setting CSV/'Do not get automatically assignments from stock or backlog for rental order' is ON, COA of TYPE="RENTALORDER" will always be 'Pending'.

  • Only COA/CSA with DOCTYPE="RENTALORDER" or SRT of TYPE="INBOUNDRENTAL" can be linked to goods of TYPE="INBOUNDRENTAL".

Check on TYPE="CUSOWNED*"

  • If the setting CSV/'Document link for Returns' is OFF, the following will apply:

    • CQU/COA/CSA of TYPE="CUSOWNED*" only get assignments from SSA of TYPE="CUSOWNED*" and where customer equals customer in the sales transaction document.

    • CQU/COA/CSA which are not of TYPE="CUSOWNED*" will never get assignments from SSA of TYPE:CUSOWNED, "REPAIRSUPRETURN", "CUSRETURN" or "CUSOWNEDRETURN". DOCTYPE="CUSOWNEDRETURN".

CDV handling:

  • In case Sellers ref. no in COA has reference to a CDV, and CUSRETURNDOC in CDV has reference to an SSA, COA will get assignment from this SSA. In case WAREHOUSEACTCODE in CDV is "Return to Sup for repair", SUPERTURNDOC control which SSA that will be assigned.

'Assign in multiple of':

  • COA will get assignment according to the quantity in 'Assign in multiple of' in ART. Example: If 'Assign in multiple of'='5' and a COAITEM is created for a quantity of 18, COA will only get assignment for 15 from stock/backlog and the remaining 3 will be 'Pending'. Manually assignments can be created for these 3 afterwards.