Skip to Content
1
Former Member
Aug 01, 2007 at 02:21 PM

User Defined Function For Context Handaling

21 Views

<u><b>Source structure</b></u>

<b>PO_MILESTONES</b> 1+

<b>PO_MILESTONE</b> 1+

WIP_DATE_QUALIFIER string required

WIP_DATE string required

<b>WIP_STATUS_TEXTS</b> 0 to 1

<b>WIP_STATUS_TEXT</b> 0 to 1

REASON_CODE string required

FREE_TEXT_DESCRIPTION string required

<b><u>Target structure</u></b>

this has 2 node for the target structure one as a sub node of other.

<b>HDR</b>

Record Type

Vendor ID

Purchase order number

Customer order number

Article number

Transfer date

Transfer time

WIP date

Division

WIP date qualifier

Client Number

LSCD

Reason Code

Filler

<b>STS</b>

Record Type

Vendor id

Purchase order number

Customer order number

Article number

Transfer date

Transfer time

Free text description

Division

Filler

my question is i want some <b>fuction</b> or <b>UDF</b> which will take thecontext of source <b>PO_MILESTONES</b> for souce node <b>WIP_STATUS_TEXTS</b> because i need WIP_STATUS_TEXTS to be mapped as may times PO_MILESTONES occur in the souce

and PO_MILESTONES is 1 to unbounded and WIP_STATUS_TEXTS is 0 to 1

how can i take the context of PO_MILESTONES to WIP_STATUS_TEXTS because this is not posssible by <b>Context chage</b> and I chekced it .

it need to be done by <b>UDF</b> ,,,i feeeeellllllll

help me and send me the Code

thanks

shakif