You are on page 1of 5

Start:

 HD_TRAIL_BALANCE_DETAIL_YTD_443812926 Q3 2017 v2.xlsx


 Export uit Peoplesoft, kolommen
o Unit
o Ledger
o Account
o Dept
o Product
o Affiliate
o Intercompany
o DIS
o Movement Code
o Project
o Currency
o Year
o Sum Total Amt
 Click op “Get PS Source Data” start ImportPSData, en daarna EnrichSource
 GIFT: ImportPSData: copy paste van data, sorteren, laadt data in tab Source0
 GIFT: EnrichSource, voegt 12 kolommen toe aan Source0
o Lookup uit PS_RL, 2e tabel, op basis van accountcode (bv 110601)
 RL346_account
 RL333_account
 Not-IC (op basis van gevalsondersheid)
 IC (op basis van gevalsondersheid)
 RL305_account
 RL218_GRID
 RL054_GRID
o Anders:
 RL214_IC (lookup op basis van Intercompany kolom uit PS; als H513 dan
NULL, anders lookup uit PS_RL, 5e tabel)
 RL056_mov (lookup op basis van Movement uit PS_RL, 6e tabel, kan ook
NULL zijn als niet IC)
 RL318_account (NULL (bij niet IC), anders "PD130001")
 PeopleSoft_name (cell functie)
 PeopleSoft_type (cell functie)
 Afhankelijk van inhoud RL214_IC wordt RL054_GRID overschreven
 Click op “Load Report” met ESBC geselecteerd:
o CreateEBSC
 Sorteer PS import on PS account and UN code
 Filter uit PS type=X of BSR als RL214_IC code
 Groepeer per unieke account en RL214_IC, sommeer de Value (aggregatie!)
 Vul overige kolommen, vrij rechtoe rechtaan uit PS, Enchrichment
 Voeg extra kolommen toe voor currency

 Click op “Load Report” met S.02.01.02 geselecteerd:


o LoadReport strMappingTab:=gstrTabBSMap, strReportTab:=gstrTabS0201
 CreateESBC
 PrepareEBSC_BS  Aggregatie van al aanwezige data per BS nummer (en
UN nummer voor 02.01)
Clear sheet
 ClearValues rNamedRange:=[BS_NIC]  Kolom G
 ClearValues rNamedRange:=[BSPSICrange]  Kolom H
 ClearValues rNamedRange:=[BS_IC]  J t/m W
 Bladert door rijen EBSC, zoekt BS account in S.02.01.02, waarde wordt in
juiste kolom gezet in S.02.01.02
 CleanupEBSC  Groepering, minimale data
 GenerateOutput
o Loop door S.02.01.02
o WriteBSSIIRecord: schrijft fixed columns, en waarde eventueel met counterparty
(UN nummer)

Herstructurering

Brondata

 Source0 - Peoplesoft export


 Ref3 – Relatie PS Accountnummer - RL318 GRID nummer (bv PPD130001) (uit tab PS_RL)
 Ref4 – Attributen op basis van PS Accountnummer (RL346, RL333, RL318, RL346, RL305,
RL054, RL218) (uit tab PS_RL)
 Ref6 – Per PS Accountnummer en movementnummer het movement segment (RL056) (uit
tab PS_RL)
 Ref7 – Relatie BS-code (RL346) en OF code (RL333)
 Ref8 – Per PS Accountnumer een omschrijving en type (uit tab Lists)
 Ref9 – Subset PnLA op basis van “Capital movements for acquisitions/divestitures” (PN722,
PN723, PN725, PN731, PN732, PN741)
 Ref10 – Unit Segmenten (uit tab Lists)
 Ref11 – BS code en attributen (uit tab Lists)
 RL346-S0202 - Balance sheet accounts / S.02.01.02 mapping
 S.02.01.02 – Layout informatie van rapport

