TL6: Using Placeholders in Print Destinations
We will learn how to use Standard and Custom placeholders in report print destinations on the example of Purchase order. Let’s say that we want to use the following placeholders in the File and Email print destinations for the Purchase order report:
- Standard: @WORKER@, @USEREMAIL@, @COMPANYID@
Learn about standard placeholders >> - Custom:
- TASK #1: For Email print destination:
- @VendContactName@
- @PurchId@
- @ResponseEndDate@
- TASK #2: For File print destination:
- @PurchId@
- @VendAccount@
- TASK #1: For Email print destination:
Both File and Email print destination settings are set in the Print Management setup (Accounts payable -> Setup -> Forms -> Form setup). We can immediately see and use Standard placeholders, but for Custom placeholders we have to introduce a new custom DSP class - DTPurchPurchaseOrderDSP_OverrideRRS. Use this class in Docentric report setup instead of DTPurchPurchaseOrderDSP that you have used so far. See how >>
Read also about Vendor contact info purpose for emailing purchase orders >>