This function copies document mappings from one record and SharePoint library setup to another combination.
Parameters:
"_FromRecord" - Specifies the source record for copying.
"_FromSPListSetupCode" - If this parameter is empty, the function will look for all SharePoint library setups that are connected with the record/table (record conditions are also applied). The maximum number of characters is 20.
"_FromContentTypeName" - If this parameter is not empty, the function will copy only document mappings associated with selected Content Type.
"_ToRecord" - Specifies the destination record for copying.
"_ToSPListSetupCode" - If this parameter is empty, the function uses the SharePoint library as a target as is specified in General (FastTab)/Transfer To List Setup Code. The maximum number of characters is 20.
"_ToContentTypeName" - If this parameter is empty, the record mapping will retain its current Content Type even after it is moved to a new list or library. If you want to change the Content Type of the mapping during the process, provide it in this parameter.
"_UpdateMetadaAfterCopy" - If set to true, NavSherpa will update all metadata on SharePoint from the new record (e.g. if you copy mapping from Purchase Invoice to Posted Purchase Invoice and this parameter is true, all metadata on SharePoint will be updated from related Posted Purchase Invoice).