Hi,
I have below constraint in transformer to_transf.COST_CNTR_SK< 0 which reject the rows i need to modify it
Right now it does as below
Doc_num line_num COST_CNTR_SK
123 1 -1 ---reject
123 2 56 -------load in table
Now we want to reject both rows if doc_num is same. how can i modify the constraint .
Thanks,
modify constraint
Moderators: chulett, rschirm, roy
In stageVariables i am doing below for StageDocNum
If (to_transf.COST_CNTR_SK<0 OR to_transf.ORDER_SK< 0 then to_transf.DOC_NUM else 0)
and then on constraint i am doing
(to_transf.COST_CNTR_SK< 0 OR to_transf.ORDER_SK< 0 and to_transf.DOC_NUM= StageDocNum)
and it is getting the result any idea what i am going wrong
Note:I need to renew my membership so please don't hide the answer for now
If (to_transf.COST_CNTR_SK<0 OR to_transf.ORDER_SK< 0 then to_transf.DOC_NUM else 0)
and then on constraint i am doing
(to_transf.COST_CNTR_SK< 0 OR to_transf.ORDER_SK< 0 and to_transf.DOC_NUM= StageDocNum)
and it is getting the result any idea what i am going wrong
Note:I need to renew my membership so please don't hide the answer for now