Skip to content

KVSFCYProdBOMWhereUsed#

Procedures#

SetProdBOM(Record Production BOM Header, Date) :#

Summary: Sets the production BOM header and calculation date for analyzing where-used relationships. This configures the page to show where the specified production BOM is used.

procedure SetProdBOM(NewProdBOM: Record "Production BOM Header"; NewCalcDate: Date): 

Parameters:

  • NewProdBOM: Production BOM header record to analyze for where-used relationships
  • NewCalcDate: Date to use for BOM version and validity calculations

SetItem(Record Item, Date) :#

Summary: Sets the item record and calculation date for analyzing where-used relationships. This configures the page to show where the specified item is used in production BOMs.

procedure SetItem(NewItem: Record "Item"; NewCalcDate: Date): 

Parameters:

  • NewItem: Item record to analyze for where-used relationships
  • NewCalcDate: Date to use for BOM version and validity calculations

SetCaption() : Text#

Summary: Generates the page caption based on the current context (production BOM or item). Returns a formatted string containing the number and description of the active record.

procedure SetCaption(): Text

Returns: Caption text showing the number and description of the production BOM or item being analyzed