简体   繁体   中英

How to select all itemclass in acumatica

Hello i want to select all of the itemclassid from a data class and i want to iterate through them can someone teach me how to start with it. i know how to select a row but i do not know how to select all then iterate through them

    foreach (INItemclass items in ???)
{

}

在此处输入图像描述 i want to get them individaully because i want to update each of them and put a specific value through each one

thanks in advance experts.

In the foreach loop, cast each PXResult<T0> object in the collection to an object of the main DAC. The PXResult<T0> object is implicitly converted to the T0 class. In the following sample code, records are selected from the Document table.
To Get the Objects of the Primary DAC

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM