SlideShare a Scribd company logo
2
Most read
5
Most read
APPLIES TO:
Oracle ProjectCosting- Version12.1.3
Oracle WorkflowBuilder2.6.3.5
GOAL:
The objective of thisarticle istodescribe indetail the accountgenerationprocessusedinacase where
projecttype isusedto derive natural accountsandthe processin general coversthe following:
POWFRQAG(PORequisitionAccountGenerator)
PAAPINVW(ProjectSupplierInvoiceAccountGeneration)
PABDACWF(ProjectBudgetAccountGeneration)
The chart of accounts of the use case is an 8 segmentcombinationand isasfollows:
Segment0- GL Book:This segmentisusedtoidentifythe GLbook of the organizationunderstudy.This
isset constantto 01 for organizational transactions.Manual GVsare usedto pass transactiontothe
otherbookwhichisdenotedby02. The transactionsare done forthe “01” book.
Segment1- GL BusinessUnit:There are variousdepartmentsinthe organizationandeachdepartmentis
assignedaunique value.Inprojectaccounting,thisaccountisderivedusingprojectorganization(as
againstexpenditure organization)
Segment2- GL Account:Thisdefinesthe natural accountsegment.
Segment3- GL Activity:Thisisdefinesacertainactivityforwhichthe transactionisdone.Project
transactionsmake use of the class code on projectdefinition toderivethissegment.
Segment4- GL Cost:The value here ismainlyusedbythe organizationtoidentifytheircapital and
operatingexpenditures.
Segment5- GL Project:The organizationusesuniqueidentifierstoidentifyprojectsbeforethe use of
projectcostingandbillingmodule.Thissegmentissettobecome redundantafterthe Oracle project
costingand billingapplicationgoeslive.
Segment6 andSegment7 are future segments.The genericvaluesare presetat000.
The requirementof the organizationmandatedthatthe projecttransactionderivenatural accounton
the basisof projecttype andexpenditure type.Hence the autoaccountinglookupswere definedwhere
multiple accountshadtobe derivedfora single expendituretype.
Additional forthe POWFRQAGandPAAPINVWthere wasanaskfor restrictingthe dataentryat
transactionlevel sothatno otherorganizationotherthanthe projectorganizationcanbe enteredas
expenditure organization.
SOLUTION:
In discussingthe solution,the example of PAAPINVW(ProjectSupplierInvoice AccountGeneration) will
be used, whichisa singularprocessforderivingthe charge accountfor APinvoices’distributionlines
whichcontainsprojectinformationtoderivethe charge account.
Figure 1
Step0:
Create ProjectAutoAccountingLook- upsforderivingSegment2,Segment3,Segment4, andSegment5
Step1: Create twoprocessesforcompletingthe accountgeneratorconfigurationbycopyingthe default
“Generate DefaultAccount”:
XX ProjectSupplierInvoice AccountGenerator
XX ProjectSupplierInvoice AccountGeneratorSub
Figure 2
Openthe process:XXProjectSupplierInvoiceAccountGenerator,andembedthe secondprocess:XX
ProjectSupplierInvoice AccountGeneratorSub,bydraggingitintothe firstprocess. Developacondition
to start generationof accountinthe process“XX ProjectSupplierInvoice AccountGenerator”with
successconditionof the process“XXProjectSupplierInvoice AccountGenerator Sub”endingin
“Validationof AccountCode Combination”withsuccessfulendgenerationprocess.
Figure 3
Step2: Define functionsforthe process:XXProjectSupplierInvoice AccountGeneratorSub
Figure 4
Table 1
Node 1 Start GeneratingCode Combination
ItemType StandardFlex Field Workflow
Internal Name FND_FLEX_START_GENERATION
The secondnode belowistodetermine whetherthe expenditure organization enteredbythe useristhe
same as the projectorganizationornot. The processendsinerror if value doesnotmatch.
Table 2
Node 2 Compare Text(if successful gotonextnode or
abort generation)
ItemType STANDARD
Internal Name COMPARETEXT
Node Attributes
Name Value Type Value Type
TestValue ItemAttribute Expenditure Organization
Reference value ItemAttribute ProjectOrganization
Assigning values to segment with constant values:
The followingstandardfunctionswere usedtoassignvalue toGL segmentswhere constantvalueswere
used(Inthe current case it was:Segment0, Segment5,Segment6 andSegment7)
Table 3
Node AssignValue tosegment
ItemType STANDARDFLEXFIELDWORKFLOW
Internal Name FND_FLEX_ASSIGN_TO_SEGMENT
Node Attributes
Name Value Type Value Type
SegmentIdentifier Constant Name
Segment Constant <GL Segment Name>
Value Constant <ConstantValue forGL Segment>
Replace ExistingValue Constant True
Assigning values to segment which depended on “Auto Accounting Lookups” defined in
project accounting (PA) module:
The followingstandardfunctionwasusedtodefine the lookupfromwhichthe segmentvalue needsto
be pickedup:
Table 4
Node SegmentLookupSetValue
ItemType ProjectSupplierInvoice AccountGeneration
Internal Name SEGMENT_LOOKUP_SET
Node Attributes
Name Value Type Value Type
LookupSetName Constant <AutoAccountingLookupsetname definedin
PA>
IntermediateValue ItemAttribute <Selectthe itemattribute towhichyouwantto
associate the segmentderivationto.Eg:
Expenditure Type,ProjectType,Project
Organization,etc.>
The function“SegmentLookupSetValue”was followedbyaconditionwhichsaysif true thenuse the
function“AssignValue tosegment”andif false endthe abortaccount generator.The conditionsthat
needtobe metare as follows:
1. PA auto accountingLookupdefinedinthe “SegmentLookupSetValue” isavailable.
2. Itemattribute passedinthe transactionfromUI matchesthe valuesinthe PA AutoAccounting
Lookup.Incase of supplierinvoice the itemattributestoderive projectaccountsare asfollows:
a. Projectattributes(ProjectType,ProjectId,etc)
b. Expenditure type
c. Task Attribute
d. Expenditure organization
Figure 5 Project Information in AP invoice lines
“AssignValue tosegment”isusedtoassignsegmentvalue derivedfromthe lookupassociatedtothe
functionmentionedabove:
Table 5
Node AssignValue tosegment
ItemType STANDARDFLEXFIELDWORKFLOW
Internal Name FND_FLEX_ASSIGN_TO_SEGMENT
Node Attributes
Name Value Type Value Type
SegmentIdentifier Constant Name
Segment Constant <GL Segment Name>
Value ItemAttribute LookupSetValue
Replace ExistingValue Constant True
Natural Account Segment Derivation
The natural accountsegmentderivationinthiscase isbasedonthe combinationof the projecttype of
the projectassignedtothe transaction(inthiscase AP invoice) andPA autoaccountinglookup.The
followingrelationneedstobe established:
If ProjectType= ProjectType 1, thenchose the natural account value fromAutoAccountingLookup1.
If ProjectType= ProjectType 2, thenchose the natural account value fromAutoAccountingLookup2.
If ProjectType= ProjectType 3, thenchose the natural account value fromAutoAccountingLookup3.
……………………………………………………………………………………………………………………………………………………….......
If ProjectType= ProjectType XX,thenchose the natural account value fromAutoAccountingLookupXX.
To derive the above logicasub processwasincludedinthe process:“XXProjectSupplierInvoice
AccountGeneratorSub”.This iscalled“FetchNatural AccountagainstProjectType”- (seefigure 4.)
Followingfunctionswere usedtoderive the logic:
Compare Text:Thiswas usedtoequate the projecttype name of the projectassignedtothe transaction
level detailinAPinvoice withthe condition.
Table 6
Node 1 Compare Text(if successful gotonextnode or
abort generation)
ItemType STANDARD
Internal Name COMPARETEXT
Node Attributes
Name Value Type Value Type
TestValue ItemAttribute ProjectType
Reference value Constant <ProjectType Name>
If the projecttype wasequivalenttothe constantreference valueforprojecttype definedinthe above
functionthenthe nextfunctionwasactivatedwhichfetchedthe segmentvaluefromthe PA auto
accountinglookupset.
Table 7
Node SegmentLookupSetValue
ItemType ProjectSupplierInvoice AccountGeneration
Internal Name SEGMENT_LOOKUP_SET
Node Attributes
Name Value Type Value Type
LookupSetName Constant <AutoAccountingLookupset name definedin
PA>
IntermediateValue ItemAttribute Expenditure Type
The above was followedbythe “AssignValue tosegment”function.
The process“Fetch Natural AccountagainstProjectType”followedthe followingmap:
Start Natural Accout
Derivation
Is Project Type=
Project Type 1
Fetch Segment
Value from Lookup 1
Is Project Type=
Project Type 2
Fetch Segment
Value from Lookup 2
Is Project Type=
Project Type 3
Fetch Segment
Value from Lookup 3
Is Project Type=
Project Type 4
Fetch Segment
Value from Lookup 4
Is Project Type=
Project Type XX
Fetch Segment
Value from Lookup
XX
True
True
True
True
True
Assign Value to
Natural Account
Segment from
Lookup
Go to next function
Abort Generation
No Matching Project
Type Found
Figure 6
General
Otherstandardfunctionsusedare:
1. AbortGeneration:Usedtodefine if afunction’sconditionisnotmet:
Node AssignValue tosegment
ItemType STANDARDFLEXFIELDWORKFLOW
Internal Name FND_FLEX_ABORT_GENERATION
Node Attributes
Name Value Type Value Type
Error Message ItemAttribute Error Message
2. End Generationonsuccessful CCIDgeneration
Node End GenerationCode Combination
ItemType STANDARDFLEXFIELDWORKFLOW
Internal Name FND_FLEX_END_GENERATION
Node
Label:FND_FLEX_END_GENERATION
Start/End:End
Result:Success
3. End on successfullyassigningsegmentvaluetoGL segment
Node END (Success)
ItemType STANDARD
Internal Name FND_FLEX_END_GENERATION
Node
Label:End
Start/End:End
Result:Success
4. Validate code combination:Thisisusedtovalidate the CCID.ThisfunctionisusedinProject
SupplierAccountgenerationandProjectBudgetAccountgenerationatthe endof the process
flow. (SeeFigure3)
Node End GenerationCode Combination
ItemType STANDARDFLEXFIELDWORKFLOW
Internal Name FND_FLEX_VALIDATE_COMBINATION
Node
Label:FND_FLEX_VALIDATE_COMBINATION
Start/End:End
Result:Success
Node Attribute
Name Value Type Value Type
ValidationType Constant Generate Code CombinationID
NewCode Combinationsare
allowed
Constant True
CheckExpiration Constant Yes
ValidationDate Constant

