Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

showing Available inventory field on batches form

Posted on by 3,024

2350.BatchesForm.pngOn-hand-form.png

Dear Experts,

I want to show one column either Available Physical or Physical Inventory (On-hand form)on batches form . please check the above images.

Best Regards,

Shabir Ahmad

  • Suggested answer
    Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,089 on at
    RE: showing Available inventory field on batches form

    Hi Shabir,

    In this case, you need to clear Dynalinks for InventSum data source on init method

    if (callerInventBatch)
    {
        this.query().dataSourceName(this.name()).clearDynalinks();
    }

  • Shabir Ahmad Profile Picture
    Shabir Ahmad 3,024 on at
    RE: showing Available inventory field on batches form

    1055.BatchesForm.png

    Hi  Sergei Minozhenko,

    Thanks for your reply, i want to show physical inventory or available physical column on batches form from On-Hand form. It will be a display method to show physical inventory or available physical column on batches for all items. Please check the image to clear the idea.

    Best Regards,

    Shabir Ahmad

  • Suggested answer
    Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,089 on at
    RE: showing Available inventory field on batches form

    Hi Shabir,

    You can hide columns in code by caller form or record. In case of InventBatch there is already if for Batched.

    All you need is to activate property "AutoDeclaration" on columns you want to hide and then hide them in code by setting visible property to false.

    if (element.args().record()
        && element.args().record().TableId == tableNum(InventBatch))
    {
        PhysicalInvent.visible(false);
        ...
    }

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

Product updates

Dynamics 365 release plans