on 02-21-2014 12:32 AM
Hello,
I’m creating new fields in CLM in supplier management, but I’m going to need these fields in the MA, so I am going to create these new fields also in MA.
Is there a way to replicate automatically this information from the supplier Management to the MA at the moment of Supplier selection inside de MA?
Thanks in advance
Thanks a lot for your help,
I already create custor fields in MA and Supplier Management.
do you have an example of a script logic for this case?
thanks and Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martha,
I do not have sample code but I can give you some pointers.
- Make sure you have a custom query available for selection from the supplier info tab which includes the custom field that you have created on the Supplier Management module
- Define custom script on the Master Agreement Class Validate context.
- In the script you need to do something like this
VendorCustomfield = vendorHome.find(doc.getVendorRef()).getVendorCustomfield
if (hasvalue(VendorCustomfield)
{
doc.getExtensionfield("CUSTOM_FIELD_ON_MA").set(VendCustomfield);
}
I hope this helps. If you not familiar with scripting in CLM, you need to engage some one who is well versed with scripting and query development.
Regards,
Parankush
Hi Martha,
In addition to that you will have to develop new query definitions to make the custom fields that are created in the Supplier Management screen, to be available at the time of Supplier data selection on the Supplier Info tab on the Master Agreement.
High Level Steps:
- Create Custom fields on both Master Agreement and Supplier Management modules (with same internal names)
- Write a new query definition to make the custom fields available for selection on the Supplier Info tab
-Create custom script to populate the values on the Supplier Info tab of the MA.
Regards,
Parankush
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martha,
You have to use custom scripts to populate the extension fields in MA for the selected supplier.
Regards
Prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.