PmfCoByCopyTo.copyTo Method [AX 2012]

Copies formulas from co-byproduct records to this destination.

public void copyTo(
    PmfCoByCopyFrom _copyFrom, 
    PmfCoBySearchBase _search, 
    PmfCoByMap _pmfCoByMap, 
   [boolean _copyRef])

Run On

Server

Parameters

_copyFrom
Type: PmfCoByCopyFrom Class
A PmfCoByCopyFrom object that contains the formula co-byproduct copy source parameters.
_search
Type: PmfCoBySearchBase Class
A PmfCoBySearchBase object that contains the formula co-byproduct copy search parameters.
_pmfCoByMap
Type: PmfCoByMap Map
A PmfCoByMap map that contains the formula co-byproduct mapping.
_copyRef
Type: boolean
A Boolean value that indicates whether to copy; optional.

The base implementation inserts the main record and sets the indicator that the destination was updated. Sub-classes should always call this super method.

Community Additions

ADD
Show: