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:
NR | Process step | API call / scenario |
---|---|---|
1 | Get highest generated sequence number. | GetContractsMaxSequence |
2 | Sync contracts with contract lines with the current lowest sequence number and a max result limit in the supplier application. | GetContractsBySequenceNumber |
3 | Process 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 A | Get contract attachments from contracts by attachmentID. | GetContractAttachmentById |
4 B | Get contract by ID. | GetContractById |
Process the retrieved contract attachments in the supplier application. | ||
Repeat steps. |
Updated over 1 year ago