Codeunit 5980 Service-Post
src/Layers/W1/BaseApp/Service/Posting/ServicePost.Codeunit.al22 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
OnRun line 40, trigger
- 44raisesOnBeforeRun
- 46callsPostWithLines
PostWithLines line 88
- 100raisesOnBeforePostWithLinesIsHandled
- 107callsValidatePostingAndDocumentDate
- 109callsInitialize
- 119callsCodeunit 5988 Serv-Documents Mgt. SetNoSeries
- 120writesTable 5900 Service Header Modify
- 128callsCodeunit 5988 Serv-Documents Mgt. CalcInvDiscount
- 131callsCollectWhseShipmentInformation
- 133callsProcessPosting
- 140callsCodeunit 5770 Whse.-Service Release Release
- 145raisesOnAfterPostServiceDoc
- 150callsCodeunit 410 Update Analysis View UpdateAll
- 151callsCodeunit 7150 Update Item Analysis View UpdateAll
- 156raisesOnAfterPostWithLinesIsHandled
ProcessPosting line 173, local
PostDocumentLinesCommitBehaviorIgnore line 218, local
- 229callsPostDocumentLines
PostDocumentLines line 251, local
- 273callsLockTables
- 275callsCodeunit 5988 Serv-Documents Mgt. CheckAndBlankQtys
- 275callsGetServDocType
- 279callsCodeunit 5988 Serv-Documents Mgt. PrepareShipmentHeader
- 283raisesOnPostDocumentLinesOnBeforeInsertPostedHeadersIsHandled
- 287callsCodeunit 5988 Serv-Documents Mgt. PrepareInvoiceHeader
- 288callsCodeunit 5988 Serv-Documents Mgt. UpdateIncomingDocument
- 290callsCodeunit 5988 Serv-Documents Mgt. PrepareCrMemoHeader
- 291callsCodeunit 5988 Serv-Documents Mgt. UpdateIncomingDocument
- 296raisesOnBeforeCreatePostedWhseShptHeader
- 297callsCodeunit 5763 Whse.-Post Shipment CreatePostedShptHeader
- 300callsCodeunit 5988 Serv-Documents Mgt. PostDocumentLines
- 301callsCodeunit 5988 Serv-Documents Mgt. CollectTrackingSpecification
- 303callsCodeunit 5988 Serv-Documents Mgt. SetLastNos
- 304writesTable 5900 Service Header Modify
- 307callsCodeunit 6041 Service Document Archive Mgmt. AutoArchiveServiceDocument
- 312callsCodeunit 5988 Serv-Documents Mgt. UpdateDocumentLines
- 314callsCodeunit 5988 Serv-Documents Mgt. InsertValueEntryRelation
- 320callsCodeunit 5763 Whse.-Post Shipment CreatePostedShptLine
- 324callsUpdateWhseDocuments
- 330callsCodeunit 19 Gen. Jnl.-Post Preview ThrowError
- 333callsFinalize
- 335raisesOnAfterFinalizePostingOnBeforeCommit
GetServDocType line 339, local
- 345callsTable 5936 Service Document Register ServiceDocument
UpdateWhseDocuments line 349, local
- 354raisesOnBeforeUpdateWhseDocumentsIsHandled
- 358callsCodeunit 5763 Whse.-Post Shipment PostUpdateWhseDocuments
Initialize line 361, local
- 363raisesOnBeforeInitialize
- 364callsCheckServiceDocument
- 365callsSetPostingOptions
- 367callsCodeunit 5988 Serv-Documents Mgt. Initialize
- 371callsCheckAndSetPostingConstants
- 373raisesOnInitializeOnAfterCheckAndSetPostingConstants
- 380callsCodeunit 5988 Serv-Documents Mgt. CheckAdjustedLines
- 382raisesOnAfterInitialize
CheckServiceDocument line 385
- 389callsTestMandatoryFields
- 390callsCodeunit 6463 Serv. Report Distribution Mgt. RunDefaultCheckServiceElectronicDocument
- 391callsCodeunit 5988 Serv-Documents Mgt. CheckServiceDocument
Finalize line 394, local
- 396callsCodeunit 5988 Serv-Documents Mgt. Finalize
CheckAndSetPostingConstants line 399, local
- 404raisesOnBeforeCheckAndSetPostingConstantsIsHandled
- 421callsCodeunit 5988 Serv-Documents Mgt. CheckAndSetPostingConstants
- 424callsCodeunit 9070 Document Errors Mgt. GetNothingToPostErrorMsg
- 428raisesOnCheckAndSetConstantsOnBeforeSetPostingOptions
- 429callsSetPostingOptions
ValidatePostingAndDocumentDate line 432, local
- 434raisesOnBeforeValidatePostingAndDocumentDate
- 436validatesTable 5900 Service Header Posting Date
- 437validatesTable 5900 Service Header Currency Code
- 440validatesTable 5900 Service Header Document Date
- 441raisesOnValidatePostingAndDocumentDateOnAfterValidateDocumentDate
- 444raisesOnAfterValidatePostingAndDocumentDate
TestMandatoryFields line 447, local
- 453raisesOnBeforeTestMandatoryFieldsIsHandled
- 466callsTestServLinePostingDate
- 469callsCheckDateNotAllowedForServiceLine
- 470callsCodeunit 11 Gen. Jnl.-Check Line DateNotAllowed
- 473callsTable 5900 Service Header TestMandatoryFields
CheckDateNotAllowedForServiceLine line 476, local
- 482raisesOnBeforeCheckDateNotAllowedForServiceLineIsHandled
- 487callsCodeunit 11 Gen. Jnl.-Check Line DateNotAllowed
SetPostingDate line 491
- 498raisesOnBeforeSetPostingDateIsHandled
SetPostingOptions line 514
- 519callsCodeunit 5988 Serv-Documents Mgt. SetPostingOptions
TestDeleteHeader line 532
LockTables line 597, local
- 603callsTable 313 Inventory Setup OptimGLEntLockForMultiuserEnv
- 605raisesOnLockTablesOnBeforeGLEntryFindLast
- 606callsTable 17 G/L Entry GetLastEntryNo
DeleteHeader line 610
- 612callsTestDeleteHeader
- 614raisesOnBeforeServiceShptHeaderInsert
- 615writesTable 5990 Service Shipment Header Insert
- 620raisesOnDeleteHeaderOnBeforeServiceShptLineInsert
- 621writesTable 5991 Service Shipment Line Insert
- 625raisesOnBeforeServiceInvHeaderInsert
- 626writesTable 5992 Service Invoice Header Insert
- 631raisesOnDeleteHeaderOnBeforeServiceInvLineInsert
- 632writesTable 5993 Service Invoice Line Insert
- 636raisesOnBeforeServiceCrMemoHeaderInsert
- 637writesTable 5994 Service Cr.Memo Header Insert
- 642raisesOnDeleteHeaderOnBeforeServiceCrMemoLineInsert
- 643writesTable 5995 Service Cr.Memo Line Insert
- 645raisesOnAfterDeleteHeader
CollectWhseShipmentInformation line 648, local
- 654writesTable 7320 Warehouse Shipment Header DeleteAll
- 655writesTable 7321 Warehouse Shipment Line DeleteAll
- 672writesTable 7321 Warehouse Shipment Line Insert
- 675writesTable 7320 Warehouse Shipment Header Insert
TestServLinePostingDate line 681, local
- 691callsCodeunit 11 Gen. Jnl.-Check Line DateNotAllowed
SendPostedDocumentRecord line 737
- 747callsTable 5992 Service Invoice Header SendProfile
- 757callsTable 5992 Service Invoice Header SendProfile
- 766callsTable 5994 Service Cr.Memo Header SendProfile