Locking PO Notes for a specific Notes Type  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Locking PO Notes for a specific Notes Type

Postby DannyC » Thu Mar 18, 2021 7:05 pm

Kind of using this as a basis, which unlocks all rows of the Purchase Orer Notes grid, it'd like to keep that as is except for a particular Notes Type.

If a PO Notes Type = a given string, then I want that locked always.
Instead of using -1 for the row, I know I somehow need to specify the row integer where ever that Notes Type is used.

Would the only way be to foreach through the Notes collection checking each row of the grid?
User avatar
DannyC
Senpai
Senpai
 
Posts: 718
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 31

Re: Locking PO Notes for a specific Notes Type  Topic is solved

Postby Mike.Sheen » Thu Mar 18, 2021 11:16 pm

DannyC wrote:Kind of using this as a basis, which unlocks all rows of the Purchase Orer Notes grid, it'd like to keep that as is except for a particular Notes Type.

If a PO Notes Type = a given string, then I want that locked always.
Instead of using -1 for the row, I know I somehow need to specify the row integer where ever that Notes Type is used.

Would the only way be to foreach through the Notes collection checking each row of the grid?


Yes, that's the only way with our grids.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807

Re: Locking PO Notes for a specific Notes Type

Postby DannyC » Fri Mar 19, 2021 10:09 am

Yes, that's the only way with our grids.


Sweet.
Done it. Works a treat!
User avatar
DannyC
Senpai
Senpai
 
Posts: 718
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 31


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 0 guests