Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "enableTrace": false,
- "mappingRules": [
- {
- "ruleId": "23e15c5d-e8b6-4c0d-bde2-b855460ba3c9",
- "name": "Rules",
- "description": "",
- "condition": null,
- "priority": 1,
- "mappings": [
- {
- "toProperty": "ContractId",
- "transformations": [
- {
- "type": "ContractId",
- "parameters": [
- {
- "type": "Map",
- "fromProperty": "VALID_ON"
- },
- {
- "type": "Trim",
- "comment": "Removes all leading and trailing white-space characters.",
- "parameter": {
- "type": "Map",
- "fromProperty": "IDE_GL_REF"
- }
- }
- ]
- }
- ]
- },
- {
- "toProperty": "CounterpartyId",
- "transformations": [
- {
- "type": "CounterpartyId",
- "parameters": [
- {
- "type": "Map",
- "fromProperty": "VALID_ON"
- },
- {
- "type": "Trim",
- "comment": "Removes all leading and trailing white-space characters.",
- "parameter": {
- "type": "Map",
- "fromProperty": "IDE_COUNTERPARTY_REF"
- }
- }
- ]
- }
- ]
- },
- {
- "toProperty": "ReportingDate",
- "transformations": [
- {
- "type": "DateConversion",
- "fromFormat": "yyyyMMdd",
- "toFormat": "yyyy-MM-dd",
- "parameter": {
- "type": "Map",
- "fromProperty": "VALID_ON",
- "comment": ""
- }
- }
- ]
- },
- {
- "toProperty": "Entity",
- "transformations": [
- {
- "type": "Map",
- "fromProperty": "IDE_INTERNAL_PARTY_REF",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "AsLb",
- "transformations": [
- {
- "type": "Map",
- "fromProperty": "TYP_AL_INDICATOR",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "OriginContractId",
- "transformations": [
- {
- "type": "Trim",
- "comment": "Removes all leading and trailing white-space characters.",
- "parameter": {
- "type": "Map",
- "fromProperty": "IDE_GL_REF"
- }
- }
- ]
- },
- {
- "toProperty": "OriginSystemId",
- "transformations": [
- {
- "type": "FixedValue",
- "fromValue": "GDM_GENERAL_LEDGER",
- "comment": "Apply fixed value to GDM_GENERAL_LEDGER"
- }
- ]
- },
- {
- "toProperty": "ProductType",
- "transformations": [
- {
- "type": "Map",
- "fromProperty": "PRD_PRODUCT",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "ProductSubtype",
- "transformations": [
- {
- "type": "Map",
- "fromProperty": "IDE_GL_REF",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "BusinessUnit",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "OriginCounterpartyId",
- "transformations": [
- {
- "type": "Trim",
- "comment": "Removes all leading and trailing white-space characters.",
- "parameter": {
- "type": "Map",
- "fromProperty": "IDE_COUNTERPARTY_REF"
- }
- }
- ]
- },
- {
- "toProperty": "BaseLgd",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "BasePd",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "CreditRating",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "CreditRatingAgency",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "Collectibility",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "IsRestructured",
- "transformations": [
- {
- "type": "Map",
- "fromProperty": "TYP_RESTRUCTURED",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "Currency",
- "transformations": [
- {
- "type": "Map",
- "fromProperty": "CCY_ISO_CURRENCY",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "CurrentPd",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "DaysPastDue",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "DiscountRate",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "EffectiveInterestRate",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "EffectiveInterestRateIncludingFeesAndCosts",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "Segment",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "IsSecured",
- "transformations": [
- {
- "type": "FixedValue",
- "fromValue": "true",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "InitialPd",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "InterestRate",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "InterestSpread",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "InterestCurve",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "StartDate",
- "transformations": [
- {
- "type": "Coalesce",
- "parameters": [
- {
- "type": "Map",
- "fromProperty": "DTE_DEAL",
- "comment": ""
- },
- {
- "type": "DateConversion",
- "fromFormat": "yyyyMMdd",
- "toFormat": "yyyy-MM-dd",
- "parameter": {
- "type": "Map",
- "fromProperty": "VALID_ON",
- "comment": ""
- }
- }
- ]
- }
- ]
- },
- {
- "toProperty": "MaturityDate",
- "transformations": [
- {
- "type": "Coalesce",
- "parameters": [
- {
- "type": "Map",
- "fromProperty": "DTE_MATURITY",
- "comment": ""
- },
- {
- "type": "DateConversion",
- "fromFormat": "yyyyMMdd",
- "toFormat": "yyyy-MM-dd",
- "parameter": {
- "type": "Map",
- "fromProperty": "VALID_ON",
- "comment": ""
- }
- }
- ]
- }
- ]
- },
- {
- "toProperty": "PrincipalAmount",
- "transformations": [
- {
- "type": "Coalesce",
- "parameters": [
- {
- "type": "Map",
- "fromProperty": "RCA_AMOUNT",
- "comment": ""
- },
- {
- "type": "FixedValue",
- "fromValue": "0",
- "comment": "Apply zero value."
- }
- ]
- }
- ]
- },
- {
- "toProperty": "OutstandingAmount",
- "transformations": [
- {
- "type": "Coalesce",
- "parameters": [
- {
- "type": "Map",
- "fromProperty": "RCA_AMOUNT",
- "comment": ""
- },
- {
- "type": "FixedValue",
- "fromValue": "0",
- "comment": "Apply zero value."
- }
- ]
- }
- ]
- },
- {
- "toProperty": "LimitAmount",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "UndrawnAmount",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "AccruedInterest",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "PenaltyInterest",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "PresentValue",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "PresentValueIncludingFeesAndCosts",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "ProductCode",
- "transformations": [
- {
- "type": "Map",
- "fromProperty": "PRD_PRODUCT",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "ContractRef",
- "transformations": [
- {
- "type": "Map",
- "fromProperty": "IDE_CONTRACT_REF",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "AssetLiabIndicator",
- "transformations": [
- {
- "type": "Map",
- "fromProperty": "TYP_AL_INDICATOR",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "GlCode",
- "transformations": [
- {
- "type": "Map",
- "fromProperty": "IDE_GL_REF",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "GlDescription",
- "transformations": [
- {
- "type": "Map",
- "fromProperty": "AUDIT_INFO",
- "comment": ""
- }
- ]
- }
- ]
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement