In case view mode and edit mode has different valu...
# general
b
In case view mode and edit mode has different value, what can we do? ie, in lines in Amortization JE, Schedule column shows different value in View mode and Edit mode. If we getValue in userevent script, it returns Edit mode value, but I want view mode value
g
can you share the screens?
b
this is edit mode
@GenDev
In view mode, it shows Amortization Schedule, but in edit mode, it changed to Amortization Template
g
Have you tried to load record in static mode?
b
How can I do that in UE script?
g
get the record id using
context.newRecord.id
and load record in static mode
Copy code
record.load({
 type: ....
 id: context.newRecord.id
 isDynamic: false
})
b
that didn't work
g
you still get same value when you load record in static mode?
b
yes