Search found 5 matches

by Nrhoades
Fri Nov 13, 2020 1:51 pm
Forum: Integration Development
Topic: Iterating through all phrases of an exception
Replies: 3
Views: 905

Re: Iterating through all phrases of an exception

Not a problem. More specifically I was looking for the logic to pull a child phrase from its parent.
I've tried this:

var phrases = exception.GetProperty["Phrases"];

var childException = phrases[0];

with no such luck. Would you be able to provide an example? Thanks.
by Nrhoades
Fri Nov 13, 2020 12:35 pm
Forum: Integration Development
Topic: Iterating through all phrases of an exception
Replies: 3
Views: 905

Iterating through all phrases of an exception

Hi, I'm trying to figure out how to get the very last phrase in a commitment exception with nested phrases. For example: I have a list of exceptions and Ill get the last exception in the list of exceptions as such, IOrderItem previousException = (IOrderItem)newExceptions[newExceptions.Count-1]; Lets...
by Nrhoades
Thu Nov 12, 2020 5:07 pm
Forum: Integration Development
Topic: Setting ListIndentLevel
Replies: 4
Views: 906

Re: Setting ListIndentLevel

That makes a lot of sense. I think Ill be able to utilize this to implement my solution. Thanks for the fast and detailed responses!
by Nrhoades
Thu Nov 12, 2020 12:56 pm
Forum: Integration Development
Topic: Setting ListIndentLevel
Replies: 4
Views: 906

Re: Setting ListIndentLevel

Thank you for the swift response Bob. Would you be able to show a quick example of passing a new phrase into IncreaseIndent() or DecreaseIndent()?
by Nrhoades
Thu Nov 12, 2020 11:46 am
Forum: Integration Development
Topic: Setting ListIndentLevel
Replies: 4
Views: 906

Setting ListIndentLevel

Hi, I'm currently trying to set the field "ListIndentLevel" I've tried doing this a couple different ways, such as: exception.SetProperty("ListIndentLevel", commitmentException.IndentLevel); and exception["ListIndentLevel"] = commitmentException.IndentLevel; When doing ...