Crystal T XT

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

shared numbervar group;

if (({@LineType} = "Expenses") or ({@LineType} = "Purchasing")) and (Sum ({@Expe


nsesMarkupLine}, {@LineType}) > 0) then
group:=(group+1);
ToText(group,"0");
shared numbervar group;
if {@LineType} = "Materials" and (Sum ({@MaterialsMarkupLine}, {@LineType}) > 0)
then
group:=(group+1);
ToText(group,"0");
shared numbervar group;
if {@LineType} = "Labour" and (Sum ({@LaboursMarkupLine}, {@LineType}) > 0) then
group:=(group+1);
ToText(group,"0");
if {@LineType} = "Labour" then ({PBGInvcDtlTC.DocLbrExtAmt}) * ({Project.DocPBFe
eLbrCharge} / 100) else 0
DocPBFeeLbrAmt
SELECT top 1 DocPBFeeMtlCharge, * FROM project
LaboursMarkupLine
LbrMarkUpSeq
SUM({@LaboursMarkupLine})+Sum ({@ExtAmt}) + Sum ({@ExpensesMarkupLine}) + Sum ({
@MaterialsMarkupLine})
({@LineType} <> "Labour" and {@LineType} <> "Purchasing") or (Sum ({@LaboursMark
upLine}, {@LineType}) = 0)

You might also like