Skip to content
Open

#5879 #6687

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ table 8061 "Billing Line"
var
ServiceCommitment: Record "Subscription Line";
begin
GetServiceCommitment(ServiceCommitment);
if not GetServiceCommitment(ServiceCommitment) then
exit;

OnBeforeUpdateNextBillingDateInResetSubscriptionLineNextBillingDate(ServiceCommitment);
if ("Document Type" = "Document Type"::"Credit Memo") and ("Correction Document Type" <> "Rec. Billing Document Type"::None) then
Expand Down Expand Up @@ -502,7 +503,7 @@ table 8061 "Billing Line"

internal procedure GetServiceCommitment(var ServiceCommitment: Record "Subscription Line")
begin
ServiceCommitment.Get("Subscription Line Entry No.");
exit(ServiceCommitment.Get("Subscription Line Entry No."));
end;

local procedure UpdateNextBillingDateFromUsageDataMetadata(var ServiceCommitment: Record "Subscription Line")
Expand Down
Loading