Our customer service has notes on certain parts that say “DO NOT QUOTE” or something similar. They want to display this CSComment text field in a message box in Quote and Order entry when those certain parts are selected. The parts are marked with a “CSWarning” checkbox control in Part Maintenance. What I need to do is:
1.Pull Part table data into a Quote.Update BPM (I think Quote.Update is the right one for this)
2. Set a condition to open a message box
3. Populate the message box with the CSComment_c field from Part_UD
Does anyone know the proper syntax I need to type to call an adapter in custom code? I assume there’s no way to do this without custom code, but I’ve never been able to figure out how Epicor wants me to call table or field data in C#.
You can call a business object in a BPM without writing coded in the newest versions of Epicor. There are also various examples of how to write code in the BPms to accomplish this in the ICE Tools Guide and the Programmers Guide in EpicWeb.
You can write a LINQ query to pull Part Data into your BPM Custom Code and then Display a Message Box, you can also use one of the Built In Query Workflow items to do the query and display its results.
I highly recommend a through reading of the Ice Tools Guide and the Programmers Guide.