Source AL, 1,040 lines
src/Business Foundation/App/NoSeries/src/Legacy/NoSeriesManagement.Codeunit.allines 10 to 25 of 1,040, Copyright (c) Microsoft Corporation. MIT
codeunit 396 NoSeriesManagement{ InherentEntitlements = X; InherentPermissions = X; ObsoleteReason = 'Please use the "No. Series" and "No. Series - Batch" codeunits instead'; ObsoleteState = Pending; ObsoleteTag = '24.0'; Permissions = tabledata "No. Series Line" = rimd, tabledata "No. Series Line Sales" = r, tabledata "No. Series Line Purchase" = r, tabledata "No. Series" = r; trigger OnRun() begin TryNo := GetNextNo(TryNoSeriesCode, TrySeriesDate, false); end;
All 1,040 lines
Events 26 in 26
| [IntegrationEvent] OnObsoleteCheckSalesDocNoGaps(MaxDate: Date) | 24 to 26 |
| Pending, tag 24.0, obsolete since 24: The No. Series module cannot have dependencies to Sales. Please use the method in codeunit "IT - Report Management" instead |
| [IntegrationEvent] OnObsoleteCheckPurchDocNoGaps(MaxDate: Date) | 24 to 26 |
| Pending, tag 24.0, obsolete since 24: The No. Series module cannot have dependencies to Purchases. Please use the method in codeunit "IT - Report Management" instead |
| [IntegrationEvent] OnBeforeCheckPurchDocNoGaps(MaxDate: Date; var IsHandled: Boolean) | 24 to 26 |
| Pending, tag 24.0, obsolete since 24: The No. Series module cannot have dependencies to Sales. Please use the event in codeunit "IT - Report Management" instead |
| [IntegrationEvent] OnBeforeCheckSalesDocNoGaps(MaxDate: Date; var IsHandled: Boolean) | 24 to 26 |
| Pending, tag 24.0, obsolete since 24: The No. Series module cannot have dependencies to Purchases. Please use the event in codeunit "IT - Report Management" instead |
| [IntegrationEvent] OnAfterGetNextNo3(var NoSeriesLine: Record "No. Series Line"; ModifySeries: Boolean) | gone after 26changed in 24 |
| Pending, tag 24.0, obsolete since 24: This event is obsolete. Please use the extensibility options provided by the No. Series module. |
| [IntegrationEvent] OnAfterSaveNoSeries(var NoSeriesLine: Record "No. Series Line") | gone after 26 |
| Pending, tag 24.0, obsolete since 24: This event is no longer used. Please use the No. Series Batch codeunit instead. |
| [IntegrationEvent] OnAfterSaveNoSeriesSales(var NoSeriesLineSales: Record "No. Series Line Sales") | 24 to 26 |
| Pending, tag 24.0, obsolete since 24: The No. Series Line Sales table is obsolete. Please use the No. Series Line table instead. |
All 31 events in 17-26
Public procedures 38 in 26
| TestManual(DefaultNoSeriesCode: Code[20]) | gone after 26 |
| Pending, tag 24.0, obsolete since 24: Please use method TestManual(NoSeriesCode: Code[20]) in codeunit "No. Series" instead. |
| ManualNoAllowed(DefaultNoSeriesCode: Code[20]): Boolean | gone after 26 |
| Pending, tag 24.0, obsolete since 24: Please use method IsManual(NoSeriesCode: Code[20]) in codeunit "No. Series" instead. |
| TestManualWithDocumentNo(DefaultNoSeriesCode: Code[20]; DocumentNo: Code[20]) | gone after 26 |
| Pending, tag 24.0, obsolete since 24: Please use method TestManual(NoSeriesCode: Code[20]; DocumentNo: Code[20]) in codeunit "No. Series" instead. |
| RaiseObsoleteOnBeforeInitSeries(var DefaultNoSeriesCode: Code[20]; OldNoSeriesCode: Code[20]; NewDate: Date; var NewNo: Code[20]; var NewNoSeriesCode: Code[20]; var IsHandled: Boolean) | 24 to 26 |
| Pending, tag 24.0, obsolete since 24: This method is used for compatibility with extension usages of the old OnBeforeInitSeries event. Now the new No. Series is used. InitSeries no longer exist, instead a No. Series is selected and the next number is retrieved. |
| RaiseObsoleteOnAfterInitSeries(NoSeriesCode: Code[20]; DefaultNoSeriesCode: Code[20]; NewDate: Date; var NewNo: Code[20]) | 24 to 26 |
| Pending, tag 24.0, obsolete since 24: This method is used for compatibility with extension usages of the old OnAfterInitSeries event. Now the new No. Series is used. InitSeries no longer exist, instead a No. Series is selected and the next number is retrieved. |
| InitSeries(DefaultNoSeriesCode: Code[20]; OldNoSeriesCode: Code[20]; NewDate: Date; var NewNo: Code[20]; var NewNoSeriesCode: Code[20]) | gone after 26 |
| Pending, tag 24.0, obsolete since 24: Please use AreRelated in the "No. Series" codeunit instead |
All 51 procedures in 17-26
Changes 1 in 25
| GetNextNo(NoSeriesCode: Code[20]; SeriesDate: Date; ModifySeries: Boolean): Code[20] | gone after 26 |
| marked Pending, tag 24.0: Please use method GetNextNo(Code[20]; Date) or PeekNextNo(Code[20]; UsageDate) in the codeunit "No. Series" or "No. Series - Batch" instead. GetNextNo(Code[20]; Date; Boolean) does not have the same behavior. Make sure to use the correct parameters. |
All 92 changes in 17-26