diff --git a/server/AyaNova/resource/rpt/stock-report-templates/Test API method to get customer data.ayrt b/server/AyaNova/resource/rpt/stock-report-templates/Test API method to get customer data.ayrt
new file mode 100644
index 00000000..79bfab0e
--- /dev/null
+++ b/server/AyaNova/resource/rpt/stock-report-templates/Test API method to get customer data.ayrt
@@ -0,0 +1 @@
+{"Name":"Test API method to get customer data","Active":true,"Notes":"","Roles":124927,"AType":31,"IncludeWoItemDescendants":false,"Template":"\n\n
\n {{#each ayReportData}}\n\n {{ CustomerViz }}
\n Email: {{myCustomerInfo.emailAddress}}\n\n \n \n {{ayJSON this}}\n \n\n
\n\n {{/each}}\n\n\n","Style":"","JsPrerender":"async function ayPrepareData(ayData) {\n\n //Loop through all the records in the raw report data\n for (let i = 0; i < ayData.ayReportData.length; i++) {\n //set a temporary variable to each record to save typing it all out\n let item = ayData.ayReportData[i];\n\n //call into the AyaNova API and get the customer record for this report data's customer id\n const apiResult = await ayGetFromAPI(`customer/${item.CustomerId}`);\n\n //if a result comes back, insert it into the report data so it's available to the template\n if (apiResult) {\n //put the return data customer record on a key in each record called 'myCustomerInfo' (you can call it anything as long as it doesn't conflict with an existing key)\n item.myCustomerInfo = apiResult.data\n }\n }\n return ayData;\n}","JsHelpers":"","RenderType":0,"HeaderTemplate":null,"FooterTemplate":null,"DisplayHeaderFooter":false,"PaperFormat":10,"Landscape":false,"MarginOptionsBottom":null,"MarginOptionsLeft":null,"MarginOptionsRight":null,"MarginOptionsTop":null,"PageRanges":null,"PreferCSSPageSize":false,"PrintBackground":false,"Scale":1.00000}
\ No newline at end of file