ValidateDocStateChange
action has to be called for an object of the
appropriate object class (dsvcobjclass
). By means of the state change (dsvcoldstate
, dsvcnewstate
),
this action determines the respective expression (dsvcvalidateexpr
) and evaluates it.
Optionally, the defined signature type (dsvcsigntype
) can be executed.
customize CPDocStateValidateConfig<Case, DS_EDIT, DS_CLOSED> {
dsvcvalidateexpr = expression {
return true;
}
dsvcsigntype = SIGN_CLOSE;
}
string[]
FSCFOLIO@1.1001:CPDocStateValidateConfig(
key ObjectClass
dsvcobjclass,
key DocState
dsvcoldstate,
key DocState
dsvcnewstate,
out retval string[]
dsvcvalidateexpr,
out direct object
dsvcsigntype)
Name |
Description |
dsvcobjclass |
applies to objects of the defined object class
|
dsvcoldstate |
the state of the document before the state change
|
dsvcnewstate |
the state of the document after the state change
|
dsvcvalidateexpr |
an optional Fabasoft app.ducx expression that has to be apply
|
dsvcsigntype |
defines the Signature Type (
dsvcsigntype ) that has to be used after the state has changed |
Additional Information