ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Codeunit 20 PostingPreviewEventHandler - ShowEntries

Open bartpattijn opened this issue 7 years ago • 5 comments

i would like to create a different pages for the entries and for that i need a publisher event in codeunit 20 postingprevieweventhandler - function "ShowEntries" with all the temp tables as parameters.

onbeforeshowentries(TempGLEntry,TempCustLedgEntry,TempDtldCustLedgEntry,TempVendLedgEntry,TempDtldVendLedgEntry,TempEmplLedgEntry,TempDtldEmplLedgEntry,TempVATEntry,TempValueEntry,TempItemLedgerEntry,TempFALedgEntry,TempBankAccLedgerEntry,TempResLedgerEntry,TempServiceLedgerEntry,TempWarrantyLedgerEntry,TempMaintenanceLedgerEntry,TempJobLedgerEntry,IsHandled) if IsHandled then exit;

bartpattijn avatar Nov 12 '19 14:11 bartpattijn

No, we cannot do this as your approach is not extendable. Why you want different pages, can you customize existing ones? What is wrong with our pages?

AlexanderYakunin avatar Nov 29 '19 13:11 AlexanderYakunin

Hi Alexander,

We have a big BPO customer with over 2000 end customers and they need the preview posting with result in 1 page with

  • General ledger entries
  • VAT entries
  • VAT amounts by VAT statement Row no. (this we have for the moment in page extension on the VAT entries Preview page. But they find this to time consuming to first get the page with al entries listed and then to click through the different entry types. So we would need to make this combined on a single page. Do you see another way of accomplishing this?

Met vriendelijke groeten,​ [Christiaens] [cid:[email protected]] [cid:[email protected]] [cid:[email protected]] [cid:[email protected]] [cid:[email protected]] Bart Pattijn ERP Consultant Christiaens NV e: [email protected] t: 0032 51 78 83 83 w: www.christiaens.net a: Passendalestraat 199 B‑8980 Passendale [LinkedIn]https://www.linkedin.com/company/christiaens-nv/ [YouTube]https://www.youtube.com/channel/UCGBiFesfXKF0ErJfSZ1XxvQ [Twitter]https://twitter.com/Christiaens_net [Facebook]https://www.facebook.com/christiaensnv/ [Teamviewer]https://get.teamviewer.com/christiaens

Van: Alexander Yakunin [email protected] Verzonden: vrijdag 29 november 2019 14:56 Aan: microsoft/ALAppExtensions [email protected] CC: Bart Pattijn [email protected]; Author [email protected] Onderwerp: Re: [microsoft/ALAppExtensions] Codeunit 20 PostingPreviewEventHandler - ShowEntries (#4848)

No, we cannot do this as your approach is not extendable. Why you want different pages, can you customize existing ones? What is wrong with our pages?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FALAppExtensions%2Fissues%2F4848%3Femail_source%3Dnotifications%26email_token%3DAK6W6BFXL4X6LHI4GKSJKFTQWENNZA5CNFSM4JMEEZUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFO5LMA%23issuecomment-559797680&data=02%7C01%7C%7C174d28a613454ff5e8ce08d774d3d30e%7C9d73024c188c4cc785f301568b4d323c%7C0%7C0%7C637106325460344502&sdata=F7nLqPMNeaBCJk%2BvmqO4QOvhW8C6pO3IyVBe%2F93Cp3s%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAK6W6BHEP5O436YAQUYPR6LQWENNZANCNFSM4JMEEZUA&data=02%7C01%7C%7C174d28a613454ff5e8ce08d774d3d30e%7C9d73024c188c4cc785f301568b4d323c%7C0%7C0%7C637106325460344502&sdata=5Fm3lNB%2Fbd9OYZK1Q6%2Flgah2iiDzX65PDhO%2Fzl9odRo%3D&reserved=0.

bartpattijn avatar Nov 29 '19 14:11 bartpattijn

If you can make page extension, we can move temp tables to protected var area, and you will have full access. Does it works for you?

AlexanderYakunin avatar Dec 11 '19 10:12 AlexanderYakunin

Hi Alexander,

Yes that works for me. I can make a page extension in which I can then show the entries they need.

Thanks!

Met vriendelijke groeten,​ [Christiaens] [cid:[email protected]] [cid:[email protected]] [cid:[email protected]] [cid:[email protected]] Bart Pattijn ERP Consultant Christiaens NV e: [email protected] t: 0032 51 78 83 83 w: www.christiaens.net a: Passendalestraat 199 B‑8980 Passendale [LinkedIn]https://www.linkedin.com/company/christiaens-nv/ [YouTube]https://www.youtube.com/channel/UCGBiFesfXKF0ErJfSZ1XxvQ [Twitter]https://twitter.com/Christiaens_net [Facebook]https://www.facebook.com/christiaensnv/ [Teamviewer]https://get.teamviewer.com/christiaens

Van: Alexander Yakunin [email protected] Verzonden: woensdag 11 december 2019 11:22 Aan: microsoft/ALAppExtensions [email protected] CC: Bart Pattijn [email protected]; Author [email protected] Onderwerp: Re: [microsoft/ALAppExtensions] Codeunit 20 PostingPreviewEventHandler - ShowEntries (#4848)

If you can make page extension, we can move temp tables to protected var area, and you will have fill access. Does it works for you?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FALAppExtensions%2Fissues%2F4848%3Femail_source%3Dnotifications%26email_token%3DAK6W6BHRSFRIXHXSG3XN3TLQYC5NFA5CNFSM4JMEEZUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGSTSTA%23issuecomment-564476236&data=02%7C01%7C%7Ce5702554e62f4d5b9f7608d77e23fcbb%7C9d73024c188c4cc785f301568b4d323c%7C0%7C0%7C637116565340318460&sdata=CEtuQI%2BSz6tYN5f%2Bn%2B2w5kyte8USxZ7nhr3cHnKbgao%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAK6W6BDNF55YSRDH5W6S2CTQYC5NFANCNFSM4JMEEZUA&data=02%7C01%7C%7Ce5702554e62f4d5b9f7608d77e23fcbb%7C9d73024c188c4cc785f301568b4d323c%7C0%7C0%7C637116565340328418&sdata=QHroGJszPOkdcbcEWt4M%2BL7C5FxOUz1oLrudffyp0b4%3D&reserved=0.

bartpattijn avatar Dec 11 '19 10:12 bartpattijn

Unfortunately, we were not able to change this design based on this request. We have slice for this work for the future release.

AlexanderYakunin avatar Jun 21 '21 11:06 AlexanderYakunin