Overview
loadsheets appends rows to an existing Excel “template” file from one or more
Excel “source” files as directed by a configuration file.
This approach provides a simple, automated way to create “loadsheets” of new product information as required by several industry retailers and distributors.
Features
-
Excel (xlsx) and CSV files are used for source data.
-
Excel (xlsx) files are used for template layout (and final output).
-
Multiple source files (or worksheets) can be used (joined together by part number).
-
Coded (“stacked”) data sources are supported (e.g. multiple rows per part number: Part, Code, Description).
-
Console application allows automated processing.
-
Data validation at the field level.
-
Data validation between fields (including conditional requirements).
-
One or more fields may be used for filtering rows with full Boolean expressions.
$LINE_CODE == "XYZ" && $POP_CODE in ["A","B"] -
Option to include runtime parameters for filtering or other conditional validation.
loadsheets -config oreilly.yaml -params "p1=ABC" $LINE_CODE == p1 -
Built-in functions are provided for use in conditional expressions.
$EFF_DATE < Today() $EFF_DATE < Date(p1) -
Log file includes complete error descriptions with cell references (for both input and output identification).
-
Option to highlight any cells with errors in the output file.
-
All output values default to string values, with the ability to force Excel native data types if required.