I have successfully navigated the ability to add an existing Correspondent to a Case when a new Case is created - if there is only 1 type of that particular Correspondent, as per below:
Code: Select all
PUT( "81623" , {Probate Link.Probate Registry.Correspondent index} )
My next hurdle is how to write some maths to pick up an existing Correspondent and add it to a Correspondent table on a different Linked Case. I have the Name Code (Index Number) of the Correspondent and I know the maths to add records into the table, if the maths is run within that Case Type - but I can't figure out what the maths should be when it's run on a different Case Type?
I have tried the following, but Proclaim doesn't like it! It just freezes and I have to force Proclaim to close.
Code: Select all
TABLECREATE( {Probate Link.DWP Correspondent Table.Table} )
PUT( "2467681" , {Probate Link.DWP.Correspondent index} )
TABLESAVE( {Probate Link.DWP Correspondent Table.Table} )