Share via


InventBatch.pdsSetShelfLifeBestBeforeFields Method

Sets the shelf life date fields if the dates of the vendor are used.

Syntax

public void pdsSetShelfLifeBestBeforeFields([InventTable _inventTable, boolean _updateNull])

Run On

Called

Parameters

  • _inventTable
    Type: InventTable Table
    An InventTable record that is used for the item that is listed in the InventBatchrecord; otherwise, the current record.
  • _updateNull
    Type: boolean
    A Boolean value that indicates whether to update the date if no production date has been set.

Remarks

This method will indicate whether to use vendor date fields to a NoYes::Yes value. If so the corresponding field will be updated and the related shelf life date field will be recalculated based on this information.

See Also

Reference

InventBatch Table