updated scripts

This commit is contained in:
liphh committed 2026-10-02 22:35:11 +02:00
1 parent 2326f1fbbc
commit 41b55f96c1
118 files changed
+8245 -627

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
<?lsmb# This is a comment block; it's ignored by the template engine.
Version: 1.0
Date: 2021-01-04
File: invoice.894.edi
Set: demo
Template version numbers are explicitly not aligned across templates or
releases. No explicit versioning was applied before 2021-01-04.
-?>
ISA*00* *00* *12*XXXXXXXXXX *01*XXXXXXXXXX *<?lsmb EDI_CURRENT_DATE ?>*<?lsmb EDI_CURRENT_TIME ?>*^*00501*<?lsmb FILTER format('%09d'); id ; END ?>*0*P*>~
GS*DX*7196333434*031958655*<?lsmb EDI_CURRENT_DATE ?>*<?lsmb EDI_CURRENT_TIME ?>*0001*X*005010~
ST*894*<?lsmb id ?>~
G82*<?lsmb IF reverse; 'C'; ELSE; 'X'; END ?>*<?lsmb invnumber ?>*0001*0000*<?lsmb edidate(transdate) ?>~
<?lsmb t_qty = 0; FOREACH n IN number; lc = loop.index; t_qty = t_qty + qty.${lc} -?>
LS*<?lsmb loop.count ?>~
G83*<?lsmb loop.count?>*<?lsmb qty.${lc} ?>*UC*<?lsmb number.${lc} ?>*<?lsmb FILTER format('%.4f'); sellprice.${lc}; END ?>**~
LE*<?lsmb loop.count ?>~
<?lsmb END # FOREACH n in number -?>
G84*<?lsmb t_qty?>*<?lsmb invtotal ?>~
SE*<?lsmb (3 * lc) + 7 ?>*<?lsmb id ?>~
GE*1*0001~
IEA*1*<?lsmb FILTER format('%09d'); id ; END ?>~