cancel
Showing results for 
Search instead for 
Did you mean: 

Exits

praveenreddy_bk
Participant
0 Kudos

Hi,

My source structure is like this .....

GoodsInevent

ProductInventoryContainer

GoodsInEventItem(0...unbounbed)

SerialItem(0..unbounded)

SourceType

it is in same level of the GoodsInevent

Target Structure.

Transactions

GoodsMovement

Items( 1...1)

SupplierId(1)

Here my problem is if serialitem exits or not I need to create Item level in target structure.

here source type is mapped to SupplierId . Even if serialItem exits or not it should me mapped to item.

I am facing problem while serialitem doesn't exist . How to do mapping in this case

Thanks in Adavance

Accepted Solutions (1)

Accepted Solutions (1)

jyothi_anagani
Active Contributor
0 Kudos

Hi Praveen,

I didnt Understand you Source Structure... Is it like this...


GoodsInevent
     ProductInventoryContainer
     GoodsInEventItem(0...unbounbed)
     SerialItem(0..unbounded)
SourceType

Target Sructure..


Transactions
    GoodsMovement
     Items( 1...1)
     SupplierId(1)

.

If I am wrong let me Know.

praveenreddy_bk
Participant
0 Kudos

GoodsInevent

itemlevel Below I am having productInventorytype under this item level v r GoodsIneventItem under this item level I having Serialitem

former_member581827
Participant
0 Kudos

Hi,

Change the context of serial item to GoodsInevent and check.

Regards,

Chandra.

Answers (3)

Answers (3)

jyothi_anagani
Active Contributor
0 Kudos

Hi,

Try this.


serialitem---------->exists---------->item

So it will create item level if serialitem exists or not also because it is having true or False.


sourcetype------->remove context---------->SupplierId

Thanks.

former_member581827
Participant
0 Kudos

Hi,

Check for serialitem-----> exists then use IF ELSE function if means map serial item to item else map constant with some value to item.

Regards,

Chandra.

former_member200962
Active Contributor
0 Kudos

Hi,

Here my problem is if serialitem exits or not I need to create Item level in target 
structure. here source type is mapped to SupplierId . Even if serialItem exits or not it 
should me mapped to item.
I am facing problem while serialitem doesn't exist . How to do mapping in this case

Use below logic:

                           then SerialItem
SerialItem --> Exists --> ifWithElse ---->          Items
                             Else SourceType

So that you will get Items node when SerialItem is present and if not present then Source Type will generate the Items node.....so that you can map the SourceType To SuperId

Regards,

Abhishek.