APL |
Tax Managed Models Block Upload |
Tax Managed Models Block Upload
The existing block upload function TAXOPT^BLOCK^UPLOAD is a cover function for the REPALL function PROCESS^UPLOAD^BLOCKS. The existing function uses the SNAM prefix MU and RU for MLM and MRC, respectively, and the block description is “Optimizer Upload.” These defaults should be retained in the event there is no block prefix in the header workflow that may be enhanced to use with a new product for MRC. The workflow remains the same except the input file is different and the block prefix and description have been changed to identify that these blocks are part of the Tax-Managed product.
- The PROCESS^UPLOAD^BLOCKS function will recognize the new file names in addition to the existing “taxopt” files. The New File Naming Convention expected for the TMM process: “{taxopt}.{tmm}.{mrc}_{order}_{creation date}_{creation time}” (Formatted ccyymmdd and hhmmss)
Example: “taxopt.tmm.mrc_order_20210824_090000” - The enhanced PROCESS^UPLOAD^BLOCKS will allow for a block upload that the client will send in a new file
- The enhancement is globally configurable(MLM and MRC will be added to box in)
- The file that the client sends for the upload will contain new data points: Block SNAM and Block Description will be in the header record of the file.
Header: The optional block SNAM prefix will be alphanumeric. No extraneous characters (i.e., &^%$#@ etc) are permissible - Block SNAM prefix is MU and RU for MLM and MRC in the existing function( PROCESS^UPLOAD^BLOCKS), respectively, and the block description is “Optimizer Upload.” These defaults are retained in the event there is no block prefix in the header.
Header Details
As mentioned previously, the default values for the block SNAM prefix are MU and RU for MLM and MRC, respectively, and the block description is “Optimizer Upload”. To use these default values, nothing needs to be included in the header.
If the client wants to overwrite the default values and wants the block SNAM prefix to be YZ, for example, then YZ needs to be included in the file header.
- If the file header looks like this: HMLM20210727, the block SNAM prefix will be MU (the default value for MLM) and the description will be Optimizer Upload (the default description)
- If the file header looks like this: HMLM20210727YZ, the block SNAM prefix will be YZ and the description will be Optimizer Upload (the default description)
- If the file header looks like this: HMLM20210727 ABC Block Upload, the block SNAM prefix will be MU (the default value for MLM) and the description will be ABC Block Upload
- If the file header looks like this: HMLM20210727YZ ABC Block Upload, the block SNAM prefix will be YZ and the description will be ABC Block Upload
Below is a sample file with the new Header line:
HMRC20210824TMTESTTMM
O,90563800,2,09857L108,20210824,
O,90563800,10,166764100,20210824,
TRECORD COUNT00004
A sample Block Order Status with new "TM” blocks loaded will look like this:
Rejection and log file names are as follows:
- taxopt.tmm.mrc_order_20210824_090000.reject
- taxopt.tmm.mrc_order_20210824_090000.load