Solved

Checkbox not saving on Kit Assembly form Document level

  • 23 April 2023
  • 1 reply
  • 45 views

Userlevel 1
Badge

Does anyone know why this checkbox wont save? I also cant POST the value via the API, yet I can GET it and it reads null. Ive set commit changes = true?.

 

 

icon

Best answer by Vignesh Ponnusamy 24 April 2023, 16:22

View original

1 reply

Userlevel 7
Badge +4

@Dantheman88988, Are you able to save the field form the UI? If not, the issue could be with the DAC declaration. Please check the below,

INKitRegister is a projection of INRegister, so adding a field to the INKitRegister creates a declaration for the field in the actual INRegister table. But you will have update the field definition in INKitRegister DAC to link it to the field rightly. In INKitRegister DAC declaration, update the field definition and set BqlField like below,

[PXDBBool(BqlField = typeof(INRegisterExt.usrAutoBuild))]
[PXUIField(DisplayName="AutoBuild")] 

 

I hope that helps.! Please feel free to post if you have any questions! 

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