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

I'm trying to achieve a scheduled action that will execute the following.


SCHEDULED ACTIONS

Requirement: Change record in Internal Reference field on Partner model for the following 3 scenarios:


SCHEDULED ACTION 1

IF 365 spend = £5000 +, REMOVE EXISTING THEN INSERT [A]; AND IF 365 spend more than previous period THEN INSERT [1] OR IF 365 spend less than previous period THEN INSERT [2]; AND IF less than 365 days since first order THEN INSERT [N]


SCHEDULED ACTION 2

IF 365 spend = £500-£4999.99, REMOVE EXISTING THEN INSERT [B]; AND IF 365 spend more than previous period THEN INSERT [1] OR IF 365 spend less than previous period THEN INSERT [2]; AND IF less than 365 days since first order THEN INSERT [N]


SCHEDULED ACTION 3

IF 365 spend = below £500, REMOVE EXISTING THEN INSERT [C]; AND IF 365 spend more than previous period THEN INSERT [1] OR IF 365 spend less than previous period THEN INSERT [2]; AND IF less than 365 days since first order THEN INSERT [N]



SOME EXAMPLES

Internal ref = A1N - means its top spender, newly partnered with us

Internal ref = B2 - means its a good spender but declining

Internal ref = C1 - means its a low spender but growing.



KEY

A - top spender

B - good spender

C - low spender


1 - growth

2 - decline


365 Spend = Commercial Entity sum untaxed total of invoices or confirmed sales orders in year (which ever is easier to measure)

아바타
취소
베스트 답변

This is a good example. Thanks

아바타
취소
베스트 답변

hi, to to look here, quite good examples. 

https://odootricks.tips/about/building-blocks/server-actions/


아바타
취소
관련 게시물 답글 화면 활동
0
3월 25
1385
4
4월 24
174301
0
12월 23
2186
1
10월 23
8423
5
7월 25
228126