Textzeile nach Stückliste wird nicht angedruckt
Braindix
Hallo,ich habe folgendes Problem mit den Belegen:
Wenn ich Stücklisten in den Belegen habe und die Komponenten nicht anzeigen lasse (auf SAPebene) wird mir die nachfolgende Textzeile ebenfalls nicht angezeigt.
könnt ihr mir da weiterhelfen??
Danke
Lukasz
Tobias Hermeling
Hallo ich denke mal dass du es nach der Vorgehensweise durchgeführt hast die hier öfters im Forum zitiert worden ist.Hier das Thema nochmal:
http://www.coresystems.ch/forum.html?&tx_mmforum_pi1[action]=list_post&tx_mmforum_pi1[tid]=3493
Sonja Altschuh
alternativ steps:1. Save the following Query as HideComp
SELECT T1.Code AS ItemCode, T1.* FROM OITT T1
INNER JOIN @@RDR1 T2 ON T1.Code = T2.ItemCode WHERE T2.DocEntry = [%DocEntry]
2. In the Layout Definition, apply the following changes Add a new Row
Choose SWA_LD_Document:Row as Query
Choose HideComp as Query 2
Choose ItemCode as Link Field
Choose ItemCode as Link Field 2
3. In the Layout itself:
a) add the following line to the CommonScript of the Layout Properties:
Dim HideComp As Boolean
b) add the following line to the GenerateScript of the Layout Properties:
HideComp = False
c) modify the GetDataScript of the DocumentRow AdvancedDataBand to:
If DocumentRow("Rowhidecomp.TreeType") = "S" Then
HideComp = (DocumentRow("Rowhidecomp.HideComp") = "Y")
End If
d) modify the Visible Property of the DocumentRowDetail Detail to:
(DocumentRow("LineType")="R" Or DocumentRow("LineType")="P")
And Not (DocumentRow("TreeType")="I" And HideComp)
0
Please sign in to leave a comment.
Comments
0 comments