Revised to move NNNN as a suffix to Payment Receipt rather than a prefix to facilitate filtering a folder for any Payment Receipts it might contain. The value of NNNN (or its replacement) should be available as a receipt variable so it could be included in the body of the receipt to uniquely identify it. For examplegymnastics4, we want to create two variables from the column names: event and year. namespattern is more flexible than namessep because it allows regular expression groups, matching each group with a variable from namesto.
![studiometry variable names studiometry variable names](https://image.slidesharecdn.com/bca-ipicu-2datatypesandvariablesinclanguage-150112020148-conversion-gate01/95/datatypes-and-variables-in-c-language-27-638.jpg)
Alternatively, a globally incrementing receipt number would also be acceptable. Instead of using namessep, we can a related pivotlonger() argument: namespattern. The format must be of the same type as the original variable. ) The format tells SAS what format to apply to the value in the original variable. If the current basis for generating NNNN doesn't preclude duplicate numbering, then a more elegant numbering formulation such as -NNNNĀ (where NNNN is Per Client) should be implemented. To convert numeric values to character, use the PUT function: newvariable put ( originalvariable, format. If the basis for NNNN always produces a unique non-recurring number, then an acceptable file naming convention for either email or export would be Payment Receipt-NNNN.pdf. The default file name used for Email attachment and for Export should have the same file naming convention to avoid confusion. Unless you have a different target folder for each receipt, Studiometry will want to overwrite the previously exported receipt with the one just being exported, or require you to edit the proposed file name before clicking OK.
![studiometry variable names studiometry variable names](https://i.stack.imgur.com/BKD0f.png)
Studiometry variable names pdf#
For the same receipt, if you choose Export, Studiometry generates a PDF with a default file name of Payment Receipt.pdf. The value of NNNN changes for each receipt but the basis of the number selection is not obvious. After creating a Receipt with the new custom Receipt template, if you choose to Email the receipt, Studiometry 12.2 generates a PDF for transmission with the file name NNNN-Studiometry.pdf.