Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Answered

Update a field value A by counting b and even field value b is deleted count with next updated value

Posted on by 5,005

Hi, 

I have field line item number and sequence number .in entity order line 

First order line created will have i=10 

Each new order line will have i+10.

like 10+10 =20 

20+10=30 

Now if an order line is deleted via integration 

The subsequent order line won't have value changed for line item number 

Eg second line item deleted 3rd line will continue to have a line item number 

Eg 30+10 

This should be achieved via plugin and this is ASAP 

Any immediate help will be appreciated and marked as verified 

TIA

Categories:
  • ankit_singhal Profile Picture
    ankit_singhal 560 on at
    RE: Update a field value A by counting b and even field value b is deleted count with next updated value

    www.linkedin.com/.../ankit-singhal-1bb7a632

  • sandeepc Profile Picture
    sandeepc 5,005 on at
    RE: Update a field value A by counting b and even field value b is deleted count with next updated value

    Any other suggestions

  • sandeepc Profile Picture
    sandeepc 5,005 on at
    RE: Update a field value A by counting b and even field value b is deleted count with next updated value

    Ur LinkedIn ID pls

  • Verified answer
    ankit_singhal Profile Picture
    ankit_singhal 560 on at
    RE: Update a field value A by counting b and even field value b is deleted count with next updated value

    I did not have any examples right now but can guide you. please ping me on linkedin

  • sandeepc Profile Picture
    sandeepc 5,005 on at
    RE: Update a field value A by counting b and even field value b is deleted count with next updated value

    @Ankit singhal

  • sandeepc Profile Picture
    sandeepc 5,005 on at
    RE: Update a field value A by counting b and even field value b is deleted count with next updated value

    If this can be achieved using power automate .. any screenshot of steps will be helpful

  • sandeepc Profile Picture
    sandeepc 5,005 on at
    RE: Update a field value A by counting b and even field value b is deleted count with next updated value

    Can you/anyone help with plugin how to achieve it .

    TIA

  • Verified answer
    ankit_singhal Profile Picture
    ankit_singhal 560 on at
    RE: Update a field value A by counting b and even field value b is deleted count with next updated value

    Yes you can achieve this via plugin or power automate but you need to store current number in  a field on a parent entity or new custom related entity. And you need tio pick lastest number from that field only so if the last record is deleted there is no chnage in the current number.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans