Skip to main content
Solved

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


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;

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

Error Message :- 

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

Thanks

3 replies

Userlevel 4
Badge +2

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

Reply