...
Open Web Panel Designer
Navigate to eagle > star > reference > Add/List Issue
Open Multiple Leg Swap and change to Overlay edit mode
Click the …LISTBOX tab
Under the Link ID column, locate 3931i
In the first Script section, remove L1551 and L10142 from the “Before” line below
Before:
IF :4590: != "C" THEN SET(L14,L1432,L38,L1551,L10142,L3997,L3998);
After:
IF :4590: != "C" THEN SET(L14,L1432,L38,L3997,L3998);
Under the Link ID column, locate 1551i
Comment out the whole existing Script section:
Code Block 1551i !Script 1551i !Defentry :1551: 1551i !class global 1551i !Text Loop(:vi:, :0:1551:, :0:1551:) [ 1551i !Text Loop(:vl:, :0:1551:, :0:1551:) [ 1551i !Text IF Not(IsEmpty(:vi:)) AND :vi:!=:vl: THEN FORCE(:vl:,:vi:) 1551i !Text ]; 1551i !Text ]; 1551i !End
Copy and paste the code from the 1551i tab of the attached
spreadsheet before the Script we just commented outView file name Create Security Debt Default Periods Automatically - New Code.xlsx Under the Link ID column, locate 10142i, which should immediately follow 1551i
Comment out the whole section:
Code Block 10142i !Script 10142i !Defentry :10142: 10142i !class global 10142i !Text Loop(:vi:, :0:10142:, :0:10142:) [ 10142i !Text Loop(:vl:, :0:10142:, :0:10142:) [ 10142i !Text IF Not(IsEmpty(:vi:)) AND :vi:!=:vl: THEN FORCE(:vl:,:vi:) 10142i !Text ]; 10142i !Text ]; 10142i !End
Under the Link ID column, locate 7705i
Copy and paste the code from the Multiple Leg Swap tab of the attached
spreadsheet to the endView file name Create Security Debt Default Periods Automatically - New Code.xlsx Save your changes
Step 3: Update Panel for Editing Multi-Leg Swaps
There are separate panels for adding and editing multi-leg swaps. If we want to be able to invoke this process for existing securities, we need to apply similar changes to Edit Multiple Leg Swap (pan-editsecmastermultilegswap.htm).
Open Web Panel Designer
Navigate to eagle > star > reference > Add/List Issue
Open Edit Multiple Leg Swap and change to Overlay edit mode
Click the …LISTBOX tab
Under the Link ID column, locate 3931i
In the fifth Script section, remove L1551 and L10142 from the “Before” line below
Before:
IF (RefRow(:vThisRef:)!=1) THEN SET(L14,L1432,L38,L1551,L10142,L3997,L3998);
After:
IF (RefRow(:vThisRef:)!=1) THEN SET(L14,L1432,L38,L3997,L3998);
Complete items 7-11 from Step 2 above for this panel
Under the Link ID column, locate 7705i
Copy and paste the code from the Edit Multiple Leg Swap tab of the attached
spreadsheet to the endView file name Create Security Debt Default Periods Automatically - New Code.xlsx Save your changes