scough
20th April 2011, 18:05
I am working with 4GL code in constraints and I am wondering if there is a way to determine the id of the product variant that is created in the tipcf500 when you choose to "Define product options immediately".
I am attempting to map custom messages (to be read by engineering later) to the product features based on what the user enters in the product feature field. In my mapping table I need to enter the product variant ID.
I have had some thoughts on possible ways to accomplish this but they don't feel solid. For example, I thought of selecting the max id from the tipcf500 table but something about that tells me I am going to run into potential anomalies should two or more different users attempt to configure product variants at the same time.
Are there any built in functions or variables that I can call to get the newly created product variant ID?
Thanks
I am attempting to map custom messages (to be read by engineering later) to the product features based on what the user enters in the product feature field. In my mapping table I need to enter the product variant ID.
I have had some thoughts on possible ways to accomplish this but they don't feel solid. For example, I thought of selecting the max id from the tipcf500 table but something about that tells me I am going to run into potential anomalies should two or more different users attempt to configure product variants at the same time.
Are there any built in functions or variables that I can call to get the newly created product variant ID?
Thanks