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