Use SQL to Data Map in Oracle ARCS for New Account with Different Amount source

Nyxs_Inquisitor

New Member
Joined
Nov 27, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
In Oracle ARCS, source to target mapping for the AR subledger maps source "AMOUNTA" to target "Amount". This is for one account 11111. But the new account 11112 uses "AMOUNTB" instead. Integration setup/Import format only allows one source to map to the target. However, workflow/data load mapping allows for #SQL code.

In another integration, this #SQL code worked for a particular text field in data load mapping:

<span>CASE WHEN UD9 IS NULL THEN ' ' ELSE UD9 END</span>

How can we use #SQL to pull one source amount "AMOUNTA" to target "Amount" for account 11111 and another source amount "AMOUNTB" to same target "Amount" for account 11112?

(Note: the amount field is not directly available in data load mapping like the text field is for the working code)
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
You can try this: CASE WHEN account = '1111' THEN AmountA ELSE AmountB END AS Amount. This way, when the Account is '1111', the Amount field will have the value of AmountA; otherwise, the Amount field will have the value of AmountB.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top