Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview


This structure represents the unique key fields associated with identifying a payment term. Payment Terms define when payment of client invoices are due. Payment Terms can be identified by PaymentTermName or PaymentTermUid. When specifying a PwsPaymentTermRef as an input to a web service, you may specify one or both the PaymentTermName and/or PaymentTermUid. However, if you do specify both, they must both refer to the same payment term or the payment term reference will not be considered valid. When a PwsPaymentTermRef is returned in the response to a web service, both the PaymentTermName and PaymentTermUid will be populated, and guaranteed to refer to a single payment term.

Format


Panel
titlePwsPaymentTermRef
  • PwsPaymentTermRef
    • PaymentTermId: Int32
    • PaymentTermName: String (50)
    • PaymentTermUid: Int64

Elements


Default (on insert/update)Payment Term ID9078Net 15Payment Term Unique ID. For internal use only

Element

Data Type

Required?

Description

Sample Data

PaymentTermId

Int32

No

The payment term Id is a unique identifier for a payment term. For internal use only.


PaymentTermName

String

Payment Term Name

(50)

One of PaymentTermName or PaymentTermUid is required

The payment term name is a unique identifier for a payment term.

Net 30

PaymentTermUid

Int64

See PaymentTermName

A unique and immutable identifier for a payment term.

1152921504606856054

Usage

...

Examples


Code Block
languagexml
titleExample 01
collapsetrue
                     <PaymentTermIdentity><b:PaymentTermIdentity>
                         <PaymentTermId>9078</PaymentTermId><b:PaymentTermId i:nil="true"/>
                        <PaymentTermName>Net<b:PaymentTermName>Net 30</b:PaymentTermName>
                        <PaymentTermUid>1152921504606856054<<b:PaymentTermUid>1152921504606856054</b:PaymentTermUid>
                     </b:PaymentTermIdentity>