More Related Content

Viewers also liked (20)

PPS
Oracle Framework Personalization
Edi Yanto
 
PDF
Oracle R12 Upgrade - Sub Ledger Accounting
Enrich, LLC
 
PPT
Accounting process
muhammed anees
 
PDF
Accounting process 1 powerpoint presentation slides ppt templates
SlideTeam.net
 
PPT
Definition of Accounting
Irma_Miller_11344
 
PPTX
Presentation on Accounting Principles
Zakir Khan
 
PDF
geschool learning program (27 januari)
Arief Priyo
 
DOCX
EF-reference
Lauren Maher
 
DOC
Cambodia Trip Checklist
Joshua Larrabee
 
DOCX
πρεβεζα 2
aek2161
 
DOCX
Product Work Log
kaileybunting
 
PDF
105沙遊簡章1
藍 藍
 
PPTX
Strategi Dasar Online Pikitra
Wirandra Reyhan Foo
 
DOC
Staż Szpital Weskoppies
Michal Guzek
 
DOCX
примерная программа фильм фильм фильм
Geramorozov1440
 
DOC
Fecha 3
Liga Torneo
 
PDF
Sticco
Mohamed ALSukkar
 
DOCX
объявление фильм
Geramorozov1440
 
DOCX
Iftekhar_Resume
Iftekhar Kazi
 
