Can I Retrieve the SalesLogix HistoryID From a Note That Was Recently Created?

Question: In the AXFormAfterPost routine, is it possible for me to obtain the SalesLogix HistoryID of a note just created?

Answer: When you open up the form check to see if the edit box is databound to the historyid and has a value.  If it doesn’t (like on an insert), then create your own and put it into the edit box:

SUB AXFormChange(Sender)
If txtHistoryID.TEXT = “” THEN
txtHistoryID.TEXT = application.basicfunctions.getidfor(“HISTORY”)
END IF
then add a global variable
application.GlobalInfo.ADD “CurrentHistoryID”, txtHistoryID.TEXT
END SUB


 

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!