Codeunit 18060025 EOS089 WMS User Activity Mgmt.

Codeunit 18060025 EOS089 WMS User Activity Mgmt.

Methods

BuildLocationFilterForActivity

procedure BuildLocationFilterForActivity(var EOS089WMSUserActivity: Record "EOS089 WMS User Activity") LocationFilter: Text

Parameters / Return Value

  • EOS089WMSUserActivity Record "EOS089 WMS User Activity"

  • Returns Text[]


BuildLocationFilterForActivity

procedure BuildLocationFilterForActivity(var EOS089WMSUserActivity: Record "EOS089 WMS User Activity"; CurrentFilter: Text) LocationFilter: Text

Parameters / Return Value

  • EOS089WMSUserActivity Record "EOS089 WMS User Activity"

  • CurrentFilter Text[]

  • Returns Text[]


GetUserActivity

procedure GetUserActivity(EmployeeNo: Text; ActivityTypeText: Text; ThrowError: Boolean; var EOS089WMSUserActivity: Record "EOS089 WMS User Activity"): Boolean

Parameters / Return Value

  • EmployeeNo Text[]

  • ActivityTypeText Text[]

  • ThrowError Boolean

  • EOS089WMSUserActivity Record "EOS089 WMS User Activity"

  • Returns Boolean


GetUserActivityFieldsList

procedure GetUserActivityFieldsList(EmployeeNo: Code[20]; ActivityType: Enum "EOS089 WMS Activity Type"; TableNo: Integer; var FieldsList: Record "EOS089 WMS User Act. Field" temporary; var ListFields: Boolean; var DetailFields: Boolean): Boolean

Parameters / Return Value

  • EmployeeNo Code[20]

  • ActivityType Enum "EOS089 WMS Activity Type"

  • TableNo Integer

  • FieldsList Record "EOS089 WMS User Act. Field"

  • ListFields Boolean

  • DetailFields Boolean

  • Returns Boolean


GetUserActivityFieldsList

procedure GetUserActivityFieldsList(EOS089WMSUserActivity: Record "EOS089 WMS User Activity"; TableNo: Integer; var FieldsList: Record "EOS089 WMS User Act. Field" temporary; var ListFields: Boolean; var DetailFields: Boolean): Boolean

Parameters / Return Value

  • EOS089WMSUserActivity Record "EOS089 WMS User Activity"

  • TableNo Integer

  • FieldsList Record "EOS089 WMS User Act. Field"

  • ListFields Boolean

  • DetailFields Boolean

  • Returns Boolean


GetUserActivityFieldsAsJsonArray

procedure GetUserActivityFieldsAsJsonArray(EOS089WMSUserActivity: Record "EOS089 WMS User Activity"; SourceVariant: Variant; ActivityFieldClass: Enum "EOS089 WMS Act. Field Class"; var FieldsList: Record "EOS089 WMS User Act. Field" temporary) JsonFields: JsonArray

Parameters / Return Value

  • EOS089WMSUserActivity Record "EOS089 WMS User Activity"

  • SourceVariant Variant

  • ActivityFieldClass Enum "EOS089 WMS Act. Field Class"

  • FieldsList Record "EOS089 WMS User Act. Field"

  • Returns JsonArray


CheckMandatoryFields

procedure CheckMandatoryFields(EmployeeNo: Code[20]; Activity: Enum "EOS089 WMS Activity Type"; SourceVariant: Variant)

Parameters / Return Value

  • EmployeeNo Code[20]

  • Activity Enum "EOS089 WMS Activity Type"

  • SourceVariant Variant


Events

OnManageUserActivityField

local procedure OnManageUserActivityField(EOS089WMSUserActivity: Record "EOS089 WMS User Activity"; SourceRecordRef: RecordRef; UserActivityField: Record "EOS089 WMS User Act. Field" temporary; var FieldValue: Variant; var IsHandled: Boolean)

Parameters / Return Value

  • EOS089WMSUserActivity Record "EOS089 WMS User Activity"

  • SourceRecordRef RecordRef

  • UserActivityField Record "EOS089 WMS User Act. Field"

  • FieldValue Variant

  • IsHandled Boolean


OnCheckMandatoryFieldByFieldValue

local procedure OnCheckMandatoryFieldByFieldValue(RecordRef: RecordRef; FieldRef: FieldRef; EOS089WMSUserActField: Record "EOS089 WMS User Act. Field"; FieldValue: Variant; var IsHandled: Boolean)

Parameters / Return Value

  • RecordRef RecordRef

  • FieldRef FieldRef

  • EOS089WMSUserActField Record "EOS089 WMS User Act. Field"

  • FieldValue Variant

  • IsHandled Boolean


OnCheckMandatoryFieldByCustomValue

local procedure OnCheckMandatoryFieldByCustomValue(RecordRef: RecordRef; EOS089WMSUserActField: Record "EOS089 WMS User Act. Field"; FieldValue: Variant; var IsHandled: Boolean)

Parameters / Return Value

  • RecordRef RecordRef

  • EOS089WMSUserActField Record "EOS089 WMS User Act. Field"

  • FieldValue Variant

  • IsHandled Boolean



EOS Labs -