Oracle Framework Personalization
Edi Yanto
 
Oracle R12 Upgrade - Sub Ledger Accounting
Enrich, LLC
 
Accounting process
muhammed anees
 
Accounting process 1 powerpoint presentation slides ppt templates
SlideTeam.net
 
Definition of Accounting
Irma_Miller_11344
 
Presentation on Accounting Principles
Zakir Khan
 
geschool learning program (27 januari)
Arief Priyo
 
EF-reference
Lauren Maher
 
Cambodia Trip Checklist
Joshua Larrabee
 
πρεβεζα 2
aek2161
 
Product Work Log
kaileybunting
 
105沙遊簡章1
藍 藍
 
Strategi Dasar Online Pikitra
Wirandra Reyhan Foo
 
Staż Szpital Weskoppies
Michal Guzek
 
примерная программа фильм фильм фильм
Geramorozov1440
 
Fecha 3
Liga Torneo
 
объявление фильм
Geramorozov1440
 
Iftekhar_Resume
Iftekhar Kazi
 

Similar to Using Oracles' account generator for Projects (20)

PDF
Oracle project costing
Munir Ahmed
 
PDF
14843 lsampath wp_1 (1)
jan_99in
 
PPTX
Oracle grants accounting 11
Naveen Reddy
 
PPTX
Oracle grants accounting 11
Naveen Reddy
 
DOCX
Cross charge and Inter Company billing
Atul Sadanand
 
PPTX
Oracle 12 Projects Training
Danica Cassels, MBA
 
PDF
Autoact
Wissam7777777
 
PPTX
Netsuite online training
GoLogica Technologies
 
PPT
generating revenue in project billing, lesson 4
TonyMboya1
 
PPTX
Oracle grants accounting 6
Naveen Reddy
 
PPTX
Oracle grants accounting 6
Naveen Reddy
 
PPT
Oracle_ProjectCostManagementDocumentation
SRM institute, Modinagar
 
PPTX
Oracle grants accounting 13
Naveen Reddy
 
PPTX
Oracle grants accounting 13
Naveen Reddy
 
PPTX
ERP Accounting Flow across all modules Fin
ImranudeenSyed1
 
PDF
Oracle Project Accounting Training.pdf
SpiritsoftsTraining
 
PPTX
ERP_FIN_500_Accounting Flows.pptx
KhaledAbdo35
 
PDF
Dassian Program Plans and Controls (PPC)
Dassian Inc.
 
DOCX
CASE STUDY 3- NEW PROJECT
Temitayo Bamitogba
 
PPT
OOW 2008 Bonneville Power Administration (Ver#09052008)
Samuel Harrell
 
Oracle project costing
Munir Ahmed
 
14843 lsampath wp_1 (1)
jan_99in
 
Oracle grants accounting 11
Naveen Reddy
 
Oracle grants accounting 11
Naveen Reddy
 
Cross charge and Inter Company billing
Atul Sadanand
 
Oracle 12 Projects Training
Danica Cassels, MBA
 
Autoact
Wissam7777777
 
Netsuite online training
GoLogica Technologies
 
generating revenue in project billing, lesson 4
TonyMboya1
 
Oracle grants accounting 6
Naveen Reddy
 
Oracle grants accounting 6
Naveen Reddy
 
Oracle_ProjectCostManagementDocumentation
SRM institute, Modinagar
 
Oracle grants accounting 13
Naveen Reddy
 
Oracle grants accounting 13
Naveen Reddy
 
ERP Accounting Flow across all modules Fin
ImranudeenSyed1
 
Oracle Project Accounting Training.pdf
SpiritsoftsTraining
 
ERP_FIN_500_Accounting Flows.pptx
KhaledAbdo35
 
Dassian Program Plans and Controls (PPC)
Dassian Inc.
 
CASE STUDY 3- NEW PROJECT
Temitayo Bamitogba
 
OOW 2008 Bonneville Power Administration (Ver#09052008)
Samuel Harrell
 
Ad

Recently uploaded (20)

DOCX
Ai Vehicle traffic signal detector Literature Review.
DavidNameza
 
PPTX
Face ATM nadar saraswathi college of arts and science, vadaputhupatti- Full....
priyaayalraj
 
DOCX
Non_Communicable_Diseases_Risk_Assessment,_Prevention,_Control,.docx
DrFatemaTuzzannat
 
PDF
Sirisha .A Portfolio.
SirishaSiri487733
 
PPTX
4. PMES PORTFOLIO_BROWN DESIGN_T1-T3_A4.pptx
GynnelNicanor1
 
PDF
IPC_Reference_manual_Vol_1_Final (1).pdf
AbrahamFekede1
 
PPTX
Transportation in the air, sea and land.pptx
KhloodAli5
 
PDF
Favorite Looks Menswear Spring Summer 2026
Ana Andjelic
 
PDF
Graphic Designing Article All about Graphic Designing
Techera
 
DOCX
Ai vehicle traffic signal detector research proposal.docx
DavidNameza
 
PPTX
feminist gnsudnshxujenduxhsixisjxuu.pptx
rowvinafujimoto
 
PPTX
Adjective..pptxujjjjjjjjjjjjjjjjjjjjjjjj
seemanodiyal
 
PDF
Decorative Glass Dubai /Decorative Glass Dubai
Royal Matrixs
 
PDF
The Role of Logos as Identity Shapers (IFIC Logo)
Md. Mehedi Hasan Asif
 
PDF
IDES-502_Project-1-Home_Presentation-Boards_Codamon.pdf
codamona
 
PPTX
澳洲学位证(VU毕业证书)维多利亚大学毕业证书如何办理
Taqyea
 
PPTX
Types of post tensioning methods (2).pptx
RizwanAlavi
 
PPTX
6. PMES PORTFOLIO_PINK DESIGN_T1-TE_A4.pptx
GynnelNicanor1
 
PDF
Introductory Plant Pathology Class Slides.pdf
tabishek325
 
PDF
BeeNexus Stall Design, Fabrication, and Branding in India
Beenexus
 
Ai Vehicle traffic signal detector Literature Review.
DavidNameza
 
Face ATM nadar saraswathi college of arts and science, vadaputhupatti- Full....
priyaayalraj
 
Non_Communicable_Diseases_Risk_Assessment,_Prevention,_Control,.docx
DrFatemaTuzzannat
 
Sirisha .A Portfolio.
SirishaSiri487733
 
4. PMES PORTFOLIO_BROWN DESIGN_T1-T3_A4.pptx
GynnelNicanor1
 
IPC_Reference_manual_Vol_1_Final (1).pdf
AbrahamFekede1
 
Transportation in the air, sea and land.pptx
KhloodAli5
 
Favorite Looks Menswear Spring Summer 2026
Ana Andjelic
 
Graphic Designing Article All about Graphic Designing
Techera
 
Ai vehicle traffic signal detector research proposal.docx
DavidNameza
 
feminist gnsudnshxujenduxhsixisjxuu.pptx
rowvinafujimoto
 
Adjective..pptxujjjjjjjjjjjjjjjjjjjjjjjj
seemanodiyal
 
Decorative Glass Dubai /Decorative Glass Dubai
Royal Matrixs
 
The Role of Logos as Identity Shapers (IFIC Logo)
Md. Mehedi Hasan Asif
 
IDES-502_Project-1-Home_Presentation-Boards_Codamon.pdf
codamona
 
澳洲学位证(VU毕业证书)维多利亚大学毕业证书如何办理
Taqyea
 
Types of post tensioning methods (2).pptx
RizwanAlavi
 
6. PMES PORTFOLIO_PINK DESIGN_T1-TE_A4.pptx
GynnelNicanor1
 
Introductory Plant Pathology Class Slides.pdf
tabishek325
 
BeeNexus Stall Design, Fabrication, and Branding in India
Beenexus
 
Ad

Using Oracles' account generator for Projects

  • 1. APPLIES TO: Oracle ProjectCosting- Version12.1.3 Oracle WorkflowBuilder2.6.3.5 GOAL: The objective of thisarticle istodescribe indetail the accountgenerationprocessusedinacase where projecttype isusedto derive natural accountsandthe processin general coversthe following: POWFRQAG(PORequisitionAccountGenerator) PAAPINVW(ProjectSupplierInvoiceAccountGeneration) PABDACWF(ProjectBudgetAccountGeneration) The chart of accounts of the use case is an 8 segmentcombinationand isasfollows: Segment0- GL Book:This segmentisusedtoidentifythe GLbook of the organizationunderstudy.This isset constantto 01 for organizational transactions.Manual GVsare usedto pass transactiontothe otherbookwhichisdenotedby02. The transactionsare done forthe “01” book. Segment1- GL BusinessUnit:There are variousdepartmentsinthe organizationandeachdepartmentis assignedaunique value.Inprojectaccounting,thisaccountisderivedusingprojectorganization(as againstexpenditure organization) Segment2- GL Account:Thisdefinesthe natural accountsegment. Segment3- GL Activity:Thisisdefinesacertainactivityforwhichthe transactionisdone.Project transactionsmake use of the class code on projectdefinition toderivethissegment. Segment4- GL Cost:The value here ismainlyusedbythe organizationtoidentifytheircapital and operatingexpenditures. Segment5- GL Project:The organizationusesuniqueidentifierstoidentifyprojectsbeforethe use of projectcostingandbillingmodule.Thissegmentissettobecome redundantafterthe Oracle project costingand billingapplicationgoeslive. Segment6 andSegment7 are future segments.The genericvaluesare presetat000. The requirementof the organizationmandatedthatthe projecttransactionderivenatural accounton the basisof projecttype andexpenditure type.Hence the autoaccountinglookupswere definedwhere multiple accountshadtobe derivedfora single expendituretype. Additional forthe POWFRQAGandPAAPINVWthere wasanaskfor restrictingthe dataentryat transactionlevel sothatno otherorganizationotherthanthe projectorganizationcanbe enteredas expenditure organization.
  • 2. SOLUTION: In discussingthe solution,the example of PAAPINVW(ProjectSupplierInvoice AccountGeneration) will be used, whichisa singularprocessforderivingthe charge accountfor APinvoices’distributionlines whichcontainsprojectinformationtoderivethe charge account. Figure 1 Step0: Create ProjectAutoAccountingLook- upsforderivingSegment2,Segment3,Segment4, andSegment5 Step1: Create twoprocessesforcompletingthe accountgeneratorconfigurationbycopyingthe default “Generate DefaultAccount”: XX ProjectSupplierInvoice AccountGenerator XX ProjectSupplierInvoice AccountGeneratorSub Figure 2 Openthe process:XXProjectSupplierInvoiceAccountGenerator,andembedthe secondprocess:XX ProjectSupplierInvoice AccountGeneratorSub,bydraggingitintothe firstprocess. Developacondition to start generationof accountinthe process“XX ProjectSupplierInvoice AccountGenerator”with successconditionof the process“XXProjectSupplierInvoice AccountGenerator Sub”endingin “Validationof AccountCode Combination”withsuccessfulendgenerationprocess.
  • 3. Figure 3 Step2: Define functionsforthe process:XXProjectSupplierInvoice AccountGeneratorSub Figure 4 Table 1 Node 1 Start GeneratingCode Combination ItemType StandardFlex Field Workflow Internal Name FND_FLEX_START_GENERATION The secondnode belowistodetermine whetherthe expenditure organization enteredbythe useristhe same as the projectorganizationornot. The processendsinerror if value doesnotmatch. Table 2 Node 2 Compare Text(if successful gotonextnode or abort generation) ItemType STANDARD Internal Name COMPARETEXT Node Attributes Name Value Type Value Type TestValue ItemAttribute Expenditure Organization
  • 4. Reference value ItemAttribute ProjectOrganization Assigning values to segment with constant values: The followingstandardfunctionswere usedtoassignvalue toGL segmentswhere constantvalueswere used(Inthe current case it was:Segment0, Segment5,Segment6 andSegment7) Table 3 Node AssignValue tosegment ItemType STANDARDFLEXFIELDWORKFLOW Internal Name FND_FLEX_ASSIGN_TO_SEGMENT Node Attributes Name Value Type Value Type SegmentIdentifier Constant Name Segment Constant <GL Segment Name> Value Constant <ConstantValue forGL Segment> Replace ExistingValue Constant True Assigning values to segment which depended on “Auto Accounting Lookups” defined in project accounting (PA) module: The followingstandardfunctionwasusedtodefine the lookupfromwhichthe segmentvalue needsto be pickedup: Table 4 Node SegmentLookupSetValue ItemType ProjectSupplierInvoice AccountGeneration Internal Name SEGMENT_LOOKUP_SET Node Attributes Name Value Type Value Type LookupSetName Constant <AutoAccountingLookupsetname definedin PA> IntermediateValue ItemAttribute <Selectthe itemattribute towhichyouwantto associate the segmentderivationto.Eg: Expenditure Type,ProjectType,Project Organization,etc.> The function“SegmentLookupSetValue”was followedbyaconditionwhichsaysif true thenuse the function“AssignValue tosegment”andif false endthe abortaccount generator.The conditionsthat needtobe metare as follows: 1. PA auto accountingLookupdefinedinthe “SegmentLookupSetValue” isavailable.
  • 5. 2. Itemattribute passedinthe transactionfromUI matchesthe valuesinthe PA AutoAccounting Lookup.Incase of supplierinvoice the itemattributestoderive projectaccountsare asfollows: a. Projectattributes(ProjectType,ProjectId,etc) b. Expenditure type c. Task Attribute d. Expenditure organization Figure 5 Project Information in AP invoice lines “AssignValue tosegment”isusedtoassignsegmentvalue derivedfromthe lookupassociatedtothe functionmentionedabove: Table 5 Node AssignValue tosegment ItemType STANDARDFLEXFIELDWORKFLOW Internal Name FND_FLEX_ASSIGN_TO_SEGMENT Node Attributes Name Value Type Value Type SegmentIdentifier Constant Name Segment Constant <GL Segment Name> Value ItemAttribute LookupSetValue Replace ExistingValue Constant True Natural Account Segment Derivation The natural accountsegmentderivationinthiscase isbasedonthe combinationof the projecttype of the projectassignedtothe transaction(inthiscase AP invoice) andPA autoaccountinglookup.The followingrelationneedstobe established: If ProjectType= ProjectType 1, thenchose the natural account value fromAutoAccountingLookup1. If ProjectType= ProjectType 2, thenchose the natural account value fromAutoAccountingLookup2. If ProjectType= ProjectType 3, thenchose the natural account value fromAutoAccountingLookup3. ………………………………………………………………………………………………………………………………………………………....... If ProjectType= ProjectType XX,thenchose the natural account value fromAutoAccountingLookupXX. To derive the above logicasub processwasincludedinthe process:“XXProjectSupplierInvoice AccountGeneratorSub”.This iscalled“FetchNatural AccountagainstProjectType”- (seefigure 4.) Followingfunctionswere usedtoderive the logic: Compare Text:Thiswas usedtoequate the projecttype name of the projectassignedtothe transaction level detailinAPinvoice withthe condition.
  • 6. Table 6 Node 1 Compare Text(if successful gotonextnode or abort generation) ItemType STANDARD Internal Name COMPARETEXT Node Attributes Name Value Type Value Type TestValue ItemAttribute ProjectType Reference value Constant <ProjectType Name> If the projecttype wasequivalenttothe constantreference valueforprojecttype definedinthe above functionthenthe nextfunctionwasactivatedwhichfetchedthe segmentvaluefromthe PA auto accountinglookupset. Table 7 Node SegmentLookupSetValue ItemType ProjectSupplierInvoice AccountGeneration Internal Name SEGMENT_LOOKUP_SET Node Attributes Name Value Type Value Type LookupSetName Constant <AutoAccountingLookupset name definedin PA> IntermediateValue ItemAttribute Expenditure Type The above was followedbythe “AssignValue tosegment”function. The process“Fetch Natural AccountagainstProjectType”followedthe followingmap:
  • 7. Start Natural Accout Derivation Is Project Type= Project Type 1 Fetch Segment Value from Lookup 1 Is Project Type= Project Type 2 Fetch Segment Value from Lookup 2 Is Project Type= Project Type 3 Fetch Segment Value from Lookup 3 Is Project Type= Project Type 4 Fetch Segment Value from Lookup 4 Is Project Type= Project Type XX Fetch Segment Value from Lookup XX True True True True True Assign Value to Natural Account Segment from Lookup Go to next function Abort Generation No Matching Project Type Found Figure 6 General Otherstandardfunctionsusedare: 1. AbortGeneration:Usedtodefine if afunction’sconditionisnotmet:
  • 8. Node AssignValue tosegment ItemType STANDARDFLEXFIELDWORKFLOW Internal Name FND_FLEX_ABORT_GENERATION Node Attributes Name Value Type Value Type Error Message ItemAttribute Error Message 2. End Generationonsuccessful CCIDgeneration Node End GenerationCode Combination ItemType STANDARDFLEXFIELDWORKFLOW Internal Name FND_FLEX_END_GENERATION Node Label:FND_FLEX_END_GENERATION Start/End:End Result:Success 3. End on successfullyassigningsegmentvaluetoGL segment Node END (Success) ItemType STANDARD Internal Name FND_FLEX_END_GENERATION Node Label:End Start/End:End Result:Success 4. Validate code combination:Thisisusedtovalidate the CCID.ThisfunctionisusedinProject SupplierAccountgenerationandProjectBudgetAccountgenerationatthe endof the process flow. (SeeFigure3) Node End GenerationCode Combination ItemType STANDARDFLEXFIELDWORKFLOW Internal Name FND_FLEX_VALIDATE_COMBINATION Node
  • 9. Label:FND_FLEX_VALIDATE_COMBINATION Start/End:End Result:Success Node Attribute Name Value Type Value Type ValidationType Constant Generate Code CombinationID NewCode Combinationsare allowed Constant True CheckExpiration Constant Yes ValidationDate Constant