Using product's shelf life
In 1C:Drive, the value of a product's "Shelf life" attribute is used in the "Available stock by expiration date report".
In the report, the following columns are affected by the "Shelf life" attribute's value:
- "Shelf life" is the value of the product's "Shelf life" attribute
- "Days till expiration" = Expiration date - Current date
("EXPIRED" if Current date > Expiration date) - "Expiration %" = (1 - (Days till expiration / Shelf life )) * 100
("EXPIRED" if Current date > Expiration date)