Below is my formula but it is not working. Please assist with correct formula or let me know how to attain this in my report: 1. I want the Item Code if it is "/Delivery" and the Extension Amt - I don't want the item code nor the extension amount if the item code is not "/DELIVERY"
I do want all invoices to show up though and it is a field in my report.(which is [AR_invoiceHeaderHistory.Invoice])
if {AR_InvoiceHistoryDetail.ItemCode}<> "/DELIVERY"
then {AR_InvoiceHistoryDetail.ItemCode}="" and {AR_InvoiceHistoryDetail.ExtensionAmt}= 0 else if {AR_InvoiceHistoryDetail.ItemCode}= "/DELIVERY" then {AR_InvoiceHistoryDetail.ItemCode}= {AR_InvoiceHistoryDetail.ItemCode} and {AR_InvoiceHistoryDetail.ExtensionAmt}= {AR_InvoiceHistoryDetail.ExtensionAmt}
Thanks for your assistance.
I do want all invoices to show up though and it is a field in my report.(which is [AR_invoiceHeaderHistory.Invoice])
if {AR_InvoiceHistoryDetail.ItemCode}<> "/DELIVERY"
then {AR_InvoiceHistoryDetail.ItemCode}="" and {AR_InvoiceHistoryDetail.ExtensionAmt}= 0 else if {AR_InvoiceHistoryDetail.ItemCode}= "/DELIVERY" then {AR_InvoiceHistoryDetail.ItemCode}= {AR_InvoiceHistoryDetail.ItemCode} and {AR_InvoiceHistoryDetail.ExtensionAmt}= {AR_InvoiceHistoryDetail.ExtensionAmt}
Thanks for your assistance.