KVSKBAMandatoryCheckField
Fields
| Name | Type | Note |
|---|---|---|
| Table No. | Integer | |
| Field No. | Integer | |
| Field Caption | Text[100] | FlowField |
| Condition Field No. | Integer | |
| Condition | Text[50] | |
| Condition Field Caption | Text[100] | FlowField |
| Activity | Option | OptionMembers: Note,Abort |
Events
OnLookUpField(Integer, Boolean) :
Summary: Event raised before looking up a field in the mandatory field setup.
[IntegrationEvent(false, false)]
local procedure OnLookUpField(var FieldIDVar: Integer; HandledPar: Boolean):
Parameters:
FieldIDVar: The ID of the field being looked up.HandledPar: Set to true if the event has been handled and the default lookup should be skipped.
Remarks: Use this event to implement custom lookup logic for the field. Set HandledPar to true to prevent the standard lookup logic from executing.
OnConditionLookupHandleLookup(Text[50], Integer, Boolean) :
Summary: Event raised before handling the lookup for the condition field in the mandatory field setup.
[IntegrationEvent(false, false)]
local procedure OnConditionLookupHandleLookup(var ConditionText: Text[50]; FieldNo: Integer; var IsHandled: Boolean):
Parameters:
ConditionText: The text of the condition being looked up.FieldNo: The ID of the field associated with the condition.IsHandled: Set to true if the event has been handled and the default lookup should be skipped.
Remarks: Use this event to implement custom lookup logic for the condition field. Set IsHandled to true to prevent the standard lookup logic from executing.