Setting Order Contract Buyer & Seller Property

Discussions related to custom development with Select.
Post Reply
jturek
Posts: 14
Joined: Fri Jul 20, 2018 6:17 pm

Setting Order Contract Buyer & Seller Property

Post by jturek »

I have add the buyer & Seller in order Contract now i want Add Type of Buyer and Seller whether it is Individual or Organisation so,how can set that Type?

Code: Select all

 dynamic Buyer = ((IOrder)objOrder).CreateNew("Buyer");
                        Buyer.Name = objUserEntity.Name;                                          
                        contacts.Add(Buyer);
How to set Type Invidual or Organisation in Order Contract.
Attachments
Buyer.png
Buyer.png (76.88 KiB) Viewed 1509 times
jturek
Posts: 14
Joined: Fri Jul 20, 2018 6:17 pm

Re: Setting Order Contract Buyer & Seller Property

Post by jturek »

Please give me upadte
jturek
Posts: 14
Joined: Fri Jul 20, 2018 6:17 pm

Re: Setting Order Contract Buyer & Seller Property

Post by jturek »

Please give me upadte
BobRichards
Posts: 1376
Joined: Wed Jan 15, 2014 3:50 pm
Location: Raleigh, NC
Contact:

Re: Setting Order Contract Buyer & Seller Property

Post by BobRichards »

You would set it to value in the BuyerSellerType enumeration:
  • Female
  • Male
  • Joint
  • Corporation
  • Estate
  • LimitedLiabilityCompany
  • LimitedLiabilityCorp
  • LimitedPartnership
  • Other
  • Partnership
  • Trust
As demonstrated below.

Code: Select all

Buyer.BuyerSellerType = BuyerSellerType.Female
Bob Richards, Senior Software Developer, SoftPro
Post Reply