In the SalesLogix web client you may run across a reason you need to generate a “Pretty Key”. This is what the SalesLogix Ticket Number is. This key is a combination of a Pretty Prefix and a Pretty Suffix. The Prefix is an equivalent to a system’s site code and the Suffix is a numerical equivalent to a primary table ID.
To generate these you can simply call the functions in the Sage.SalesLogix.System.dll for each. Each function expects an input of the Primary ID of the record to generate a key based on, like this:
Be aware that the Sage.SalesLogix.System.dll is not a default assembly for C# Code Snippets so you may need to add it as a reference.
Is it possible to have an example shown? Please.