Describe the issue
The sales quote subform displays the customer contract no in the VendorContractNo field.
Expected behavior
The value for the vendor contract should be shown.
Steps to reproduce
- Create a customer contract
- Create a Sales quote from the customer contract
- Now check the the vendor contract field in the sales quote subform
Additional context
local procedure InitializePageVariables()
begin
CustomerContractNo := Rec.RetrieveFirstContractNo("Service Partner"::Customer, Enum::Process::"Contract Renewal");
//> Required Change
// VendorContractNo := Rec.RetrieveFirstContractNo("Service Partner"::Customer, Enum::Process::"Contract Renewal");
VendorContractNo := Rec.RetrieveFirstContractNo("Service Partner"::Vendor, Enum::Process::"Contract Renewal");
//< Required Change
end;
I will provide a fix for a bug