You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: