...
Codeblock | ||
---|---|---|
| ||
OnSelect: function(){
const DocType = ccFields.GetValue("h_documenttype");
if(DocType == "RM" || DocType == "GM"){
if(ccFields.GetValue("h_ordernumber").toString().length = 0)
ccFields.SetState("h_ordernumber", "ccFS_Error", "Belegart hat Bestellbezug");
else
ccFields.SetState("h_ordernumber", "ccFS_Okay", "");
}
} |