Skip to main content
Answer

Issue with ContractTemplate.durationType.FromSelectorOf (RSSVWarranty.contractID)

  • May 16, 2023
  • 3 replies
  • 61 views

Iam very new to Acumatica.

Iam using Acumatica 2022 R2. 

I get error on below line before while practiced in T210 Certification. Still I am not clear. Does anybody can help me to clear this error on below line with DAC Fields Declartions.

using PX.Objects.CT;

[PXFormula(typeof(ContractTemplate.durationType.FromSelectorOf<RSSVWarranty.contractID>))]

Error Message :- 

CS0426 - The Type name ‘FromSelectorOf<> does not exist in the type ContractTemplate.durationType

Thanks

Best answer by kpopova

Hello, FromSelectorOf<> is available only starting from Acumatica 2023 R1. You need to complete the course on this version.

3 replies

kpopova
Acumatica Employee
Forum|alt.badge.img+2
  • Acumatica Employee
  • Answer
  • May 16, 2023

Hello, FromSelectorOf<> is available only starting from Acumatica 2023 R1. You need to complete the course on this version.


Then the equivalent available with 2022 R2 ?


For 2022 R2

[PXFormula(typeof(Selector<RSSVWarranty.contractID, ContractTemplate.duration>))]

But in 2023 R1

[PXFormula(typeof(ContractTemplate.durationType.FromSelectorOf<RSSVWarranty.contractID>))]

 

Thanks