Skip to content

KVSTRD Item Repl. Where-Used#

Procedures#

SetCaption() : Text#

Summary: Sets the caption of the page, depending on whether you are working with items or item variants.

procedure SetCaption(): Text

Returns: The combined text consisting of the item no., the variant (if applicable) and the description.

SetItem(Record Item, Date) :#

Summary: Sets the item record for this page.

procedure SetItem(Item: Record "Item"; CalculationDate: Date): 

Parameters:

  • Item: The item record for which the usage should be calculated.
  • CalculationDate: If this date parameter differs from 0D, the field "Starting Date" of the table "KVSTRD Item Replacement Line" is filtered up to this date.

SetItemVariant(Record Item Variant, Date) :#

Summary: Sets the item variant record for this page.

procedure SetItemVariant(ItemVariant: Record "Item Variant"; CalculationDate: Date): 

Parameters:

  • ItemVariant: The item variant record for which the usage should be calculated
  • CalculationDate: If this date parameter differs from 0D, the field "Starting Date" of the table "KVSTRD Item Replacement Line" is filtered up to this date.