STP generation fails on 20.10.90

The error is a longstanding typo in the localisation, variables in liquid are case sensitive “name” needs to be replaced by “Name”. My more extensive thread describing required improvements and current limitations got deleted.
See the link in the top of this post JOBKEEPER-TOPUP and STP - #15 by Patch

Edit.
Quick test with v20.10.89 shows a new line is no longer being inserted before each employees data. It now inserts the text “\n” instead of char(10) (previously hidden in a string constant). Something like this may help https://community.shopify.com/c/Shopify-Design/Adding-newline-quot-n-quot-not-lt-br-gt-to-text-string-in-liquid/td-p/215995 Unfortunately

  • the solution doesn’t work in the Layout section as layout information is also captured.
  • Defining newLine in the Script section does assign newLine = char(10) but doesn’t do anything when building the cvs variable in the layout section

Script

{% capture newLine %}
{% endcapture %}

Layout

{% capture csv %}{{ csv }}{{ newLine }}{{ abn }},  ...

It is also putting the captured text and date variable values in quotes and then putting a escape sequence before the quotes for example pay roll employee number 100 was recorded as

,"100",

is now appearing in the cvs file as

,\"100\",

I haven’t tried testing to see which version first introduced this error.