Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

AIF: Add "supplementary items" to sales order using

Posted on by 1,169

Hi,

Greetings!

I have an AIF service to create sales orders which is working fine.

I have to add "supplementary items" to the sales order.

I added a parm method of type list to the "SCA_AxdSalesOrder_SalesLine" and "AxSalesLine" classes with relevant code.

I have refreshed the services metadata using the "AIFServices" form and updated the service reference.

But the method is still not available to assign values.

Is there any other standard way to achieve this? Else, could you suggest what might be going wrong here?

Your help is appreciated!

Regards,

Abhinay

*This post is locked for comments

  • Abhinay Tharwal Profile Picture
    Abhinay Tharwal 1,169 on at
    RE: AIF: Add "supplementary items" to sales order using

    Hi,

    I Have added a field on the SalesLine table to act as a reference and link between sales line item and the supplementary items.

    I will update here once it is successful.

    Any suggestion is highly appreciated!

    Regards,

    Abhinay

  • Abhinay Tharwal Profile Picture
    Abhinay Tharwal 1,169 on at
    RE: AIF: Add "supplementary items" to sales order using

    Thanks Max!

    I will try that. Any thoughts on my approach on addition of "supplementary items"?

    Regards,

    Abhinay

    Update: [quote user="Max Hentschel"]

    Go to AIF Global Endpoint settings (Form: AifGlobalSettings) and disable "Enable runtime caching" 

    2. Delete the content of Table AIFRuntimeCache  

    3. Refresh your service 

    4. try again.

    [/quote]

    The newly added 'parm' methods are still not available.

  • Max Hentschel Profile Picture
    Max Hentschel 70 on at
    RE: AIF: Add "supplementary items" to sales order using

    Hi,

    can you try the following: 

    1. Go to AIF Global Endpoint settings (Form: AifGlobalSettings) and disable "Enable runtime caching" 

    2. Delete the content of Table AIFRuntimeCache  

    3. Refresh your service 

    4. try again.

    Hope this helps  

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans