Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Subscription & Recurring Billing - Validation Problem #27941

Open
1 task done
PeterKevesRevol opened this issue Jan 13, 2025 · 2 comments
Open
1 task done

[Bug]: Subscription & Recurring Billing - Validation Problem #27941

PeterKevesRevol opened this issue Jan 13, 2025 · 2 comments
Labels
approved The issue is approved Finance GitHub request for Finance area

Comments

@PeterKevesRevol
Copy link

Describe the issue

When you want to start the "Create Documents" function from the "Recurring billing" extension, we get an error: "You cannot make this change because the document is linked to a contract" if Hungarian localisation was installed.

Expected behavior

Shouldn't be any error.

Steps to reproduce

  • Install Hungarian localization
  • Create Documents

Additional context

The problem is:
codeunit 8060 "Create Billing Documents"
...
local procedure CreatePurchaseHeaderFromContract(VendorContract: Record "Vendor Contract")
...
PurchaseHeader.SetHideValidationDialog(true);
PurchaseHeader."Recurring Billing" := true; //This line is missing!!! This is why the next "Pay-to Vendor No." validate can NOT handle, that this is"Recurring Billing"
PurchaseHeader.Validate("Pay-to Vendor No.", VendorContract."Pay-to Vendor No.");
...

If you check the similar code for the sales side, the logic is the same, and there is this line:
local procedure CreateSalesHeaderFromContract(CustomerContract: Record "Customer Contract")

I will provide a fix for a bug

  • I will provide a fix for a bug
@JesperSchulz JesperSchulz added the Finance GitHub request for Finance area label Jan 16, 2025
@JesperSchulz
Copy link
Contributor

@AndersLarsenMicrosoft, are we ready to accept contributions to the new subscription billing module?

@JesperSchulz
Copy link
Contributor

Anders has approved.

@JesperSchulz JesperSchulz added the approved The issue is approved label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved The issue is approved Finance GitHub request for Finance area
Projects
None yet
Development

No branches or pull requests

2 participants