<%* 
let value = await tp.system.prompt("Value");
let tolerance = await tp.system.prompt("Description");
let pkg_type = await tp.system.prompt("Package Type (SMD or THC)");
let pkg_size = await tp.system.prompt("Package Size");
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: IC
Value: <% value %>
Description: <% tolerance %>
Package Type: <% pkg_type %>
Package Size: <% pkg_size %>
Quantity: <% qty %>
Supplier: <% supplier %>
Supplier Part: <% supplier_pn %>
Manufacturer: <% mfg_pn %>
Manufacturer Part: <% mfg_pn %>
Local Datasheet: <% local_data %>
Remote Datasheet: <% remote_data %>
Notes:
Status: In-Production
Date Created: <% tp.date.now("DD-MM_MMM-YYYY") %>
---

<%* await tp.file.rename("Component⸬IC-" + tp.date.now("DDMMYYYYHHMMSS")) %>
# IC - <% value %> - <% pkg_type %>

## Stock History