Bewerkingen

 Ref3 – Uitklappen PS Accountnummer


 Ref6 – Losknippen PS Accountnummer en movementnummer
 Outer join alles met PS export

Tabel 1 Tabel 2 Join


Source0 Ref3 (318) PS Accountnummer
Source0 Ref4 (combi) PS Accountnummer
Source0 Ref6 PS Accountnummer, Ref6.Movement=
(movement) IIf(Source0.[Movement Code] Is
Null,"TTT",Source0.[Movement Code])
Source0 Ref8 PS Accountnummer
(peoplesoft)
Source0 Ref7
Source0 Ref9 Nvt
Ref4 RL346-S0202 Account GRID (RL346) (BS*)
Source0 Ref5 Product
Ref5 Ref10 Unit Segment GRID (RL214)
Ref4 Ref11 RL305_account

 Voeg aantal berekende velden toe (Procedure EnrichData, CreateESBC):

Naam Calculatie Fase


IC IIf([IC (RL346)]="Y","X",IIf([IC (RL346)]="?","?","")) Enrichment
Non-IC IIf([IC (RL346)]="N","X",IIf([IC (RL346)]="?","?","")) Enrichment
RL214_IC (EUN) IIf([Intercompany] Is Null Or [Intercompany]="H513","",Ref5.[Unit Enrichment
segment GRID (RL214)] of “XXX”)
RL056_mov Ref6.[Movement segment GRID (RL056)] Enrichment
RL318_account (EPD) If EUN<>”BSR” or (RL056_mov komt niet voor in Ref9) then Enrichment
“PD130001” else NULL
RL218_GRID Ref4.[Account segment GRID (RL218)] Enrichment
RL054_GRID Ref4.[Account segment GRID (RL054)] Enrichment
If EUN=”BSR”

Case "RG550125"
--> "RG550124"
Case "RG550127"
. -->= "RG550126"
Case "RG550133"
-->= "RG550132"
Case "RG550143"
--->"RG550142"
Case Else
Leave as is
Endif
PeopleSoft_name Ref8.[PS Description] Enrichment
PeopleSoft_type IIf(Ref8.[PS Type] Is Null,"X",[PS Type]) Enrichment
UN-Code Ref10.Code EBSC
UN-Name Ref10.Name EBSC
BS Naam Ref11.[Balance Sheet Account Name (RL346)] EBSC
BS-Type RL346-S0202.[Type] EBSC
IC RL346-S0202.[IC (RL346)](als NULL dan “?”) EBSC
OF-Account Ref7.[Account segment GRID (RL333)] EBSC
RL346_account (BS nr) Ref4.RL346_account Enrichment
RL333_account Ref4.RL333_account Enrichment
RL305_account Ref4.RL305_account Enrichment
Amount Source0.[Sum Total Amt] Enrichment

 Filter
 Filter uit: PS type=X of BSR als RL214_IC code

 Exporteer

GenerateOutput

"DDA-SII-BS"

strReportTab = gstrTabS0201 = "S.02.01.02"

GenerateOutput strDDATab:=Range("DDA-SII-BS").Value, strReportTab:= "S.02.01.02",


strFilePathT:=OutputFilePath,

strReportingYear:=Range("Reporting_year").Value,
strReportingPeriod:=Range("Reporting_period").Value

S.23.01
 Visueel rapport S.23.01.01 wordt gevuld mbv tabel in RL333-S2301 (Q-T) op basis van OF-
nummer uit EBSC
 Export is op basis van rapport

1. Loop door rows van EBSC

2. Als waarde bestaat dan

3. Zoek OF waarde op in bijbehorende rij in EBSC op in tabel [S.23.01]

4. Lees [Cellnaam] uit cel in [S.23.01] (voor iedere van de eerste drie kolommen)
5. Schrijf in [Cellnaam] in tabel [S.23.01.01] (voor iedere van de eerste drie kolommen)

Naar export bestand:

You might also like