Copy |
|
Description
Copies a common property value from a journal line to a mapping line.
Arguments
1.Copy - Name of the Macro.
2.Name - The property value to be copied.
3.Default Value - The value to be used if the property cannot be found or is blank.
4.Search Value - If the returned value matches the search value, the specified default will be returned. The search value and returned value will use casing to determine a match.
Examples
[Copy|AccountCode]
If AccountCode is available this will return the AccountCode value.
If AccountCode is not available this will return a blank value.
[Copy|TransactionReference|No transaction reference available.]
If TransactionReference is available this will return the TransactionReference value.
If TransactionReference is not available this will return the value "No transaction reference available."
[Copy|CheckNumber|Not Available or Final Check|9999]
If CheckNumber is available and does not equal 9999 this will return the CheckNumber value.
If CheckNumber is available and equals 9999 this will return the value "Not Available or Final Check".
If CheckNumber is not available this will return the value "Not Available or Final Check".
Notes
Properties common to all sources are accessible with the Copy macro. All other properties must be accessed using the Attribute macro. Attempting to access a property which is not present in the mapping will result in an error. Common properties are:
AccountCode
AccountType
MatchingAccountCode
ConvertedAmount
MappedAmount
DestinationAccountCode
DestinationAmount
OriginalAmount
HeaderLine
AccountingPeriod
TransactionDate
TransactionDescription
TransactionReference
CheckNumber
PaymentFormat
CultureInfo
JournalLineType
ProcessingScope
ValidationState
Copyright © 2024 pasUNITY, Inc.
Send comments on this topic.
Created with an evaluation copy of HelpSmith.
To remove this notice, you should purchase the full version of the product.