Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3167

Involved Parties Node for a Custom BO

$
0
0

Hi Everyone,

 

I am trying to create a Custom BO which includes various parties like Employee Responsible Party,Administrator Party,Buyer party etc while creating a transaction.

 

Most of the standard Business objects are using Party Node to store the various parties using the valuation annotation.

 

This is the first time I am dealing with Party Node.Can anyone explain how the standard Business object's Party node is designed.

 

I have created  a sample Party node to hold two different parties for my custom BO.

 

import AP.Common.GDT as apCommonGDT;

  [WithAdministrativeData]businessobject Sample BO

{

       [AlternativeKey][Label("ID")] element ID : BusinessTransactionDocumentID;
       [Label("Name")] element Name : LANGUAGEINDEPENDENT_EXTENDED_Name;
       [Label("Time Zone")] element TimeZone : TimeZoneCode;
     

       node Party [1,n]
       {
          element PartyID : PartyID;
          element RoleCode :PartyRoleCode;

        }

        association EmployeeParty to Party valuation (RoleCode=="1215");
        association AdminParty to Party valuation (RoleCode=="1122");

}

Kindly suggest me with the approach which I need to follow to enable a tab Involved Parties which should do the similar functionalities of a standard Involved parties node.


Thanks in advance.

 

Regards,

Navin


Viewing all articles
Browse latest Browse all 3167

Trending Articles



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