Hello, Folks - Created UE Script on JE location f...
# suitescript
k
Hello, Folks - Created UE Script on JE location field to remove mandatory, while it's loading.. I'm able to to remove mandatory on entry but while saving record, it's still asking Location..
Please enter value(s) for: Location
or
Locations are mandatory on all lines of the journal entry.
l
If "Make Locations mandatory" on Accounting Preferences is checked you can't create any transaction without location filled
k
Can we override through Script ?
s
I wouldn't think so.
l
I don't think so... I guess the only "extremely bad solution" is turn off through script , save and turn it on.... but there are some impacts on financials
If I have to that I would create a generic location and set this as default
k
Thanks guys, seems like we can't do it
r
Are you saving the record via script? If yo are have you tried setting the
ignoreMandatory
(or something like that) option to true