Skip to main content
Question

Report Designer multiple visible Condition

  • October 23, 2024
  • 2 replies
  • 84 views

Forum|alt.badge.img+6
  • Do Gooder (Partner)
  • 17 replies

Hi Community,

I have a purchase order report, which i will use the same layout for “Print Order” and “Print order Changes”.

In my report I have differentiated with adding a Visibility condition
 

“/tns:PURCHASE_ORDER_PRINT_REP_REQUEST/tns:PURCHASE_ORDER_PRINT_REP_DATA_ASSEMBLY_PARAMETERS/tns:PUR_ORDER_PRINT_OPTION/tns:VALUE = 'Order Changes'” 

Now, when I do “Print Order”, the fields, MANUF_PART_NO, SUPPLIER_PART_NO AND TAG_NO should get printed.

and when I say Print Change Order, the fields, New_Manuf, New_Supplier, New_Tag should get printed in the report.


The existing visible condition for “Print Order” which I already have in the layout for Manuf_Part, Supplier_Part and Tag_no is
“string-length(tns:PART_NO) > 0 and (../../tns:PRINT_PRICES_INCL_TAX = 'N') and tns:DISPLAY_LINE = 'TRUE' and (../../tns:USE_PRICE_INCL_TAX != 'TRUE')”.

Now I have included the fields, New_manuf, New_Supplier and New_Tag in the layout.

How Should I add the visible condition to the new fields so that it will be only visible when I do “Print Order Changes”.



Thanks,

2 replies

Marcel.Ausan
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 1142 replies
  • October 24, 2024

@Thean for the CF fields that should be printed for POCO you should add to the existing condition the one that you have for the title. I guess that should work.

 

“/tns:PURCHASE_ORDER_PRINT_REP_REQUEST/tns:PURCHASE_ORDER_PRINT_REP_DATA_ASSEMBLY_PARAMETERS/tns:PUR_ORDER_PRINT_OPTION/tns:VALUE = 'Order Changes'” 


Forum|alt.badge.img+6
  • Author
  • Do Gooder (Partner)
  • 17 replies
  • October 24, 2024

Hi @Marcel.Ausan ,
I have forgot to mention this is s customized field.

I have used this condition, but didn’t get any result.

Thanks,


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings