cancel
Showing results for 
Search instead for 
Did you mean: 

Header Node Validation

Former Member
0 Kudos

Hi,

I have a source Header node which has three elements and all are mandatory.

I need to check if all these are present then the target node need to generated.

I dont want to check individually and wanted to apply everything in the Target node itself.

Let me know how to check or if any UDF code is there would be good.

Eg.,

Header

custno

custkey

Target Node

Header (Custno and custkey must be checked here itself)

Regards,

Krish

Accepted Solutions (1)

Accepted Solutions (1)

former_member192295
Active Contributor
0 Kudos

Hi,

In ID window receiver determination window condition text box better to check with AND operator, whether header value is exist or not. If exist mean will generate target file else can't.

Target structure level condition better to check in mapping window.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi krish,

no need to use UDF.. u can do this validation using standard function itself.

do as mughdha says...

but if the 3 elements are mendatory...under the header node...

(that means the 3 element will must occur if the header node occurs).. then u can directly validate the header node itslef.

like...

HeaderNode->exists->createIf --> target node

Regards

Biplab

Former Member
0 Kudos

use node function exists

custno->exists->

custkey>exists->

use Boolean function "and" with above 2 inputs -


> createIf --> target node