[Function Expose] Page 5907 Service Item Worksheet Subform - NoOnAfterValidate
Can you please make function NoOnAfterValidate() in Page 5907 Service Item Worksheet Subform External/Global please?
Sorry, after reviewing your suggestion similar to the other function request, we've decided that it isn't something we'll implement.
However, you may call NoOnAfterValidate() by validating one of the other fields that already call NoOnAfterValidate() like the following VALIDATE(Type) or VALIDATE("No.")
Hi @darjoo In contrast to call a validate on a record/table, I don't know how to call a validate trigger of a page. Am I missing something?
Hi @darjoo, @JesperSchulz Sorry to nag on you here. But the workaround you proposed is not working on pages. Can you may be revaluate your decision?
Hi @bleisibach, My apologies for missing the previous message. I've spoken with @JesperSchulz about this issue and we're avoiding exposing business logic on pages. We understand it is badly placed in the first place as it should not be on the page.
As the functions in NoOnAfterValidate are external, you would be able to create a copy of the function wherever you need it. Would that unblock you? If not, please let us know what the specific scenario you are facing and we'll take a look at it.
Hi @darjoo
Thank you for comming back on this. We fully understand that you hesitate to expose business logic on pages.
Your suggestion to build a copy of the function is ok, still we need to make a copy of InsertExtendedText(Unconditionally : Boolean) also, because this function is not Global/External. Can you expose this function even it is on a page? If not, this is not a showstopper or us, we will find a way to copy the functionallity. Thank you.
Hi @bleisibach,
The functions in InsertExtendedText are external, like TransferExtendedText.ServCheckIfAnyExtText, TransferExtendedText.InsertServExtText and TransferExtendedText.MakeUpdate. You would have no problems copying that function.
Hi @darjoo We will do so. Thank you!