콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
5510 화면

I have products with an expiry date. The amount of days are stored in a field (product model).

Is it possible to calculate this amount of days to a field (type of date) without any module changes?

The expiry date has to be shown in a delivery order. I tried several things with ReportDesigner in LibreOffice... something using timedelta-function but that was not working in LibreOffice.

Is there another way? Maybe a solution by using xml?

아바타
취소
베스트 답변

One solution is to leverage serial numbers (really lot numbers).

Each can have a 'best before date', and an 'end of life date' which can probably easily be shown alongside the product on each line.

You need to enable 'Track serial number on products' and 'Expiry date on serial numbers' under

Settings --> Configuration --> Warehouse

Each time you deliver goods, you assign each product that expires to a serial number. The serial number already shows up on the Delivery Order PDF so the other properties of the serial number should be available.

Haven't tried.

아바타
취소
작성자

Thanks, that helped me a lot.

베스트 답변

Yes, you can create a trigger or stored procedure in the database to do that.

아바타
취소
관련 게시물 답글 화면 활동
1
3월 15
7344
1
11월 22
3226
3
11월 21
25872
1
8월 21
3524
3
5월 16
10258