Assign Corresponding

By enigma on 28 May 2012
what about a functionality for the assign element, which will allow setting field values in a destination structure, from a source different to the destination structure?

ie.:
Struc1
product - "coffee"
price - "5"
...

Struc2
transaction - ""
product - ""
price - ""
date - ""
...

ASSIGN Struc1 TO CORRESPONDING Struc2

Result:
Struc2
transaction - ""
product - "coffee"
price - "5"
date - ""
...

ps: i know one should rather use the product id, instead of the text

basically this would prevent, having to create dozens of totally obvious assigns. and the less obvious can then be done in the traditional maner.

also this would greatly improve the readability, since the custom assigns can be overseen, knowing all other fields are being assigned 1:1. as custom assigns are usually also used less often than the 1:1 assigns.
This idea has no comments yet. Be the first to comment!