Kit & SLN Item Handling
The Orderful NetSuite Connector supports kit items — parent items composed of multiple component items — across the full Order-to-Cash lifecycle. There are two distinct approaches to handling kits, depending on how your NetSuite environment is configured:
| Approach | When to Use | Configuration |
|---|---|---|
| NetSuite Kit Items | Kit/Package or Assembly items are set up in NetSuite and consistently used across trading partners | None — works out of the box |
| Use SLN | NetSuite doesn't have kit items set up, kit composition varies by trading partner, or components need to ship from separate warehouses | Enable Use SLN on the Customer record |
Approach 1: NetSuite Kit Items
When your NetSuite environment has Kit/Package or Assembly items properly configured, kit handling requires no additional setup. The connector treats kit SKUs like any other item:
- Inbound 850: The trading partner orders a kit SKU. The connector adds the kit item to the Sales Order just like an inventory or assembly item.
- Fulfillment: NetSuite natively explodes the kit into its component items for picking and packing.
- Outbound 855/856/810: The connector generates outbound documents using the kit and component data from NetSuite's native item records.
This is the simpler and recommended path when kit composition is consistent and managed in NetSuite's item master.
Approach 2: Use SLN
The Use SLN feature is an advanced mode for situations where native NetSuite kit items don't fit. Common reasons to use this approach:
- No kit items in NetSuite — The NetSuite environment doesn't have Kit/Package or Assembly items configured
- Trading-partner-specific kit composition — Different trading partners define different components for the same kit, making the inbound 850 (not NetSuite) the source of truth
- Split-warehouse fulfillment — Kit components need to be fulfilled from separate warehouses, which NetSuite's native kit items don't support
How Use SLN Works
Instead of adding a kit-level item to the Sales Order, the connector reads past the primary PO1 line item and adds the SLN component items directly as individual Sales Order lines. It stores the kit identity and component ratios in custom fields on each line, so it can reassemble the kit structure when generating outbound documents (855, 856, 810).
Key Terms
| Term | Definition |
|---|---|
| SLN Segment | The Sub-Line Item Number segment in an EDI transaction. Contains item identification and quantity for a single component within a kit. |
| SLN Loop | The collection of all SLN segments under a single PO1 line item. Represents the full bill of materials for one kit. |
| Items Per Kit | The quantity of a specific component included in one kit. Defined by the SLN quantity value. |
| Kits Count | The number of complete kits ordered. Defined by the PO1 baseline quantity. |
| Kit Identifiers | The item identifiers from the PO1 baseline (the kit SKU). Stored on each component line for reassembly on outbound documents. |
Configuration
Use SLN is controlled by a single flag on the NetSuite Customer Entity record:
| Field | Script ID | Type | Description |
|---|---|---|---|
| Use SLN | custentity_orderful_use_sln | Checkbox | Enables SLN-based kit processing for all transactions with this trading partner. When unchecked, SLN segments are ignored and the PO1 baseline item is used. |
To enable:
- Navigate to the Customer record in NetSuite
- Locate the Orderful subtab (or custom fields section)
- Check the Use SLN checkbox
- Save the record
Once enabled, Use SLN applies to all inbound and outbound transactions for that customer.
Inbound 850: Purchase Order to Sales Order
When an 850 contains SLN segments and the customer has Use SLN enabled, the connector skips the kit-level item and writes component items directly to the Sales Order.
Detection
A PO1 line item is processed as an SLN kit when both conditions are met:
- The customer's Use SLN flag is enabled
- The PO1 line item contains an SLN loop (one or more SLN segments)
If either condition is not met, the PO1 line is processed normally using baseline item data.
How Components Are Created
For each SLN segment, the connector creates a separate Sales Order line:
| EDI Source | Sales Order Line Field | Calculation |
|---|---|---|
| PO1 baseline quantity | Kits Count | Used as-is (e.g., quantity = 2 means 2 kits) |
| SLN quantity | Items Per Kit | Used as-is (e.g., quantity = 3 means 3 of this component per kit) |
| SLN quantity × PO1 quantity | Ordered Quantity | Component quantity multiplied by kit count |
| SLN item identifiers | Item | Resolved via standard item resolution logic |
| PO1 baseline item identifiers | Kit Identifiers | Stored on each component line for outbound reassembly |
Example
An 850 Purchase Order contains:
PO1 Line (Kit):
- Item: KIT-001 (UPC: 600002672008)
- Quantity: 2 (two kits ordered)
SLN Components:
| SLN | Component Item | Quantity Per Kit |
|---|---|---|
| SLN 1 | BIC00012 | 2 |
| SLN 2 | BIC00013 | 1 |
| SLN 3 | BIC00003 | 3 |
Resulting Sales Order Lines:
| Line | Item | Ordered Quantity | Calculation | Kit Reference |
|---|---|---|---|---|
| 1 | BIC00012 | 4 | 2 per kit × 2 kits | KIT-001 |
| 2 | BIC00013 | 2 | 1 per kit × 2 kits | KIT-001 |
| 3 | BIC00003 | 6 | 3 per kit × 2 kits | KIT-001 |
Each Sales Order line retains the kit reference (KIT-001) and kit count (2) so that outbound documents can reconstruct the original kit structure.
Outbound 855: Purchase Order Acknowledgment
When generating an 855 for an order with SLN kit items, the connector groups the component lines back into kit-level structures.
Process
- Group by kit — All Sales Order lines sharing the same kit reference are grouped together
- Calculate kit quantity — For each component, the connector divides the total acknowledged quantity by the items-per-kit ratio from the original SLN
- Build PO1 + SLN — The 855 PO1 uses the original kit item identifiers and the calculated kit quantity. Each component appears as an SLN segment with its per-kit quantity.
Kit Quantity Calculation
Kit Quantity Acknowledged = Total Component Quantity Acknowledged ÷ Items Per Kit
Example: If 8 units of BIC00012 are acknowledged (items per kit = 2), the kit quantity is 8 ÷ 2 = 4 kits acknowledged.
The connector uses the minimum kit quantity across all components to determine how many complete kits can be acknowledged.
Outbound 856: Advance Ship Notice
Kit handling in the 856 is the most complex step because the connector must reconstruct kit relationships from flat Item Fulfillment lines in NetSuite.
Process
- Group packed items by kit — Fulfilled items are matched to their original kit reference from the Sales Order
- Calculate packed kit count — For each component, the connector calculates how many complete kits were packed:
packed quantity ÷ items per kit - Apply minimum rule — The number of kits shipped equals the minimum packed kit count across all components in the kit (the bottleneck component determines the kit count)
- Build Item HL + SLN — The 856 Item hierarchical level uses the kit item identifiers and the calculated kit count. Each component appears as an SLN segment with its per-kit quantity.
Divisibility Requirement
Packed quantities for each component must be evenly divisible by the items-per-kit ratio. If a component's packed quantity is not divisible, the transaction will fail with an error:
Invalid packed quantity for item "[item ID]": [quantity]. The packed quantity must be divisible by the number of items per kit.
Example of valid packing (2 kits, each containing 2× Item A, 1× Item B, 3× Item C):
| Component | Items Per Kit | Packed Quantity | Packed Kits | Valid? |
|---|---|---|---|---|
| Item A | 2 | 4 | 4 ÷ 2 = 2 | Yes |
| Item B | 1 | 2 | 2 ÷ 1 = 2 | Yes |
| Item C | 3 | 6 | 6 ÷ 3 = 2 | Yes |
Kit count shipped = minimum(2, 2, 2) = 2 kits
Example of invalid packing:
| Component | Items Per Kit | Packed Quantity | Packed Kits | Valid? |
|---|---|---|---|---|
| Item A | 2 | 3 | 3 ÷ 2 = 1.5 | No — error |
Partial Kit Shipments
If only some kits are packed and shipped, the connector handles this correctly. The minimum rule ensures only complete kits are reported:
| Component | Items Per Kit | Packed Quantity | Packed Kits |
|---|---|---|---|
| Item A | 2 | 4 | 2 |
| Item B | 1 | 1 | 1 |
Kit count shipped = minimum(2, 1) = 1 kit. The remaining Item A units are not included in this shipment's kit count.
Outbound 810: Invoice
When generating an 810 Invoice for an order with SLN kit items, the connector follows a similar grouping and calculation pattern.
Process
- Group invoiced items by kit — All invoice lines sharing the same kit reference are grouped
- Calculate kit quantity invoiced — The connector looks up the original items-per-kit ratio from the Sales Order and divides the invoiced quantity by that ratio
- Build IT1 + SLN — The 810 IT1 loop uses the kit item identifiers and calculated kit quantity. Each component appears as an SLN segment with its per-kit quantity.
Kit Quantity Calculation
Kit Quantity Invoiced = Total Component Quantity Invoiced ÷ Items Per Kit
The items-per-kit ratio is derived from the original Sales Order: ordered quantity ÷ kits count.
If an order is invoiced across multiple Invoice transactions, the connector sums the invoiced quantities for each component before calculating the kit total.
Choosing the Right Approach
| Consideration | NetSuite Kit Items | Use SLN |
|---|---|---|
| Kit composition is consistent across all trading partners | Best fit | Works, but unnecessary complexity |
| Kit composition varies by trading partner | Requires maintaining multiple kit items | Best fit — 850 is the source of truth |
| Components ship from different warehouses | Not supported natively | Best fit — components are individual SO lines |
| No kit items configured in NetSuite | Not available | Best fit |
| Simplest setup | Yes — no configuration needed | Requires enabling per customer |
Troubleshooting
| Issue | Cause | Resolution |
|---|---|---|
| "Invalid packed quantity" error on 856 | A component's fulfilled quantity is not evenly divisible by its items-per-kit ratio | Adjust the Item Fulfillment so that each component's packed quantity is a multiple of its per-kit quantity |
| SLN segments not appearing on outbound documents | The customer's Use SLN flag is not enabled | Enable the custentity_orderful_use_sln checkbox on the Customer record |
| Kit items processed as individual items on inbound 850 | Use SLN is disabled, or the 850 does not contain SLN segments | Verify the customer flag is enabled and confirm with the trading partner that SLN segments are included in their 850 |
| Incorrect kit quantity on 855/856/810 | Items-per-kit ratio mismatch between the original 850 SLN and the Sales Order lines | Verify the Sales Order line quantities match the expected calculation (SLN qty × kit count) |
| Partial acknowledgment shows fewer kits than expected | The minimum rule applies — the component with the fewest complete kits determines the kit count | This is expected behavior. All components must be acknowledged proportionally to reflect complete kits. |
Updated about 8 hours ago
