Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
function fieldsOnDefault(){ return "MEFIELDNAME"; }
function getDefaultValueOfMEFIELDNAME (){ return "MODULEID.MEFIELDNAME"; } 


An

...

example

...

of

...

a

...

complete

...

onSave

...

query

...

with

...

header

...

and

...

footer

...

information

...

and

...

nonconditional

...

data

...

is

...

as

...

follows:

...

 

Code Block
<html><head><title>onSaveExample1</title>
<script type="text/javascript">
function fieldsOnDefault(){ return "CUSTTXT08"; }
function getDefaultValueOfCUSTTXT08(){ return "2.ACCTXT01"; }
</script></head><body></Body><body></html>


where:

  • fieldsOnDefault lists the field (in this example, CUSTTXT08) that is to be updated in the MEFIELDNAME parameter. The code in onSave example 1 is as follows: function fieldsOnDefault(){ return "CUSTTXT08"; }

...