Quantcast
Channel: MS SQL – Datasummit
Viewing all articles
Browse latest Browse all 11

How to flatten (or ‘explode’) a Syspro Bill Of Material (BOM): recursive loop vs. simple temp table method

$
0
0
Presenting Syspro’s BOMs in a ‘flattened’ (or ‘exploded’) format in Excel or in SQL Server is very handy for doing/checking Costings or doing Advanced Trail Kits. My initial attempt at flattening BOMs was to use the TSQL recursive loop method: WITH FlatBom(ParentPart, Component, BomLevel, RequiredQty) AS ( — Anchor SELECT StockCode AS ‘ParentPart’, StockCode AS […]

Viewing all articles
Browse latest Browse all 11

Trending Articles