Getting Next ID in SalesLogix Web

Question: Is there a similar way to get the next ID for a table in SalesLogix Web as the getIdFor function in the SalesLogix Windows client?

Answer:  Take a look at this article –

http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=87

Use the C# example.

Use the entityfactory…
..SO for a new contact when working with an entity,

<Sage.Entity.Interfaces>.

IContact con = Sage.Platform.EntityFactory.Create;

con.Porperties…..etc.

con.Save();

This will give you a new Contact with a new SalesLogix ID.

 

 Also, see this post if you do need to generate a new table ID apart from the automatic creation that occurs when adding a new entity record.

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!

You have Successfully Subscribed!