Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1233 Lượt xem

Hi Guys

I have an automated action running every time i ship a serialized item. This action sets a date of warranty expiration on a date field. In the same time i have a field that i select "Under Warranty". Now i'm trying to find a way to run a scheduled action every day to compare the date field with todays date and if they match then change from  "Under Warranty" to "Warranty Expired"


Any help will be appreciated

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

i see this: model._cron_execute_followup()

how is this going to help me?



Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Take a reference from  Scheduled Actions > Account Report Followup; Execute followup

Ảnh đại diện
Huỷ bỏ