Page 8077 Create Vendor Billing Docs
src/Apps/W1/Subscription Billing/App/Billing/Pages/CreateVendorBillingDocs.Page.al66 lines, Copyright (c) Microsoft Corporation. MIT
namespace Microsoft.SubscriptionBilling;page 8077 "Create Vendor Billing Docs"{ Caption = 'Create Billing Documents'; PageType = StandardDialog; ApplicationArea = All; layout { area(content) { group(DateFields) { Caption = 'Dates'; field(DocumentDate; DocumentDate) { Caption = 'Document Date'; ToolTip = 'Specifies the date which is taken over as the document date in the purchase documents.'; } field(PostingDate; PostingDate) { Caption = 'Posting Date'; ToolTip = 'Specifies the date which is used as the posting date in the purchase documents.'; } } group(OptionFields) { Caption = 'Options'; field(GroupingType; Grouping) { Caption = 'Document per'; ToolTip = 'Specifies how the billing lines are grouped in the purchase documents.'; } } } } trigger OnOpenPage() begin if DocumentDate = 0D then DocumentDate := WorkDate(); if PostingDate = 0D then PostingDate := WorkDate(); end; var DocumentDate: Date; PostingDate: Date; Grouping: Enum "Vendor Rec. Billing Grouping"; internal procedure GetData(var NewDocumentDate: Date; var NewPostingDate: Date; var NewGroupingType: Enum "Vendor Rec. Billing Grouping") begin NewDocumentDate := DocumentDate; NewPostingDate := PostingDate; NewGroupingType := Grouping; end; internal procedure SetData(NewDocumentDate: Date; NewPostingDate: Date; NewGroupingType: Enum "Vendor Rec. Billing Grouping") begin DocumentDate := NewDocumentDate; PostingDate := NewPostingDate; Grouping := NewGroupingType; end;}