Let H be the cartesian product of a family of abelian groups indexed by a finite set Ω. A given poset P = (Ω, P ) and a map ω : Ω −→ R + give rise to the (P, ω)-weight on H, which further leads to a partition Q(H, P, ω) of H. For the case that H is finite, we give sufficient conditions for two codewords to belong to the same block of Λ, the dual partition of H, and sufficient conditions for H to be Fourier-reflexive. By relating the involved partitions with certain polynomials, we show that such sufficient conditions are also necessary if P is hierarchical and ω is integer valued. With H further set to be a finite vector space over a finite field F, from a partition perspective, we extend the property of "admitting MacWilliams identity" to arbitrary pairs of partitions of H, and prove that a pair of Finvariant partitions (Λ, Γ) with |Λ| = |Γ| admits MacWilliams identity if and only if (Λ, Γ) is a pair of mutually dual Fourier-reflexive partitions. Such a result is then applied to the partitions induced by P-weight and (P, ω)weight. With H set to be a (possibly infinite) left module over a ring S, we show that each (P, ω)-weight isometry of H uniquely induces an order automorphism of P, which further leads to a group homomorphism from the