Overview
This API is for Production Agreements in Wisefish with Cross-Company functionality.
In this case there is a Delivery Agreement directly linked to the Production Agreement.
The data contains also the lines as a child array.
Note: refNo is gathered from “the source company” through Sales Agreement. It publishes what is the original document in the source company.
Below is an Entity Relationship Diagram showing the primary key fields of the production agreement lines table, and how one of the fields in the primary key, is the primary key of the header table.
-
WiFiProductionAgreementhasNoas Code[20]. -
WiFiProductionAgreementLinehas composite PK:ProdAgreementNo(Code[20]) andLineNo(Integer). -
Relationship: One-to-Many (
||--o{) from Header to Lines.
|
Endpoint name |
|
|
Source table in Wisefish |
|
|
Fixed view |
No filter. |
|
Editable |
No data modification possible. |
|
Procedures |
There are no procedures on this endpoint. |
|
Primary key |
As shown on entity relationship diagram above, the primary key of the “header table” is “No”. It stands for document number. The table representing the lines, has a combined key that consists of 2 fields: |
|
|
|
Data
Field List
|
Property |
Table Field |
Type |
Note |
|
|
No. |
Text |
|
|
|
Status |
Text |
|
|
|
Description |
Text |
|
|
|
Description 2 |
Text |
|
|
|
Creation Date |
Date |
|
|
|
Last Date Modified |
Date |
|
|
|
Comment |
|
|
|
|
Due Date |
Date |
|
|
|
Location Code |
Text |
|
|
|
Starting Date-Time |
DateTime |
|
|
|
Ending Date-Time |
DateTime |
|
|
|
Active |
true/false |
|
|
|
Processing Stage |
Text |
|
|
|
Stock Center Code |
Text |
|
|
|
Lot Code |
Text |
|
|
|
Created by User |
Text |
|
|
|
Production Forecast No. |
Text |
|
|
|
Sales Agreement Type |
Text |
|
|
|
Sales Agreement No. |
Text |
|
|
|
WiFiStockCenter_IC.GLN |
Text |
|
|
|
Main Origin Lot Code |
Text |
|
|
|
WiFiEP Mixed Origin for CodeIT |
|
|
|
|
WiFiEP No. of Lines |
Integer |
Counts the number of lines associated with this Document No.
|
|
|
CCShipToInformation."CC Partner Code" |
Text |
|
|
|
CCShipToInformation."Document Type" |
Text |
|
|
|
CCShipToInformation."No." |
Text |
|
|
|
SystemId |
GUID |
|
|
|
|
Array |
Array of |
|
|
SystemModifiedAt |
DateTime |
|
Example