Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8088

Re: Doubt in CREATE_DEEP_ENTITY...

$
0
0

Hello Siva,

 

I would suggest below approach even though u have hard coded header values.

 

1. Use SEGW to model ur service.

Create entities and create association & navigation between them with appropriate cardinality as per ur scenario.

 

In ur use case Header entity to Item entity with cardinality 1 to N

 

2. Implement Create_Deep_Entity method in DPC_EXT class manually and call ur logic.

 

3. Use JSON payload which be easy to generate that from UI application.

However XML payload can also be used.

 

4. JSON Sample payload ->

 

{

"Id":"01",

"Name":"Ashwin",

"Name2":"Dutt",

"HeaderItem":[{"IdO":"10","NameO":"TestO1"},

{"IdO":"20","NameO":"TestO2"}]

}

 

Refer below for all the details to accomplish ur scenario.

 

Step by Step development for CREATE_DEEP_ENTITY operation

 

Regards,

Ashwin


Viewing all articles
Browse latest Browse all 8088

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>