Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

List values Does't pass from one job to calss

(0) ShareShare
ReportReport
Posted on by 415

Hi All,

How I can pass list values pass from job to class.

Method having two parameters - 

1 class

2 list object

I try to call the method in the job the list is blank in the class method. 

can anybody help me on this. what is the best approach to pass values from job to class. 

Regards,

Srinivas

*This post is locked for comments

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: List values Does't pass from one job to calss

    its not about best approach. it is about "how its supported"

    e.g. Majority of OOP Languages, have two rules to use a class

    1) using main() method as entry point

    or

    2) create object of class and then using objectName.methodName(ifanyParameters)

    if you will pass an empty List, it will be empty inside class

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans