KVSCCCheckPublic#
Procedures#
RunSalesDocCheck(Record Sales Header, Enum KVSCCProcess) : Boolean#
Summary: First, it is checked that customers are not blocked for all. Then, Sanction Check is called for customer record(s). If Sanction Check failed, customer is blocked. If this check is passed, Sanction Check is called for names and addresses of the sales header.
procedure RunSalesDocCheck(salesHeader: Record "Sales Header"; process: Enum "KVSCCProcess"): Boolean
Parameters:
salesHeader
: Record "Sales Header".process
: Enum KVSCCProcess.
Returns: Return variable isPassed of type Boolean. Function returns false only if Sanction Check fails. If no Sanction Check is necessary, function returns true.
RunServiceDocCheck(Record Service Header, Enum KVSCCProcess) : Boolean#
Summary: First, it is checked that customers are not blocked for all. Then, Sanction Check is called for customer record(s). If Sanction Check failed, customer is blocked. If this check is passed, Sanction Check is called for names and addresses of the service header.
procedure RunServiceDocCheck(serviceHeader: Record "Service Header"; process: Enum "KVSCCProcess"): Boolean
Parameters:
serviceHeader
: Record "Service Header".process
: Enum KVSCCProcess.
Returns: Return variable isPassed of type Boolean. Function returns false only if Sanction Check fails. If no Sanction Check is necessary, function returns true.
RunServiceContractCheck(Record Service Contract Header, Enum KVSCCProcess) : Boolean#
Summary: First, it is checked that customers are not blocked for all. Then, Sanction Check is called for customer record(s). If Sanction Check failed, customer is blocked. If this check is passed, Sanction Check is called for names and addresses of the service contract.
procedure RunServiceContractCheck(servContractHeader: Record "Service Contract Header"; process: Enum "KVSCCProcess"): Boolean
Parameters:
servContractHeader
: Record "Service Contract Header".process
: Enum KVSCCProcess.
Returns: Return variable isPassed of type Boolean. Function returns false only if Sanction Check fails. If no Sanction Check is necessary, function returns true.
RunPurchDocCheck(Record Purchase Header, Enum KVSCCProcess) : Boolean#
Summary: First, it is checked that vendors are not blocked for all. Then, Sanction Check is called for vendor record(s). If Sanction Check failed, vendor is blocked. If this check is passed, Sanction Check is called for names and addresses of the purchase header.
procedure RunPurchDocCheck(purchHeader: Record "Purchase Header"; process: Enum "KVSCCProcess"): Boolean
Parameters:
purchHeader
: Record "Purchase Header".process
: Enum KVSCCProcess.
Returns: Function returns false only if Sanction Check fails. If no Sanction Check is necessary, function returns true. Return variable isPassed of type Boolean.
RunWhseShptCheck(Record Warehouse Shipment Header, Enum KVSCCProcess) : Boolean#
Summary: First, it is checked that no customer is blocked for all (for sales orders, service orders, and transfer orders to sales consignment locations). Then, Sanction Check is called for customer records. If Sanction Check failed, customers are blocked. If check is passed for all customers, Sanction Check is called for names and addresses of the sales orders, service orders, and transfer orders.
procedure RunWhseShptCheck(whseShptHeader: Record "Warehouse Shipment Header"; process: Enum "KVSCCProcess"): Boolean
Parameters:
whseShptHeader
: Record "Warehouse Shipment Header".process
: Enum KVSCCProcess.
Returns: Return variable isPassed of type Boolean. Function returns false only if Sanction Check fails. If no Sanction Check is necessary, function returns true.
RunWhseRcptCheck(Record Warehouse Receipt Header, Enum KVSCCProcess) : Boolean#
Summary: First, it is checked that no vendor is blocked for all (for purchase orders). Then, Sanction Check is called for vendor records. If Sanction Check failed, vendors are blocked. If check is passed for all vendors, Sanction Check is called for names and addresses of the purchase orders.
procedure RunWhseRcptCheck(whseRcptHeader: Record "Warehouse Receipt Header"; process: Enum "KVSCCProcess"): Boolean
Parameters:
whseRcptHeader
: Record "Warehouse Receipt Header".process
: Enum KVSCCProcess.
Returns: Return variable isPassed of type Boolean. Function returns false only if Sanction Check fails. If no Sanction Check is necessary, function returns true.