KVSMEDMandatoryFieldsLibTrade
Procedures
GeneralFieldsCheck(Variant, Boolean) : Boolean
procedure GeneralFieldsCheck(var RecordForCheckVariant: Variant; RunWizzardPage: Boolean): Boolean
EditCust(Record Customer) :
procedure EditCust(var Customer: Record "Customer"):
FinishCustomer(Record Customer, Boolean) :
Summary: This function is for external usage to process mandatory checking and set maintenance status for customer Parameter "RunWizzardPage" gives the choice to run this function with using of the wizzard page and display and rework abort and notes messages. If parameter "RunWizzardPage" is set to false the wizzard will not run only the checks of type "Action" are considered! This function consider also the checking of assigned partner roles.
procedure FinishCustomer(var Customer: Record "Customer"; RunWizzardPage: Boolean):
Parameters:
Customer:RunWizzardPage:
EditVend(Record Vendor) :
procedure EditVend(var Vendor: Record "Vendor"):
EditItem(Record Item) :
procedure EditItem(var Item: Record "Item"):
FinishItem(Record Item, Boolean) :
Summary: This function is for external usage to process mandatory checking and set maintenance status for item Parameter "RunWizzardPage" gives the choice to run this function with using of the wizzard page and display and rework abort and notes messages. If parameter "RunWizzardPager" is set to false the wizzard will not run only the checks of type "Action" are considered!
procedure FinishItem(var Item: Record "Item"; RunWizzardPage: Boolean):
Parameters:
Item:RunWizzardPage:
FinishContact(Record Contact, Boolean) :
Summary: This function starts the mandatory field checking for a contact and according to the status of checks releases the record. This function also consider the assigned partner roles to the contact
procedure FinishContact(var Contact: Record "Contact"; RunWizzardPage: Boolean):
Parameters:
Contact:RunWizzardPage:
FinishShortcollection(Record KVSMEDContactShortcollection, Boolean) :
Summary: This function checks if the maintenance status for contact shortcollection can be marked as completed.
procedure FinishShortcollection(var KVSMEDContactShortcollection: Record "KVSMEDContactShortcollection"; RunWizzardPage: Boolean):
Parameters:
KVSMEDContactShortcollection:RunWizzardPage:
FinishSingleRecord(Variant, Boolean) :
Summary: Procedure to modify mandatory field check for a single record.
procedure FinishSingleRecord(var RecordIncomingVariant: Variant; RunWizzardPage: Boolean):
Parameters:
RecordIncomingVariant:RunWizzardPage:
StartMandFieldCheckOfRecordAndSubrecord(Variant, Boolean) : Boolean
Summary: Procedure to modify mandatory field check for records and subrecords.
procedure StartMandFieldCheckOfRecordAndSubrecord(var RecordIncomingVariant: Variant; RunWizzardPage: Boolean): Boolean
Parameters:
RecordIncomingVariant:RunWizzardPage:
Returns:
Events
OnCheckMaintenanceCompleteOnFinishSNInformation(Record Serial No. Information, Boolean, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnCheckMaintenanceCompleteOnFinishSNInformation(var serialNoInformation: Record "Serial No. Information"; runWizzardPage: Boolean; var MaintenanceCompletedLoc: Boolean):
OnBeforeFindSalespersonsOnFinishCust(Record Customer, Boolean) :
Summary: This event is fired in FinishCustImpl before getting sales persons from customer.
[IntegrationEvent(false, false)]
local procedure OnBeforeFindSalespersonsOnFinishCust(var Customer: Record "Customer"; var IsHandled: Boolean):
Parameters:
Customer:IsHandled:
OnBeforeFinishContact(Record Contact, Boolean, Boolean) :
Summary: Raised in before the mandatory field checks are processed for a contact. Subscribe to this event to run custom logic before finishing the contact or to skip the default processing by setting to true.
[IntegrationEvent(false, false)]
local procedure OnBeforeFinishContact(var Contact: Record "Contact"; var RunWizzardPage: Boolean; var IsHandled: Boolean):
Parameters:
Contact: The contact record that is about to be finished.RunWizzardPage: Specifies whether the mandatory field check wizard page should be displayed. Can be changed by the subscriber.IsHandled: Set to true to skip the default FinishContactImpl logic.
OnBeforeFinishShortcollection(Record KVSMEDContactShortcollection, Boolean, Boolean) :
Summary: Raised in before the mandatory field checks are processed for a contact shortcollection. Subscribe to this event to run custom logic before finishing the shortcollection or to skip the default processing by setting to true.
[IntegrationEvent(false, false)]
local procedure OnBeforeFinishShortcollection(var KVSMEDContactShortcollection: Record "KVSMEDContactShortcollection"; var RunWizzardPage: Boolean; var IsHandled: Boolean):
Parameters:
KVSMEDContactShortcollection: The contact shortcollection record that is about to be finished.RunWizzardPage: Specifies whether the mandatory field check wizard page should be displayed. Can be changed by the subscriber.IsHandled: Set to true to skip the default FinishShortcollectionImpl logic.