hougaard / Simple-Object-Designer

Issue tracking for the Simple Object Designer for Business Central
7 stars 0 forks source link

Changing field in "Update Document" for posted sales cr. memo does nothing #329

Closed otherjoel closed 6 months ago

otherjoel commented 7 months ago

I have three custom fields which I have added to the Sales Cr.Memo Header.

After deploying my app, I can open a posted sales credit memo, click “Update Document”, and see/edit these three fields. However, after editing any of these fields and clicking OK, the posted document is not updated.

These same three fields have also been added to the Update Document page for Posted Sales Invoices, and there the update functionality is working correctly.

It may be a gap in the code generation. In the FieldManagement.al source for my app, I see there is an Event Subscriber for Page::"Posted Sales Inv. - Update", 'OnAfterRecordChanged'. But there is no event subscriber for the equivalent event for the Sales Credit Memo. (In looking through it, I think the Posted Purchase Credit Memo may be similarly afflicted, or perhaps that one is just not implemented yet.)

hougaard commented 7 months ago

You need to add a field transfer from the Sales Cr. Memo header to the same table :)

otherjoel commented 7 months ago

You need to add a field transfer from the Sales Cr. Memo header to the same table :)

Yep, did that (second bullet point above)

hougaard commented 7 months ago

Ahh.. (answered from phone, didn't read everything), let me check!

otherjoel commented 6 months ago

bump!

hougaard commented 6 months ago

Added in version 10.0.0.386