Skip to content

[Bug]: [Subscription Billing] Wrong ContratNo for VendorContractNo in Sales Quote Subform #6094

@pri-kise

Description

@pri-kise

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

  • I will provide a fix for a bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions