Kbase P10600: Dynamics WEB: AddRow is not working with DynLookup and Dyncombo
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/9/2004 |
|
Status: Unverified
FACT(s) (Environment):
Dynamics 1.1A
SYMPTOM(s):
Default values for fields set in the Dynamic SmartDataObject's logic procedure do not display on the web.
FIX:
Client 4GL logic will not happen, but there are hooks to program the
same logic using Javascript:
1. Attach a JavascriptFile to the SDO (or the container).
2. The SDO will make event calls and if the function exists it will
run it.
The supported SDO events are add, copy, delete, update, validate,
view. The validate and delete events expects a true/false return
value to tell whether to go through with the transaction (ie return
false, means error)
The event functions take the format...
function [sdo_name]_[event](){
Javascript code...
}
ie ..
function customerfullo_add(){
JS-code
}