Skip to content

KVSMEDProcessLib#

Procedures#

CreateProcessPeriod(Record KVSMEDProcess, Record KVSMEDProcessPeriod, Code[15], Code[4], Code[30]) :#

Summary: Creates a new process period for a given contract. The period is initialized and its participant fields are filled with data from the contract number, contract version number, and contract period. The process period is then validated and modified accordingly.

procedure CreateProcessPeriod(KVSMEDProcess: Record "KVSMEDProcess"; var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; ContractNo: Code[15]; ContractVersionNo: Code[4]; ContractPeriod: Code[30]): 

Parameters:

  • KVSMEDProcess: The process by which the process period is initialized
  • KVSMEDProcessPeriod: The created process period record which is already inserted into the database
  • ContractNo:
  • ContractVersionNo:
  • ContractPeriod:

UpdateBillingScheduleForProcessPeriod(Record KVSMEDProcessPeriod) :#

Summary: Updates the billing schedule for a given process period. If the use of billing schedule is not enabled, the procedure will exit. Otherwise, it creates or updates the billing schedule lines for the process period using the Billing Schedule Library.

procedure UpdateBillingScheduleForProcessPeriod(KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"): 

Parameters:

  • KVSMEDProcessPeriod: