Other checks/flags
Use an Expression node to create these flags:
PostingMonthLabel — a YYYY-MM text label for grouping and display:
format_date($["PostingDate"], "yyyy-MM")
NegativeAmountFlag:
if($["Amount"] < 0, "Y", "N")
WeekendPostingFlag — use the PostingDayOfWeek column from Step 25. Replace 6 with the actual minimum value for Saturday in your locale if different:
if($["PostingDayOfWeek"] >= 6, "Y", "N")
MissingVendorFlag — catches both a truly missing VendorID and an empty string:
if(($["VendorID"] ?? "") = "", "Y", "N")
VendorMatchedFlag — a null VendorRiskClass means the vendor join in Step 18 found no matching row. "UNMATCHED" is used as the sentinel because it is not a valid risk class value:
if(($["VendorRiskClass"] ?? "UNMATCHED") = "UNMATCHED", "N", "Y")
AbsoluteAmount — used in the high-value check so that large credit notes are also caught:
abs($["Amount"])