Browse By Tags

  • Better version of 'Not a single Item' Error?

    Hello, Does anyone know if it is possible to edit a piece of code to produce a more descriptive error rather than just 'Not a single Item'. I understand the logic behind why this issue occurs and I have my own ways of finding where this error occurs…
  • Define context item for query called via method

    Hi, I am referencing this blog post: https://community.aras.com/b/english/posts/using-query-definitions-method-code I am running a query via method, how can I set the condition as the query seems to return all possible results without a context…
  • Using a method to update a team, doesn't seem to iterate beyond the first

    Hi Community. I am setting up a method to assign a user to multiple teams based on a form. The issue I am having is that it seems to only apply the user to the first team I select (using a multi-value list). Essentially, I am defining on the form…
  • What is the correct way to parse DateTime on a server side onAfterGet event?

    Hi everyone. I'm currently trying to evaluate the current date and a date property however, when I try do parse the string provided by getProperty, it gives me the error: String was not recognized as a valid DateTime. I can confirm the property…
  • Context from method to called email

    I've got an email that I'm calling from a "post" method on the Part lifecycle, but the default context that's passed to that email message isn't the Part, it instead seems to be the alphabetically first Identity in my database? Why is this happening…
  • Is it possible to reuse TreeGridView engine to display custom data as Tree?

    Hi Community, I have a custom SQL query that gets assembly information from another data source. In this data source, all relationships and related items are available in one table. Additional columns help to indicate, on which level / hierarchy position…
  • Renaming File via Document Relationship - A journey

    Hi Community, Need some help here. I have a method to rename a file related to a document. The idea is that upon check-in the filename will update to the Doc Number + Name + Rev + Generation It works for the most part but there are 4 errors depending…
  • Client side Form function and script not evaluating correctly.

    Good day all. TL;DR: I am having trouble getting an onLoad method to reliably print an evaluated value to a field. The form is as follows: Stock message contains: <span id='stock_msg'></span> I have a javascript onLoad method that compares…