Add, change or delete subscriptions (UpdateConnector FbSubscription)

UpdateConnector for adding, changing and deleting subscriptions and subscription lines.

Connector name: FbSubscription

Note: 

You can retrieve a list of fields to be supplied for each UpdateConnector and generate an XML example. See the description for AFAS Online or for a local installation.

Contents

Preparation
Description

Actions that can be performed with the connector

INSERT

Add subscriptions

The Start date invoice cycle (DaSt) field is mandatory when using an INSERT action to add a new subscription.

Download an XML example file

UPDATE

Change subscriptions

You cannot perform an UPDATE action on the item code in a subscription line

DELETE

Delete subscriptions

Not possible with the connector:

  • You cannot change assembled item lines on the subscription line. If the item on the subscription line is an assembled item, then the system does in fact automatically add or delete the underlying assembled item lines.

Points of attention:

  • When you change a subscription header, you can also add, change or delete subscription lines in the same XML.
  • Subscription line change and deletion are based on the line number. You can use a GetConnector to retrieve the line number.
  • The UpdateConnector contains the following fields:
    • LiNa: Licence name
    • VaLs: Type
    • VaPc: Software code
    • VaVe: Version

    You cannot change these fields.

Currency

The following fields are available in the header:

  • Currency (CuId)
  • Exchange rate (Rate)
  • Reduction allowed as from (LaFr)

The following fields are available in the 'FbSubscriptionLines' segment:

  • Discount based on % (IsPc)
  • Sales discount based on % (IsPS)

    If you select this check box, you cannot enter a value in the 'NFDi' field.

  • Deviating price (foreign currency) (NFPr)
  • Discount (foreign currency) (NFDi)
  • Dev. sales price (foreign currency) (SFPr)

    Price in foreign currency for the article to be purchased

  • Sales discount amount (foreign currency) (SFDi)

    Discount in foreign currency of the article to be purchased

Directly to

  1. UpdateConnector descriptions