fferpcore.einv_MappingTargetRootglobal with sharing class einv_MappingTargetRoot implements DataTargetRoot A base repository of einv_DocumentMappingTarget objects, used to locate and manipulate existing targets and create additional ones. This class implements the following interfaces: Methods
withSyncScopeglobal fferpcore.einv_MappingTargetRoot withSyncScope(Boolean syncScope) Flags the Work created by createWorkScope to be either synchronous or asynchronous. Input Parameters
Return ValueThe current instance createWorkScopeglobal fferpcore.DataTargetWork createWorkScope() Creates a new Work instance. The Work can be performed either synchronously or asynchronously, The work will be done synchronously by default, unless specified using the withSyncScope method. Return ValueThe work scope responsible for committing any changes. getAsyncResponseglobal fferpcore.ElectronicInvoicingService.SendAsyncResponse getAsyncResponse() This method used to get apex job id and should be called after transform. Return ValueA result stating whether the apex job id, and any associated errors. queryByKeySetglobal fferpcore.TargetObjectMap queryByKeySet(Set<Object> keySet) Locate any existing target objects with the given keys. This method must be called within a fferpcore.DataTargetWork scope. Input Parameters
Return ValueA map of the located target objects by their respective keys. hasAccessglobal fferpcore.HasAccessResult hasAccess(List<String> keyPath) Determine if the user has access to configure data at the given key path. Input Parameters
Return ValueA result stating whether the user has access, and any associated errors. requireFieldglobal void requireField(String key, fferpcore.Intent intent) Require the given key from the fferpcore.DataTarget ensuring the associated data is available. Input Parameters
requireLookupglobal fferpcore.DataTarget requireLookup(String key, fferpcore.Intent intent) Require the given lookup key from the fferpcore.DataTarget ensuring the related targets are available. Input Parameters
Return ValueAn alternate DataTarget corresponding to the related targets. requireChildrenglobal fferpcore.DataTarget requireChildren(String key, fferpcore.Intent intent) Require the given child key from the fferpcore.DataTarget ensuring the associated child targets are available. Input Parameters
Return ValueAn alternate DataTarget corresponding to the associated child targets. |