Announcement

Collapse
No announcement yet.

[RealEstateRequest] How to add rangeCurrency for extra price field?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [RealEstateRequest] How to add rangeCurrency for extra price field?

    Hi all,

    I'm a newbie, learned very few coding skills. I will appreciate very much if someone can solve this problem.



    I've added new field "bedroomoriginalCount" (Type= Integer) in RealEstateProperty thru the Entity Manager, then 3 new fields will be added by the system automatically in RealEstateRequest, which are:
    1. bedroomoriginalCount (Type= Range Integer)
    2. fromBedroomoriginalCount (Type= Integer)
    3. toBedroomoriginalCount (Type= Integer)
    Click image for larger version  Name:	Entity-bedroomoriginalCount_LI.jpg Views:	1 Size:	70.4 KB ID:	42396

    Since some properties are for sale & rent at the same time, I tried to add extra field for price of rental, which field Name= priceRental (Type= Currency), into RealEstateProperty thru Entity Manger, then a set of 3 fields have been created in RealEstateProperty like price, which are:
    1. priceRental (Type= Currency)
    2. priceRentalConverted (Type= Currency (Converted))
    3. priceRentalCurrency (Type= Varchar)
    Click image for larger version  Name:	Entity-RealEstateProperty_LI.jpg Views:	1 Size:	84.8 KB ID:	42397

    but it didn't work the same as Integer to have new fields added in RealEstateRequest by the system. Related to price, fields are found in RealEstateRequest are:
    1. price (Type= Range Currency)
    2. fromPrice (Type= Currency)
    3. fromPriceConverted (Type= Currency (Converted))
    4. fromPriceCurrency (Type= Varchar)
    5. toPrice (Type= Currency)
    6. toPriceConverted (Type= Currency (Converted))
    7. toPriceCurrency (Type= Varchar)
    Click image for larger version  Name:	Entity-RealEstateRequest_LI.jpg Views:	1 Size:	69.6 KB ID:	42398

    Fields I want to add in RealEstateRequest, and it has to work with native property matching function:
    1. priceRental (Type= Range Currency)
    2. fromPriceRental (Type= Currency)
    3. fromPriceRentalConverted (Type= Currency (Converted))
    4. fromPriceRentalCurrency (Type= Varchar)
    5. toPriceRental (Type= Currency)
    6. toPriceRentalConverted (Type= Currency (Converted))
    7. toPriceRentalCurrency (Type= Varchar)
    How can I have the above fields without changing the core files?
    Last edited by wgkeith; 09-29-2018, 09:52 AM.
Working...
X