Skip to content

KVSFCYWIPCalculateReqLines#

Procedures#

SetTemplAndWorksheet(Code[10], Code[10]) :#

Summary: Sets the general journal template and worksheet names for WIP rating calculation processing. This procedure configures the target journal where WIP rating entries will be generated during the calculation process. Must be called before running the report to specify the correct journal destination for generated entries.

procedure SetTemplAndWorksheet(TemplateName: Code[10]; WorksheetName: Code[10]): 

Parameters:

  • TemplateName: The code of the general journal template to use for WIP rating entries. Must exist in the General Journal Template table.
  • WorksheetName: The code of the general journal batch/worksheet to use for WIP rating entries. Must exist within the specified template.

InitializeRequest(Date, Date) :#

Summary: Initializes the date range for WIP (Work in Progress) calculation processing. This procedure programmatically sets the period boundaries for calculating WIP rating requirement lines. The date range determines which project activities and costs are included in the WIP calculation.

procedure InitializeRequest(StartDate: Date; EndDate: Date): 

Parameters:

  • StartDate: The starting date of the calculation period. Defines the beginning of the WIP assessment timeframe.
  • EndDate: The ending date of the calculation period. Defines the end of the WIP assessment timeframe and must not be before the start date.