My basic question is:
What is the design reason behind the following?
Sales Quote (REP204) fails when I execute it from the sales quote window (FOR41) with "Sell-to Customer No." = '' AND "Sell-to Contact No." <> ''
[so "Sell-to Customer No." is empty while "Sell-to Contact No." is populated]
The thing is that when I create a new contact (of type Company) I can create a sales quote for that new contact, but I cannot print it.
Thanx for replies
Luc van Vugt, fluxxus.nl
Never stop learningVan Vugt's dynamiXsDutch Dynamics Community0
Answers
What version are you in. I did it in a 5.1 SWE no issues
[and yes, you are right: it is working on 50SP1;,I thought I had tried that already :-P]
Have logged a bug for it on partnersource. No. 9594805.
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
Definately a bug though in tbl 37. For that procedure CALCVATAMOUNTLINES they have added the cust and cust bus group to it.
Definately a bug though. Since it worked in 5.1 with invoice rounding in S&M turned on
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
TBL 37
CalcVATAmountLines(QtyType : 'General,Invoicing,Shipping';VAR SalesHeader : Record "Sales Header";VAR SalesLine : Record "Sales Line";V
WITH SalesLine DO BEGIN
SETRANGE("Document Type",SalesHeader."Document Type");
SETRANGE("Document No.",SalesHeader."No.");
SalesSetup.GET;
IF (SalesSetup."Invoice Rounding") AND (SalesHeader."Bill-to Customer No."<>'') THEN BEGIN
Cust.GET(SalesHeader."Bill-to Customer No.");
CustPostingGroup.GET(Cust."Customer Posting Group");
END;
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community