<%* 
let gauge = await tp.system.prompt("Wire Gauge");
let cond_no = await tp.system.prompt("Conductors");
let shld = await tp.system.prompt("Shield Type");
let jkt = await tp.system.prompt("Jacket Type");
let fire = await tp.system.prompt("Fire Rating");
let dia = await tp.system.prompt("Overall Diameter");
let drn = await tp.system.prompt("Drain Wire? (true/false)");
let qty = await tp.system.prompt("Quantity");
let supplier = await tp.system.prompt("Supplier");
let supplier_pn = await tp.system.prompt("Supplier P/N");
let mfg_pn = await tp.system.prompt("Manufacturer");
let mfg_pn = await tp.system.prompt("Manufacturer P/N");
let local_data = await tp.system.prompt("Local Datasheet");
let remote_data = await tp.system.prompt("Remote Datasheet");
-%>
---
Type: Component
Component: Cable
Gauge: <% gauge %>
Conductors: <% cond_no %>
Sheild: <% shld %>
Jacket: <% jkt %>
Fire Rating: <% fire %>
Overall Diameter: <% dia %>
Drain Wire: <% drn %>
Quantity: <% qty %>
Supplier: <% supplier %>
Supplier Part: <% supplier_pn %>
Manufacturer: <% mfg_pn %>
Manufacturer Part: <% mfg_pn %>
Local Datasheet: <% local_data %>
Remote Datasheet: <% remote_data %>
Description:
Notes:
Status: In-Production
Date Created: <% tp.date.now("DD-MM_MMM-YYYY") %>
---

<%* await tp.file.rename("Component⸬Cable-" + tp.date.now("DDMMYYYYHHMMSS")) %>
# Cable - <% mfg_pn %> - <% cond_no %>/<% gauge %>

## Stock History
