Comments (3)
Hi,
I will pass your feedback on the relevant team.
A few comments:
- whether MS uses events or not should not matter. Any extension could do the same and you would know even less about what is going on (you can't see their code at all). When using events you have to design for multiple subscribers and make sure your code runs properly regardless of order or what others do. The handled pattern has the problem that when used properly, only the first subscriber gets to execute but no-one knows what that is. If used improperly, multiple subscribers will run their code and the results may be unpredictable or result in error (like try and post the same doc twice using different codeunits?)
- In this particular case, if you don't want the MS subscriber to handle the processing of SalesHeaders you can turn off "Post with Job Queue" in Sales & Receivables Setup. You'll then be able to handle this yourself.
br/Gert
from alappextensions.
Hi @renebrummel,
You mentioned three events of COD1380 that are considered to be "internal". If you say you want to subscribe to these events, where COD1371 or COD1372 are manually bind to, then you trying to get into the internals of the mechanism supporting this whole functionality.
In order to help you we need more details about a scenario you want to implement.
The options will be:
- we add events to COD1371/1372 so you can customize sales/purchase posting.
- we suggest you to create a new codeunit similar to COD1371/1372 where you implement you very special handling.
Best regards,
Stan.
from alappextensions.
This issue seems to have been resolved. Closing issue.
from alappextensions.
Related Issues (20)
- [Event Request] codeunit 232 "Gen. Jnl.-Post+Print" - OnBeforePrintJournalBatch
- [Event Request] codeunit 1535 "Approvals Mgmt." - OnAfterCalcSalesDocAmount HOT 1
- [Event Request] - New event in codeunit "Whse. Validate Source Line"
- [Event Request] at codeunit 699 "Exch. Rate Adjmt. Process"
- [Change Request] add missing case for Production Order Status "Finished"
- [Event Request]Report 6031 'Update Service Contract Prices" - OnBeforeCalcAnnualAmt
- [Event Request] Codeunit 31390 "Match Bank Payment Handler CZZ" - procedure FillMatchBankPaymentBufferPurchaseAdvance() and FillMatchBankPaymentBufferSalesAdvance() HOT 1
- [Bug]: German Translation misttake HOT 1
- [Event Request] codeunit 378 "Transfer Extended Text" - OnJobCheckIfAnyExtTextOnAfterCheckAutoText
- [Request-For-External] Table 77 "Report Selections" - Procedure DrillDownToSelectLayout from Internal to Global
- Request new Event into Codeunit 240 ItemJnlManagement HOT 1
- Add parameters in event OnBeforeLookupName into codeunit 240 ItemJnlManagement
- [Change Request] codeunit 8800 "Custom Layout Reporting" SaveReportRequestPageParameters save stream as UTF8
- [Event Parameter Extension Request] Codeunit 12 "Gen. Jnl.-Post Line" - Events OnInsertVATBookEntryOnAfterSetFilters, OnAfterInsertVATBookEntry
- [Event Request] codeunit 232 "Gen. Jnl.-Post+Print" - OnBeforeUpdateIncomingDocument
- [Event Request] table 81 "Gen. Journal Line" - OnBeforeRemoveIncomingDocumentEntryNo
- [Event Request] CU1012 "Job Jnl.-Post Line" - local procedure "Code"
- [Event Request] CU12 "Gen. Jnl.-Post Line" - local procedure InitNextEntryNo() HOT 1
- [Event Request] CU12 "Gen. Jnl.-Post Line" - local procedure PostDtldCustLedgEntries()
- [Event Request] CU12 "Gen. Jnl.-Post Line" - local procedure PostDtldVendLedgEntries()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alappextensions.