Find Jobs
Hire Freelancers

APEX Scheduled Class -- 2

€30-250 EUR

完了済み
投稿日: 9年以上前

€30-250 EUR

完了時にお支払い
REQUIREMENTS 1) Write an Apex class checkLeadAutoKillStatus which: 1.1) can be scheduled to run every DAY 1.2) selects all Leads with (Age__c>90 AND Last_activity_age__c>30) and sets the field Lead.ToBeKilled__c=True 2) Write an Apex class checkContactAutoKillStatus which: 2.1) can be scheduled to run every DAY 2.2) selects all Contacts with (Age__c>90 AND Last_activity_age__c>30) and sets the field Contact.ToBeKilled__c=True Trigger will have to work with bulk changes (tested with 200 changes) and be fully tested (100% coverage). TEST CLASSES checkLeadAutoKillStatusTest checkContactAutoKillStatusTest TRIGGER CLASSES checkLeadAutoKillStatus (100% coverage required) checkContactAutoKillStatus (100% coverage required) OTHER ITEMS: XXXXXXX TEST CASES 1) generate a database with 10000 leads and 10000 contacts 2) 1000 leads have to have last activity age = 29 and age = 88 3) 2000 leads have to have last activity age = 29 and age = 91 4) 3000 leads have to have last activity age = 31 and age = 89 5) 4000 leads have to have last activity age = 31 and age = 91 6) 1000 contacts have to have last activity age = 29 and age = 88 7) 2000 contacts have to have last activity age = 29 and age = 91 8) 3000 contacts have to have last activity age = 31 and age = 89 9) 4000 contacts have to have last activity age = 31 and age = 91 10) run the scheduled apex classes checkLeadAutoKillStatusTest 11) the number of leads with ToBeKilled__c=true has to be 4000 12) run the scheduled apex classes checkContactAutoKillStatusTest 13) the number of contacts with ToBeKilled__c=true has to be 4000 14) wait one day 15) run the scheduled apex classes checkLeadAutoKillStatusTest 16) the number of leads with ToBeKilled__c=true has to be 9000 17) run the scheduled apex classes checkContactAutoKillStatusTest 18) the number of contacts with ToBeKilled__c=true has to be 9000 19) wait one day 20) run the scheduled apex classes checkLeadAutoKillStatusTest 21) the number of leads with ToBeKilled__c=true has to be 10000 22) run the scheduled apex classes checkContactAutoKillStatusTest 23) the number of contacts with ToBeKilled__c=true has to be 10000
プロジェクト ID: 6650068

プロジェクトについて

1個の提案
リモートプロジェクト
アクティブ 10年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
Nie złożono jeszcze oferty.
€70 EUR 3日以内
5.0 (1 レビュー)
3.5
3.5

クライアントについて

ITALYのフラグ
Milano, Italy
4.6
8
お支払い方法確認済み
メンバー登録日:10月 11, 2011

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。