Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Need help

ashaik1
6 - Meteoroid

Hello - Taking the Impact column as a base in consideration with the Account/Department/Intercompany i need to derive the Journal type column. 

Note:  The intercompany column plays an important role only in the case of 6 and 7 where Accounts and departments are same but one side the intercompany value is blank and other side is populated.

 

The below are the different kind of scenarios of journal postings happen in the system.

For example: Journal entry 1, 8, 5, 6 and 7 are B/S Only  but having different scenarios.

  • Journal entry 1 is B/S only with different accounts( Nature is only Assets) and same departments (It may have or may not have intercompany values) - Then Journal type is B/S reclass
  • Journal entry 8 is B/S only with different accounts( Nature is Liability/ Assets) and same departments (It may have or may not have intercompany values) - Then Journal type is GND reclass
  • Journal entry 5 is B/S only with same accounts,  but different departments (It may have or may not have intercompany values) - Then Journal type is DEPT transfer
  • Journal entry 6 and 7 -  same accounts, same departments but one line is having intercompany and other line does not - Then journal type is Intercompany transfer
Journal EntryAccountDepartmentIntercompanyNatureImpactJournal type
111000012345DEFAssetB/S OnlyB/S Reclass
112000012345DEFAssetB/S OnlyB/S Reclass
       
823000054321LMNLiabilityB/S OnlyGND Reclass
813000054321LMNAssetB/S OnlyGND Reclass
       
241000012134 RevenueIS OnlyI/S reclass
242000012134 RevenueIS OnlyI/S reclass
       
944000054321 RevenueIS OnlyGND Reclass
954000054321 ExpenseIS OnlyGND Reclass
       
       
310000021223GHIAssetB/s and ISMAN PL ADJ
340000021223 RevenueB/s and ISMAN PL ADJ
       
422000031234 LiabilityB/s and ISMAN PL ADJ
450000031234 ExpenseB/s and ISMAN PL ADJ
       
       
510000099999 AssetB/S OnlyBook to Book transfer
510000088888 AssetB/S OnlyBook to Book transfer
       
610000012345ABCAssetB/S OnlyIntercompany transfer
610000012345 AssetB/S OnlyIntercompany transfer
       
720000012345DEFLiabilityB/S OnlyIntercompany transfer
720000012345 LiabilityB/S OnlyIntercompany transfer

This is how i need to define the Journal type. Please help

5 REPLIES 5
aatalai
13 - Pulsar

@ashaik1 based on this logic

 

 same accounts, same departments but one line is having intercompany and other line does not - Then journal type is Intercompany transfer

 

then why isn't 3 also intercompany - is i t because of the differnet accounts? 

 

Also what is the logic for MAN PL ADJ classification?

 

Also will there always be 2 lines?

ScottLewis
8 - Asteroid

A couple of ideas. As the previous comment noted, we're missing some of the logic to just write it. I assume Man PL ADJ is some form of manual JE and that those are a pain to classify by nature and also that the reason JE 3 isn't Intercompany is because the manual code overrides Intercompany.

 

1. Multi row formulas. The mult row tool lets you write the logic in place but you're going to have to nest some conditionals. I would likely approach it as writing a formula that works for the second row in each JE (which you can find by checking for blanks in row +1 on one of the data columns) and then a second formula that backfilled that into the first row of each.

 

2. Transform the data so that each JE is a single row with the information from both sides. This will let you use regular formulas and not worry about the conditionals. Assuming your entries are all two sided the attached workflow does the transformation.

ashaik1
6 - Meteoroid

For MAN PNL ADJ - journal entry is posted between Asset and Revenue or Liability and Expense or vice versa. journal entry 3 cannot be intercompany transfer as it is not same account and same department. there could be more lines in a journal entry.Thanks

ScottLewis
8 - Asteroid

Added the formula tool to the transform example and put in the logic to transform back to JE format. 

The nested IF is a monster and may not contain all your cases even so.

That said, it classifies the example rows properly. 

Should just be tuning the logic and the output formats from here.

You also might want to do some amount of data prep on the incoming fields in case you get different versions of capitalization, spacing, etc. As written it is going to be sensitive to that stuff.

ashaik1
6 - Meteoroid

For MAN PNL ADJ - journal entry is posted between Asset and Revenue or Liability and Expense or vice versa. journal entry 3 cannot be intercompany transfer as it is not same account and same department. there could be more lines in a journal entry.Thanks

Labels