Skip to main content
PM

PMBillingRule

PX.Objects.PMRelease 2025.2

A step of the billing rule that defines the calculation rules and other settings that depend on the step type. The records of this type are created and edited through the Billing Rules (PM207000) form (which corresponds to the BillingMaint graph).

Field NameTypeDisplay NameForeign Key
AccountGroupIDDefault Navigation
intAccount GroupPMAccountGroup
Description:The account group whose transactions are involved in this billing step. The value of this field corresponds to the value of the PMAccountGroup.groupID field.
AccountIDDefault Navigation
intSales AccountAccount
Description:The account to be used for billing. The value of this field corresponds to the value of the Account.accountID field.
AccountSource
char(1)Use Sales Account From-
Description:The account to be used for billing of the billing rule.
AmountFormula
nvarcharLine Amount Formula-
Description:The formula for calculating the amount of a line of the generated invoice.
BillingID
nvarchar(15)PMBilling
Description:The identifier of the billing rule to which this billing rule step belongs.
BranchSource
char(1)Use Destination Branch From-
Description:The source branch to be used for billing. The field can have one of the values described in PMBillingType.ListAttribute.
BranchSourceBudgetNonexistent in DB
stringUse Destination Branch From-
Description:The account to be used for billing as a sales account of the billing rule. The field can have one of the values described in PMAccountSource.ListAttributeBudget.
CopyNotes
bitCopy Notes and Files-
Description:A Boolean value that indicates (if set to true)that the notes and files are copied to the created invoice.
CreatedByIDDefault Navigation
uniqueidentifierCreated ByUsers
Description:No description available
CreatedByScreenID
char(8)-
Description:No description available
CreatedDateTime
datetimeCreated On-
Description:No description available
Description
nvarchar(255)Description-
Description:The description of the billing rule.
DescriptionFormula
nvarcharLine Description Formula-
Description:The formula to be used to generate the description for a line of the generated invoice.
GroupByDate
bitDate-
Description:/// A Boolean value that indicates (if set to true) that the transactions with the same date are groupped in a single line of the generated invoice.
GroupByEmployee
bitEmployee-
Description:A Boolean value that indicates (if set to true) that the transactions with the same employee are grouped in a single line of the generated invoice.
GroupByItem
bitInventory ID-
Description:A Boolean value that indicates (if set to true) that the transactions with the same inventory item are grouped in a single line of the generated invoice.
GroupByVendor
bitVendor-
Description:A Boolean value that indicates (if set to true) that the transactions with the same date are grouped in a single line of the generated invoice.
IncludeNonBillable
bitInclude Non-Billable Transactions-
Description:A Boolean value that indicates (if set to true) that the system will include non-billable transactions in the created invoice.
IncludeZeroAmountNonexistent in DB
bool?Create Lines with Zero Amount and Quantity-
Description:A Boolean value that indicates (if set to true) that the system will add a transaction in the created invoice even if the transaction has an amount of zero.
IncludeZeroAmountAndQty
bitCreate Lines with Zero Amount and Quantity-
Description:A Boolean value that indicates (if set to true) that the system will add a transaction in the created invoice even if the transaction has a zero quantity or a zero amount.
InvoiceFormula
nvarcharInvoice Description Formula-
Description:The formula to be used to generate the description for the pro forma invoice that is created during billing.
InvoiceGroup
nvarchar(15)Invoice Group-
Description:The identifier for grouping the invoices.
IsActive
bitActive-
Description:A Boolean value that indicates (if set to true) that the rule is available for use in projects and project tasks.
LastModifiedByIDDefault Navigation
uniqueidentifierLast Modified ByUsers
Description:No description available
LastModifiedByScreenID
char(8)-
Description:No description available
LastModifiedDateTime
datetimeLast Modified On-
Description:No description available
NoRateOption
nvarchar(1)If @Rate Is Not Defined-
Description:The action to be performed if the rate value has not been defined.
NoteID
uniqueidentifier-
Description:No description available
QtyFormula
nvarcharLine Quantity Formula-
Description:The formula for calculating the quantity of a line of the generated invoice.
RateTypeIDDefault Navigation
nvarchar(15)Rate TypePMRateType
Description:The rate type used in the billing rule step. The value of this field corresponds to the value of the PMRateType.rateTypeID field.
StepID
intStep ID-
Description:The identifier of the billing rule step.
SubIDDefault Navigation
intSales SubaccountSub
Description:The subaccount to be used for billing. The value of this field corresponds to the value of the Sub.SubID field.
SubMask
nvarchar(30)Sales Subaccount Mask-
Description:The sub mask of the billing rule.
SubMaskBudgetNonexistent in DB
stringSales Subaccount Mask-
Description:The sub mask budget of the billing rule.
TargetBranchIDDefault Navigation
intDestination Branch-
Description:The identifier of the target branch. The value of this field corresponds to the value of the Branch.branchID field.
Type
nvarchar(1)Billing Type-
Description:The type of the billing rule step. The field can have one of the values described in PMBillingType.ListAttribute.
tstamp
timestamp-
Description:No description available