specify6 icon indicating copy to clipboard operation
specify6 copied to clipboard

Implement option to create new preparation from disposal form

Open yvonneekanim opened this issue 5 years ago • 6 comments

I currently get a 'Specify could not recover from a database update problem' when I create a new preparation from disposal preps

yvonneekanim avatar May 04 '21 18:05 yvonneekanim

I do not get an exception, but I am unable to edit any of the fields except for 'count'. I can save that but all other fields are blank.

norinespears avatar May 04 '21 21:05 norinespears

I got no exception but with current forms there is no way to link to a preparation. My forms allowed that if you linked to the prep very carefully. Which is why the ''+" button now behaves just like it does for loan preparations.

timo11 avatar May 05 '21 18:05 timo11

Disposal Preparations do not behave like Loan Preparations. Perhaps we should understand this better? Here are screenshots: Screen Shot 2021-05-18 at 11 16 41 AM Screen Shot 2021-05-18 at 11 17 32 AM Screen Shot 2021-05-18 at 11 20 59 AM Screen Shot 2021-05-18 at 11 21 23 AM

norinespears avatar May 18 '21 16:05 norinespears

I just tried this and I got all of the dialogs for adding a preparation but then nothing was added to the actual disposal:

opened existing disposal clicked the '+' sign to add a prep the 'ask' dialog appeared I chose Preparation the Preparation number dialog appeared I entered a Cat # I said save Nothing happened on the form and the 'save' button was not activated.

In the log file I found this: 17:01:23 ERROR datamodel.busrules.DisposalPreparationBusRules:280 - The Disposal's Multiview should not be null!

norinespears avatar Jun 08 '21 22:06 norinespears

The behavior for adding a Disposal Prep is different depending on whether the subform is being viewed in a 'grid' or 'form' format. Here's my story: When I am in an existing Disposal, the disposal prep is in form view and I click on the '+' sign to add a disposal prep I get this dialog: Screen Shot 2021-06-28 at 11 37 11 AM

when I am in grid view I get this dialog:

Screen Shot 2021-06-28 at 11 36 25 AM

Also, if I am in form view and then add a disposal preparation the form does not update (I already had one prep in the disposal, I add another prep in the disposal but it still shows 1). BUT I know that the prep has been added because if I change to the grid view I can see 2 disposal preps and further - if I go back to the form view the second prep is now available. Sorry that the explanation/story was so confusing. I'm happy to make a video.

norinespears avatar Jun 28 '21 16:06 norinespears

YESSS!!

norinespears avatar Jul 26 '21 22:07 norinespears