I am in the process of debugging an issue where the target system has the same option defined as an EDIT type option (forgive me is some terms are off; I am trying t recall from memory.) So the target system's option has the fields DIC, DIE and FLDS defined.
In my development account, I changed the option from type 'Edit' to type 'Run Routine'. You can see the basic structure of the option below: there are no definitions for DIC, DIE or FLDS. Just a bare bones run routine option type.
I export the option using KIDS. I specify SEND TO SITE as the action to be taken on the target system.
I EXPECT the option being exported to replace (purge the option on the target system and lay in the option fro the development system) the same option on the target system.
Cutting to the chase the proble is that SEND TO SITE acts like a MERGE on the target system. The target system is updated: TYPE ('R') and RUN ROUTINE (EN^ZZROU) are filed on the target system.
The problem is that the fields DIC, DIE and FLDS remain as they were defined before the installation of the KIDS build. My assumption is that "0^3" is being treated as a MERGE ('3') as opposed to a SEND TO SITE ('0').
I am not sure why that would be.
Any ideas are welcomed.
Thanks!
^XTMP("XPDI",rec #,"KRN",19,rec #,-1)="0^3"
^XTMP("XPDI",rec #,"KRN",19,rec #,0)="option name^option text^^R^^^^^^^^"
^XTMP("XPDI",rec #,"KRN",19,rec #,1,0)="19.06^2^2^3161209^^^"
^XTMP("XPDI",rec #,"KRN",19,rec #,1,1,0)="line one of option description"
^XTMP("XPDI",rec #,"KRN",19,rec #,1,2,0)="line two of option description"
^XTMP("XPDI",rec #,"KRN",19,rec #,25)="EN^ZZROU" <-- run routine option type
^XTMP("XPDI",rec #,"KRN",19,rec #,"U")="OPTION TEXT"