{"title":"Codeunit 76 Purch.-Get Drop Shpt., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/76-purch-get-drop-shpt/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":76,"name":"Purch.-Get Drop Shpt.","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/76-purch-get-drop-shpt/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/76-purch-get-drop-shpt/source/","path":"src/Layers/W1/BaseApp/Purchases/Document/PurchGetDropShpt.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"page:45":{"name":"Sales List","url":"https://jonas-paprotka.de/ref/page/45-sales-list/"},"table:38":{"name":"Purchase Header","url":"https://jonas-paprotka.de/ref/table/38-purchase-header/"},"codeunit:6620":{"name":"Copy Document Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/6620-copy-document-mgt/"},"table:39":{"name":"Purchase Line","url":"https://jonas-paprotka.de/ref/table/39-purchase-line/"},"table:37":{"name":"Sales Line","url":"https://jonas-paprotka.de/ref/table/37-sales-line/"},"codeunit:6500":{"name":"Item Tracking Management","url":"https://jonas-paprotka.de/ref/codeunit/6500-item-tracking-management/"},"codeunit:378":{"name":"Transfer Extended Text","url":"https://jonas-paprotka.de/ref/codeunit/378-transfer-extended-text/"},"table:36":{"name":"Sales Header","url":"https://jonas-paprotka.de/ref/table/36-sales-header/"},"table:5777":{"name":"Item Reference","url":"https://jonas-paprotka.de/ref/table/5777-item-reference/"}},"procs":[{"name":"OnRun","line":21,"kind":"trigger","steps":[[24,"event","OnRunOnBeforeCode",0],[25,"call","Code",0]]},{"name":"Code","line":50,"kind":"procedure","access":"local","params":0,"steps":[[61,"event","OnCodeOnBeforeSelectSalesHeader",1],[66,"run","page",45],[76,"ext","table",38,"DropShptOrderExists",1],[77,"ext","table",38,"AddShipToAddress",2],[96,"event","OnCodeOnAfterSalesLineSetFilters",0],[100,"call","CheckSalesLineQtyPerUnitOfMeasure",0],[102,"event","OnCodeOnBeforeProcessPurchaseLine",1],[108,"ext","codeunit",6620,"TransfldsFromSalesToPurchLine",2],[109,"call","GetDescription",2],[115,"validate",39,"Inbound Whse. Handling Time"],[116,"event","OnBeforePurchaseLineInsert",0],[117,"write",39,"Insert"],[118,"event","OnAfterPurchaseLineInsert",0],[122,"call","UpdateSalesLineUnitCostLCY",0],[125,"event","OnBeforeSalesLineModify",0],[126,"write",37,"Modify"],[127,"event","OnAfterSalesLineModify",0],[128,"ext","codeunit",6500,"CopyItemTracking",3],[128,"ext","table",37,"RowID1",0],[128,"ext","table",39,"RowID1",0],[130,"ext","codeunit",378,"PurchCheckIfAnyExtText",2],[131,"ext","codeunit",378,"InsertPurchExtText",1],[138,"event","OnCodeOnAfterInsertPurchExtText",0],[146,"event","OnCodeOnBeforeModify",0],[148,"write",38,"Modify"],[150,"write",36,"Modify"],[151,"event","OnAfterCode",0]]},{"name":"CheckSalesLineQtyPerUnitOfMeasure","line":154,"kind":"procedure","access":"local","params":0,"steps":[[160,"event","OnBeforeCheckSalesLineQtyPerUnitOfMeasure",1]]},{"name":"UpdateSalesLineUnitCostLCY","line":175,"kind":"procedure","access":"local","params":0,"steps":[[180,"event","OnBeforeUpdateSalesLineUnitCostLCY",1],[185,"validate",37,"Unit Cost (LCY)"]]},{"name":"GetDescription","line":188,"kind":"procedure","params":2,"steps":[[196,"call","GetDescriptionFromItemReference",3],[198,"call","GetDescriptionFromItemTranslation",2],[200,"call","GetDescriptionFromSalesLine",2],[202,"call","GetDescriptionFromItemVariant",3],[204,"call","GetDescriptionFromItem",2]]},{"name":"GetDescriptionFromItemReference","line":207,"kind":"procedure","access":"local","params":3,"steps":[[213,"event","OnBeforeGetDescriptionFromItemReference",1],[221,"ext","table",5777,"FindItemDescription",8],[223,"ext","table",39,"GetDateForCalculations",0]]},{"name":"GetDescriptionFromItemTranslation","line":226,"kind":"procedure","access":"local","params":2,"steps":[[237,"event","OnGetDescriptionFromItemTranslation",0]]},{"name":"GetDescriptionFromItemVariant","line":244,"kind":"procedure","access":"local","params":3,"steps":[[252,"event","OnGetDescriptionFromItemVariant",0]]},{"name":"GetDescriptionFromItem","line":258,"kind":"procedure","access":"local","params":2,"steps":[[262,"event","OnGetDescriptionFromItem",0]]},{"name":"GetDescriptionFromSalesLine","line":265,"kind":"procedure","access":"local","params":2,"steps":[[270,"event","OnGetDescriptionFromSalesLine",0]]}]}