KVSMEDProcessRelease#
Procedures#
OnRun#
procedure OnRun(Rec: Record "KVSMEDProcessPeriod")
Code(Record KVSMEDProcessPeriod) :#
Summary: Releases the given process period
procedure Code(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"):
Parameters:
KVSMEDProcessPeriod
:
SetStatusInLines(Record KVSMEDProcessPeriod, Boolean) :#
Summary: Sets the status in lines based on the given process period and release flag. It uses the implementation method SetStatusInLinesImpl to perform the action. The process period for which the status needs to be set in lines. The flag indicating whether to release the status or not.
procedure SetStatusInLines(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; DoRelease: Boolean):
Parameters:
KVSMEDProcessPeriod
:DoRelease
:
UpdateProcessPeriodInfoRequest(Record KVSMEDProcessPeriod, Boolean) :#
Summary: Updates the process period information request. This procedure automatically creates info requests if no schedule line is open. The procedure first checks if any delivery schedule lines is open. If not, it proceeds to check if any billing schedule lines is also opened. If both conditions are met, the procedure handles all process information. For each process information, it filters the corresponding info request header. If the process information indicates a delivery or billing block, the procedure sets the respective range in the info request header. The procedure then creates a request by process info. This procedure is repeated for all process information. Finally, the procedure updates the status in related tables.
procedure UpdateProcessPeriodInfoRequest(KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; ShowError: Boolean):
Parameters:
KVSMEDProcessPeriod
:ShowError
: