RCP: How to update the "Sold To Address" to some other address say "Office Address" of customer search screen by using the RCP implementation?

Technote (troubleshooting)

Problem(Abstract)

How to update the "Sold To Address" to some other address say "Office Address" of customer search screen by using the RCP implementation?

Resolving the problem

To update the "Sold To Address" to some other address say "Office Address" of customer search screen following piece of code in the class extended by the YRCExtentionBehavior could be helpful to achieve this requirement.

return null; } --------------------------------------------------------------------------------------------------------------------------------------------------------- Following are the steps which user has to try to achieve this requirement with using the above code:

Create a Normal Extension Behavior (YRCExtensionBehavior) on the Sold To Address label, for the extension behavior define a class in the Extn Behavior tab under the Synchronize present in the RCP tool.

The elements present in the ExtnBehavior tab are FormId, Behavior, ClassName and following would be the entries with the values corresponding to these elements after the modifications:

Add the above mentioned code in the class extended by the YRCExtentionBehavior, after modifying the class launch the SOM and check the customer search screen, Sold TO Address would be updated to the required one.