Solved

How to set one DAC's companyId field value into custom DAC?

  • 5 December 2022
  • 3 replies
  • 134 views

Userlevel 2
Badge

Hi All,

Could you please assist me on the below:

How to set the ServiceOrders (FSServiceOrder) DAC’s CompanyID value into my custom table CompanyID field?

As per my knowledge, the CompanyID field is not available in DAC’s. So, how to achieve this functionality?

 

 

Thanks

Nageswararao.

icon

Best answer by Naveen Boga 5 December 2022, 12:36

View original

3 replies

Userlevel 7
Badge +17

Hi @NageswaraRaoAddanki60  Even if it is a Custom table if you provide the name as CompanyID in the table (but this field is not required in the DAC) when the record is inserted automatically system will insert the Company ID into the table.

Userlevel 2
Badge

Hi @Naveen Boga ,

Yes , I know CompanyID inserted automatically.

My main aim is CompanyID Link to parent FSServiceOrder.CompanyId.

Userlevel 7
Badge +17

@NageswaraRaoAddanki60  I’m not sure about the question. 

CompanyID cannot be referenced based on the table as this is referring to the tenant.

 

Can you please let us know why do you want to insert the CompanyID from the FSServiceOrder table?

Are you inserting multiple Companyid’s data from the same tenant?  

 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved