Page 5850 "Posted Sales Document Lines"
Base Application · Microsoft.Sales.History
Across versions
- BC23-24present
- BC251 events added
- BC26-30unchanged
Neighbourhood 2 connected objects and pages
Base Application · Microsoft.Sales.History · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Posted Sales Document Lines |
| SourceTable | Customer |
| PageType | ListPlus |
Fields on this page
Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control’s own, else the bound field’s (marked).
| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Options | Show Reversible Lines Only | ShowRevLinesOnly |
Specifies if only lines with quantities that are available to be reversed are shown. For example, on a posted sales invoice with an original quantity of 20, and 15 of the items have already been returned, the quantity that is available to be reversed on the posted sales invoice is 5. |
| Return Original Quantity | OriginalQuantity |
Specifies whether to use the original quantity to receive quantities associated with specific shipments. For example, on a posted sales invoice with an original quantity of 20, you can match the 20 items with a specific shipment. | |
| Control9 | PostedShipmentsBtn | CurrentMenuTypeOpt |
— |
| Posted Shipments | StrSubstNo('(%1)', Rec."No. of Pstd. Shipments") |
Specifies the lines that represent posted shipments. | |
| Posted Invoices | StrSubstNo('(%1)', Rec."No. of Pstd. Invoices" - NoOfPostedPrepmtInvoices()) |
Specifies the lines that represent posted invoices. | |
| Posted Return Receipts | StrSubstNo('(%1)', Rec."No. of Pstd. Return Receipts") |
Specifies the lines that represent posted return receipts. | |
| Posted Cr. Memos | StrSubstNo('(%1)', Rec."No. of Pstd. Credit Memos" - NoOfPostedPrepmtCrMemos()) |
Specifies the lines that represent posted sales credit memos. | |
| CurrentMenuTypeValue | CurrentMenuType |
— | |
| Control18 | PostedInvoices | part Page 5852 “Get Post.Doc - S.InvLn Subform” | — |
| PostedShpts | part Page 5851 “Get Post.Doc - S.ShptLn Sbfrm” | — | |
| PostedCrMemos | part Page 5854 “Get Post.Doc-S.Cr.MemoLn Sbfrm” | — | |
| PostedReturnRcpts | part Page 5853 “Get Pst.Doc-RtrnRcptLn Subform” | — |
Events published
OnBeforeCopyLineToDoc(var CopyDocumentMgt: Codeunit "Copy Document Mgt."; CurrentMenuType: Integer)(integration)OnCopyLineToDocOnBeforeMessage(ToSalesHeader: Record "Sales Header"; var IsHandled: Boolean)(integration)OnOpenPageOnAfterSetCurrentMenuType(var Customer: Record Customer; var CurrentMenuType: Integer)+ BC25 (integration)
Procedures
CopyLineToDoc(): Copies the selected posted document line to the target sales document.ChangeSubMenu(NewMenuType: Integer): Changes the visible submenu to display a different posted document type.GetCurrentMenuType(): Integer: Gets the currently selected menu type.SetToSalesHeader(NewToSalesHeader: Record "Sales Header"): Sets the target sales header for copying lines.
Plus 13 local procedures.
Triggers
OnAfterGetRecord, OnInit, OnOpenPage
Relations
- source table Table 18 “Customer”
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 6620 “Copy Document Mgt.” (3 calls:
CopyLineToDoc → CopySalesLinesToDoc,CopyLineToDoc → SetProperties,SetSubMenu → IsSalesFillExactCostRevLink)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "page", object_name: "Posted Sales Document Lines"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.