web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Want to put 'not equal' condition on the relation

(0) ShareShare
ReportReport
Posted on by

I was just creating a view when I ran into a problem.

I want to give the condition "not equal(!=)" to the condition of the relation,

but I can't put it in the view of D365.

If you know how to put 'not equal' conditions on the relay, please leave a comment. Thank you.

================================================================================================================================================

//detail 4
while select SumOth
where SumOth.ItemId == this.ItemId
join DimOth
where DimOth.inventDimId == SumOth.InventDimId
&& DimOth.InventSiteId == this.InventSiteId
join LocaOth
where LocaOth.InventLocationId == DimOth.InventLocationId
&& LocaOth.TYM_PartsSalesBranchOffice == NoYes::Yes
join CusOth
Where LocaOth.TYM_BranchOffice != CusOth.SegmentId
&& CusOth.AccountNum == this.CustAccount

{
// ResultSumFac += SumFac.availPhysicalCalculated();
ResultSumOth += SumOth.AvailPhysical;
}

this.OtherStock = ResultSumOth;

================================================================================================================================================

It's a supplementary explanation.
The 'not equal(!=)' condition I mentioned is the

'LocaOhth' in the 'while' statement above.TYM_BranchOffice != CusOth.SegmentId part.

I want to save the value of the above while statement in the view.

And I got stuck in the relaxation part while working.

I am currently using dynamic365(Finance&operations) as the visual studio 2017 version .

I'm sorry if I didn't understand your answer correctly. thank you

I have the same question (0)
  • meelamri Profile Picture
    13,216 User Group Leader on at

    Hi Lee,

    Could you please share some screenshots?

  • Community Member Profile Picture
    on at

    Hi partner,

    Can you tell me what app are you using? and maybe you can provide screenshots for the question, which can make me help you easier.

    Regards,

    Leah Ju

  • Community Member Profile Picture
    on at

    I've posted a supplementary explanation.

  • Community Member Profile Picture
    on at

    4563

  • Community Member Profile Picture
    on at

    Hi Partner,

    What app are you using? Sales,Customer service or Finance&operations?

    Regards,

    Leah Ju

  • Community Member Profile Picture
    on at

    i used on dynamics 365 Finance&operations

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans