GuidesChangelog
HomeLog In
Guides
These docs are for v2023.1. Click to read the latest docs for v2024.2.

Receiving contracts

Sync Contracts

Purpose:
Sync contracts from Floriday in supplier application.

Prerequisites:

  • The supplier application has the latest update of organizations;
  • The supplier application has the latest update of delivery conditions;
  • The supplier application has the latest update of trade items;
  • The supplier application has the latest update of custom packages;
  • The supplier organization and/or customer organization has inserted and accepted contracts with contract lines and attachments in the Floriday contract module.

Process steps:

NRProcess stepAPI call / scenario
1Get highest generated sequence number.GetContractsMaxSequence
2Sync contracts with contract lines with the current lowest sequence number and a max result limit in the supplier application.GetContractsBySequenceNumber
3Process the retrieved contracts and contract lines in the supplier application with their unique contract ID and version number. The contracts and contract lines will be added, updated or deleted in the supplier application.
4 AGet contract attachments from contracts by attachmentID.GetContractAttachmentById
4 BGet contract by ID.GetContractById
Process the retrieved contract attachments in the supplier application.
Repeat steps.