Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
MRitter
Employee
Employee

What exactly is this doing?

If ($(vDevelopment)=1,$1,Autonumberhash256($1))

What is the $1 doing in this load statement?

Thanks

2 Replies
tresesco
MVP
MVP

A bigger picture of your script could help understand that. It could be just a field name, it could be an argument passed to a function/sub-routine,...

MRitter
Employee
Employee
Author

This is actually a variable(vKeyConverter)

The variable is then placed at the front of code that is building a key:

$(vKeyConverter([SNAPSHOT_ID]&
'$(vKeyDellimitter)'& [EMP_DK]&
'$(vKeyDellimitter)'& [DATA_MONTH_SK]&
'$(vKeyDellimitter)'& [TERR_NBR]&
'$(vKeyDellimitter)'& AutonumberHash256(GEOGRAPHY_ID_NM))) as [%KEY_SUMMARY_PAYOUT]