The following table lists the Services defined in "CalWinLibrary":
| ApplicationService |
The application service is used to interact with the application as defined in the .App file, and has methods for user login, user management, App parameters, and to get data from application defined SQL statements.
|
| BusinessObjectsService |
|
| CheckpointService |
Operations for the Checkpoint module. Requires session (Login).
|
| ConsignmentService(BusinessObjectsService) |
The ConsignmentService is derived from BusinessObjectsService and allows management of consignments.
|
| ConsignmentUtilService |
|
| DeviationService |
Deviation related services
|
| LoginService |
The LoginService handles login and logout for Applications (See Session.LoginUser for user login)
|
| LogisticsService |
Logistics related service as inventory, goods delivery and goods receipt
|
| MachineLinkService |
Provides access to CalWin MachineLink functions. Requires session (Login).
|
| MediaService |
Service for getting product drawings, graphics, documents etc.
|
| MessageService |
A service for sending of E-mails, SMS and internal messages.
For E-mail messages the SMTP settings has to be configured in the CalWinServerConfig.XML on th server.
For SMS, the account information has to be set in CalWin.
|
| MiscService |
Miscellaneous functions that don't require a session (login).
|
| MiscServiceSession |
Miscellaneous functions that require session.
|
| NotificationService |
|
| OrderService |
OrderService can be used to edit and create quotes, orders and purchases.
PS! The OrderService preserves state between calls, and all line objects created as a result of shOpen or slAdd
will live on the server as long as the session is alive.
The orderservice contains one quote/order object and an unlimted number of quote-/orderlines (rows). Only one
orderline is active at a time. New lines can be added by the slNew method. To switch to another line use the slSetCurrent methode.
All methods that applies to the header are prefixed by "sh", and for orderlines the methods are prefixed by "sl".
This service require session (see Login service).
|
| ReportService |
Requires session (Login).
|
| Session |
Requires session (Login).
|
| SystemService |
|
Service ApplicationService
The following table lists the Operations defined in "ApplicationService":
| AddOrUpdateAppUser |
This operation adds or updates an AppUser. If aParameter.AppUser.Id = 0, then the user will be added.
|
| ChangeUsernameAndPassword |
Change the username and password for the given user. The user must be identified by either UserId or Username (OldUsername).
|
| GetAppParameters |
Get values for defined parameters for the Application
|
| LoginUser |
Log in a user identified by username and password.
|
| SendNewPassword |
This operation will reset and create a new password, and send it by e-mail. On next login the password has to be changed.
|
| ExecuteSQL |
Executes the SQL and returns the data and column definitions as XML
|
| ExecuteSQLV2 |
Executes the SQL and returns the column definitions and data. The data is returned as JSON
|
Method AddOrUpdateAppUser
This operation adds or updates an AppUser. If aParameter.AppUser.Id = 0, then the user will be added.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraAddOrUpdateAppUser |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resAddOrUpdateAppUser |
Oxygene Syntax:
method ApplicationService.AddOrUpdateAppUser(const aParameter: paraAddOrUpdateAppUser)
: resAddOrUpdateAppUser;
C# Syntax:
public resAddOrUpdateAppUser ApplicationService.AddOrUpdateAppUser(paraAddOrUpdateAppUser aParameter);
Method ChangeUsernameAndPassword
Change the username and password for the given user. The user must be identified by either UserId or Username (OldUsername).
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraChangeUsernameAndPassword |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resChangeUsernameAndPassword |
Oxygene Syntax:
method ApplicationService.ChangeUsernameAndPassword(const aParameter: paraChangeUsernameAndPassword)
: resChangeUsernameAndPassword;
C# Syntax:
public resChangeUsernameAndPassword ApplicationService.ChangeUsernameAndPassword(paraChangeUsernameAndPassword aParameter);
Method GetAppParameters
Get values for defined parameters for the Application
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetAppParameters |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetAppParameters |
Oxygene Syntax:
method ApplicationService.GetAppParameters(const aParameter: paraGetAppParameters)
: resGetAppParameters;
C# Syntax:
public resGetAppParameters ApplicationService.GetAppParameters(paraGetAppParameters aParameter);
Method LoginUser
Log in a user identified by username and password.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraLoginUser |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resLoginUser |
Oxygene Syntax:
method ApplicationService.LoginUser(const aParameter: paraLoginUser)
: resLoginUser;
C# Syntax:
public resLoginUser ApplicationService.LoginUser(paraLoginUser aParameter);
Method SendNewPassword
This operation will reset and create a new password, and send it by e-mail. On next login the password has to be changed.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSendNewPassword |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSendNewPassword |
Oxygene Syntax:
method ApplicationService.SendNewPassword(const aParameter: paraSendNewPassword)
: resSendNewPassword;
C# Syntax:
public resSendNewPassword ApplicationService.SendNewPassword(paraSendNewPassword aParameter);
Method ExecuteSQL
Executes the SQL and returns the data and column definitions as XML
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraExecuteSQL |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resExecuteSQL |
Oxygene Syntax:
method ApplicationService.ExecuteSQL(const aParameter: paraExecuteSQL)
: resExecuteSQL;
C# Syntax:
public resExecuteSQL ApplicationService.ExecuteSQL(paraExecuteSQL aParameter);
Method ExecuteSQLV2
Executes the SQL and returns the column definitions and data. The data is returned as JSON
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraExecuteSQLV2 |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resExecuteSQLV2 |
Oxygene Syntax:
method ApplicationService.ExecuteSQLV2(const aParameter: paraExecuteSQLV2)
: resExecuteSQLV2;
C# Syntax:
public resExecuteSQLV2 ApplicationService.ExecuteSQLV2(paraExecuteSQLV2 aParameter);
Service BusinessObjectsService
The following table lists the Operations defined in "BusinessObjectsService":
Method Update
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraUpdate |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resUpdate |
Oxygene Syntax:
method BusinessObjectsService.Update(const aParameter: paraUpdate)
: resUpdate;
C# Syntax:
public resUpdate BusinessObjectsService.Update(paraUpdate aParameter);
Method Save
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSave |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSave |
Oxygene Syntax:
method BusinessObjectsService.Save(const aParameter: paraSave)
: resSave;
C# Syntax:
public resSave BusinessObjectsService.Save(paraSave aParameter);
Method InsertChild
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraInsertChild |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resInsertChild |
Oxygene Syntax:
method BusinessObjectsService.InsertChild(const aParameter: paraInsertChild)
: resInsertChild;
C# Syntax:
public resInsertChild BusinessObjectsService.InsertChild(paraInsertChild aParameter);
Method Delete
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraDelete |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resDelete |
Oxygene Syntax:
method BusinessObjectsService.Delete(const aParameter: paraDelete)
: resDelete;
C# Syntax:
public resDelete BusinessObjectsService.Delete(paraDelete aParameter);
Method Dispose
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraDispose |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resDispose |
Oxygene Syntax:
method BusinessObjectsService.Dispose(const aParameter: paraDispose)
: resDispose;
C# Syntax:
public resDispose BusinessObjectsService.Dispose(paraDispose aParameter);
Method Refetch
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraRefetch |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resRefetch |
Oxygene Syntax:
method BusinessObjectsService.Refetch(const aParameter: paraRefetch)
: resRefetch;
C# Syntax:
public resRefetch BusinessObjectsService.Refetch(paraRefetch aParameter);
Service CheckpointService
The following table lists the Operations defined in "CheckpointService":
Method GetWorklogInformation
Returns information about a specific checkpoint signing.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetWorklogInformation |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetWorklogInformation |
Oxygene Syntax:
method CheckpointService.GetWorklogInformation(const aParameter: paraGetWorklogInformation)
: resGetWorklogInformation;
C# Syntax:
public resGetWorklogInformation CheckpointService.GetWorklogInformation(paraGetWorklogInformation aParameter);
Method GetWorklogList
Returns a list of WorkLogStruct for a given Workid
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetWorklogList |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetWorkloglist |
Oxygene Syntax:
method CheckpointService.GetWorklogList(const aParameter: paraGetWorklogList)
: resGetWorkloglist;
C# Syntax:
public resGetWorkloglist CheckpointService.GetWorklogList(paraGetWorklogList aParameter);
Method GetWorkStructList
Returns a list of WorkStructs for a given salesline and checkpoint
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetWorkstructList |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetWorkstructList |
Oxygene Syntax:
method CheckpointService.GetWorkStructList(const aParameter: paraGetWorkstructList)
: resGetWorkstructList;
C# Syntax:
public resGetWorkstructList CheckpointService.GetWorkStructList(paraGetWorkstructList aParameter);
Method SignCheckpoint
Signs a checkpoint. The checkpoint id has to be retrived using GetWorkStruct or other functions returning a valid workid. The return value is the worklog id.
PS! This operation is atomic
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSignCheckpoint |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSignCheckpoint |
Oxygene Syntax:
method CheckpointService.SignCheckpoint(const aParameter: paraSignCheckpoint)
: resSignCheckpoint;
C# Syntax:
public resSignCheckpoint CheckpointService.SignCheckpoint(paraSignCheckpoint aParameter);
Method GetCheckpointprofileDocumentLinks
Returns links to all relevant documents for the given workid and checkpoint profile
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetCheckpointDocumentLinks |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetCheckpointDocumentLinks |
Oxygene Syntax:
method CheckpointService.GetCheckpointprofileDocumentLinks(const aParameter: paraGetCheckpointDocumentLinks)
: resGetCheckpointDocumentLinks;
C# Syntax:
public resGetCheckpointDocumentLinks CheckpointService.GetCheckpointprofileDocumentLinks(paraGetCheckpointDocumentLinks aParameter);
Method GetCheckpointprofileInfo
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetCheckpointprofileInfo |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetCheckpointprofileInfo |
Oxygene Syntax:
method CheckpointService.GetCheckpointprofileInfo(const aParameter: paraGetCheckpointprofileInfo)
: resGetCheckpointprofileInfo;
C# Syntax:
public resGetCheckpointprofileInfo CheckpointService.GetCheckpointprofileInfo(paraGetCheckpointprofileInfo aParameter);
Method ExecuteSQLforCheckpointprofile
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraExecuteSQLForCheckpointprofile |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resExecuteSQLForCheckpointprofile |
Oxygene Syntax:
method CheckpointService.ExecuteSQLforCheckpointprofile(const aParameter: paraExecuteSQLForCheckpointprofile)
: resExecuteSQLForCheckpointprofile;
C# Syntax:
public resExecuteSQLForCheckpointprofile CheckpointService.ExecuteSQLforCheckpointprofile(paraExecuteSQLForCheckpointprofile aParameter);
Service ConsignmentService
The following table lists the Operations defined in "ConsignmentService":
Method NewEmpty
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraNewEmpty |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resNewEmpty |
Oxygene Syntax:
method ConsignmentService.NewEmpty(const aParameter: paraNewEmpty)
: resNewEmpty;
C# Syntax:
public resNewEmpty ConsignmentService.NewEmpty(paraNewEmpty aParameter);
Method NewFromSales
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraNewFromSales |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resNewFromSales |
Oxygene Syntax:
method ConsignmentService.NewFromSales(const aParameter: paraNewFromSales)
: resNewFromSales;
C# Syntax:
public resNewFromSales ConsignmentService.NewFromSales(paraNewFromSales aParameter);
Method NewFromCustomer
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraNewFromCustomer |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resNewFromCustomer |
Oxygene Syntax:
method ConsignmentService.NewFromCustomer(const aParameter: paraNewFromCustomer)
: resNewFromCustomer;
C# Syntax:
public resNewFromCustomer ConsignmentService.NewFromCustomer(paraNewFromCustomer aParameter);
Method NewFromDelivery
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraNewFromDelivery |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resNewFromDelivery |
Oxygene Syntax:
method ConsignmentService.NewFromDelivery(const aParameter: paraNewFromDelivery)
: resNewFromDelivery;
C# Syntax:
public resNewFromDelivery ConsignmentService.NewFromDelivery(paraNewFromDelivery aParameter);
Method Open
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraOpen |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resOpen |
Oxygene Syntax:
method ConsignmentService.Open(const aParameter: paraOpen)
: resOpen;
C# Syntax:
public resOpen ConsignmentService.Open(paraOpen aParameter);
Method FindSimilar
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraFindSimilar |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resFindSimilar |
Oxygene Syntax:
method ConsignmentService.FindSimilar(const aParameter: paraFindSimilar)
: resFindSimilar;
C# Syntax:
public resFindSimilar ConsignmentService.FindSimilar(paraFindSimilar aParameter);
Service ConsignmentUtilService
The following table lists the Operations defined in "ConsignmentUtilService":
Method FindSimilarFromAddress
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraFindSimilarFromAddress |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resFindSimilarFromAddress |
Oxygene Syntax:
method ConsignmentUtilService.FindSimilarFromAddress(const aParameter: paraFindSimilarFromAddress)
: resFindSimilarFromAddress;
C# Syntax:
public resFindSimilarFromAddress ConsignmentUtilService.FindSimilarFromAddress(paraFindSimilarFromAddress aParameter);
Method FindSimilarFromConsignment
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraFindSimilarFromConsignment |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resFindSimilarFromConsignment |
Oxygene Syntax:
method ConsignmentUtilService.FindSimilarFromConsignment(const aParameter: paraFindSimilarFromConsignment)
: resFindSimilarFromConsignment;
C# Syntax:
public resFindSimilarFromConsignment ConsignmentUtilService.FindSimilarFromConsignment(paraFindSimilarFromConsignment aParameter);
Method Merge
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraMerge |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resMerge |
Oxygene Syntax:
method ConsignmentUtilService.Merge(const aParameter: paraMerge)
: resMerge;
C# Syntax:
public resMerge ConsignmentUtilService.Merge(paraMerge aParameter);
Method GetDispatched
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetDispatched |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetDispatched |
Oxygene Syntax:
method ConsignmentUtilService.GetDispatched(const aParameter: paraGetDispatched)
: resGetDispatched;
C# Syntax:
public resGetDispatched ConsignmentUtilService.GetDispatched(paraGetDispatched aParameter);
Method GetNotDispatched
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetNotDispatched |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetNotDispatched |
Oxygene Syntax:
method ConsignmentUtilService.GetNotDispatched(const aParameter: paraGetNotDispatched)
: resGetNotDispatched;
C# Syntax:
public resGetNotDispatched ConsignmentUtilService.GetNotDispatched(paraGetNotDispatched aParameter);
Method ConfirmDispatched
Confirms a group of consignment as dispatched. If the carrier supports EDI, the message will be created and sent according to the configuration on the carrier.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraConfirmDispatched |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resConfirmDispatched |
Oxygene Syntax:
method ConsignmentUtilService.ConfirmDispatched(const aParameter: paraConfirmDispatched)
: resConfirmDispatched;
C# Syntax:
public resConfirmDispatched ConsignmentUtilService.ConfirmDispatched(paraConfirmDispatched aParameter);
Method GetNotificationRecipients
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetNotificationRecipients |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetNotificationRecipients |
Oxygene Syntax:
method ConsignmentUtilService.GetNotificationRecipients(const aParameter: paraGetNotificationRecipients)
: resGetNotificationRecipients;
C# Syntax:
public resGetNotificationRecipients ConsignmentUtilService.GetNotificationRecipients(paraGetNotificationRecipients aParameter);
Method SendNotification
Sends notification about dispatch of consignments to the recipients. The recipients has to be obtained from ConsignmentUtilService.GetNotificationRecipients.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSendNotification |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSendNotification |
Oxygene Syntax:
method ConsignmentUtilService.SendNotification(const aParameter: paraSendNotification)
: resSendNotification;
C# Syntax:
public resSendNotification ConsignmentUtilService.SendNotification(paraSendNotification aParameter);
Service DeviationService
The following table lists the Operations defined in "DeviationService":
Method CreateFromTemplate
Will create a deviation based on a template.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraCreateFromTemplate |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resCreateFromTemplate |
Oxygene Syntax:
method DeviationService.CreateFromTemplate(const aParameter: paraCreateFromTemplate)
: resCreateFromTemplate;
C# Syntax:
public resCreateFromTemplate DeviationService.CreateFromTemplate(paraCreateFromTemplate aParameter);
Service LoginService
The following table lists the Operations defined in "LoginService":
| Login |
Login to the appliation. If successfully, a session i created.
|
| ApiLogin |
Login to the appliation application identified by ApplicationId. If successfully, a session i created.
|
| Logout |
Logs out the client and releases the session.
|
Method Login
Login to the appliation. If successfully, a session i created.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraLogin |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resLogin |
Oxygene Syntax:
method LoginService.Login(const aParameter: paraLogin)
: resLogin;
C# Syntax:
public resLogin LoginService.Login(paraLogin aParameter);
Method ApiLogin
Login to the appliation application identified by ApplicationId. If successfully, a session i created.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraApiLogin |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resApiLogin |
Oxygene Syntax:
method LoginService.ApiLogin(const aParameter: paraApiLogin)
: resApiLogin;
C# Syntax:
public resApiLogin LoginService.ApiLogin(paraApiLogin aParameter);
Method Logout
Logs out the client and releases the session.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraLogout |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resLogout |
Oxygene Syntax:
method LoginService.Logout(const aParameter: paraLogout)
: resLogout;
C# Syntax:
public resLogout LoginService.Logout(paraLogout aParameter);
Service LogisticsService
The following table lists the Operations defined in "LogisticsService":
Method GoodsDeliver
Goods dispatch/deliver (order) or goods receipt (purchase)
Parameters:
| Flag |
Name |
Type |
Description |
| In |
para |
paraGoodsDeliver |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGoodsDeliver |
Oxygene Syntax:
method LogisticsService.GoodsDeliver(const para: paraGoodsDeliver)
: resGoodsDeliver;
C# Syntax:
public resGoodsDeliver LogisticsService.GoodsDeliver(paraGoodsDeliver para);
Method GoodsCancel
Cancel goods dispatch/deliver (order) or goods receipt (purchase)
Parameters:
| Flag |
Name |
Type |
Description |
| In |
para |
paraGoodsCancel |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGoodsCancel |
Oxygene Syntax:
method LogisticsService.GoodsCancel(const para: paraGoodsCancel)
: resGoodsCancel;
C# Syntax:
public resGoodsCancel LogisticsService.GoodsCancel(paraGoodsCancel para);
Method CreateDraft
Create a draft for either inventory, correction or transfer kind of item adjustments
Parameters:
| Flag |
Name |
Type |
Description |
| In |
para |
paraCreateInventoryDraft |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resCreateInventoryDraft |
Oxygene Syntax:
method LogisticsService.CreateDraft(const para: paraCreateInventoryDraft)
: resCreateInventoryDraft;
C# Syntax:
public resCreateInventoryDraft LogisticsService.CreateDraft(paraCreateInventoryDraft para);
Method BookDraft
Book a draft. That mean all items in the draft are applied.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
para |
paraBookDraft |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resBookDraft |
Oxygene Syntax:
method LogisticsService.BookDraft(const para: paraBookDraft)
: resBookDraft;
C# Syntax:
public resBookDraft LogisticsService.BookDraft(paraBookDraft para);
Method AddToInventoryDraft
Add items to an Inventory draft.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
para |
paraAddToInventoryDraft |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resAddToDraft |
Oxygene Syntax:
method LogisticsService.AddToInventoryDraft(const para: paraAddToInventoryDraft)
: resAddToDraft;
C# Syntax:
public resAddToDraft LogisticsService.AddToInventoryDraft(paraAddToInventoryDraft para);
Method AddToCorrectionDraft
Add items to an correction draft.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
para |
paraAddToCorrectionDraft |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resAddToDraft |
Oxygene Syntax:
method LogisticsService.AddToCorrectionDraft(const para: paraAddToCorrectionDraft)
: resAddToDraft;
C# Syntax:
public resAddToDraft LogisticsService.AddToCorrectionDraft(paraAddToCorrectionDraft para);
Method AddToTransferDraft
Add items to an correction draft.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
para |
paraAddToTransferDraft |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resAddToDraft |
Oxygene Syntax:
method LogisticsService.AddToTransferDraft(const para: paraAddToTransferDraft)
: resAddToDraft;
C# Syntax:
public resAddToDraft LogisticsService.AddToTransferDraft(paraAddToTransferDraft para);
Service MachineLinkService
The following table lists the Operations defined in "MachineLinkService":
| ExecuteProject |
Will execute a MachineLink project, and return one or more files.
|
| ExecuteProjectAndStore |
Will execute a MachineLink project and store the generated files to a database tabler
|
Method ExecuteProject
Will execute a MachineLink project, and return one or more files.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraExecuteProject |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resExecuteProject |
Oxygene Syntax:
method MachineLinkService.ExecuteProject(const aParameter: paraExecuteProject)
: resExecuteProject;
C# Syntax:
public resExecuteProject MachineLinkService.ExecuteProject(paraExecuteProject aParameter);
Method ExecuteProjectAndStore
Will execute a MachineLink project and store the generated files to a database tabler
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraExecuteProjectAndStore |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resExecuteProjectAndStore |
Oxygene Syntax:
method MachineLinkService.ExecuteProjectAndStore(const aParameter: paraExecuteProjectAndStore)
: resExecuteProjectAndStore;
C# Syntax:
public resExecuteProjectAndStore MachineLinkService.ExecuteProjectAndStore(paraExecuteProjectAndStore aParameter);
Service MediaService
The following table lists the Operations defined in "MediaService":
Method GetItemLineImage
Returns a product drawing for an item line
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetItemLineImage |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resProdcutImage |
Oxygene Syntax:
method MediaService.GetItemLineImage(const aParameter: paraGetItemLineImage)
: resProdcutImage;
C# Syntax:
public resProdcutImage MediaService.GetItemLineImage(paraGetItemLineImage aParameter);
Method GetStdProductImage
Returns a product drawing for standard product
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetStdProductImage |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resProdcutImage |
Oxygene Syntax:
method MediaService.GetStdProductImage(const aParameter: paraGetStdProductImage)
: resProdcutImage;
C# Syntax:
public resProdcutImage MediaService.GetStdProductImage(paraGetStdProductImage aParameter);
Method GetStockItemImage
Returns a product drawing for an item
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetStockItemImage |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resProdcutImage |
Oxygene Syntax:
method MediaService.GetStockItemImage(const aParameter: paraGetStockItemImage)
: resProdcutImage;
C# Syntax:
public resProdcutImage MediaService.GetStockItemImage(paraGetStockItemImage aParameter);
Method GetItemLineDocuments
Returns all list of document infromation for an item line
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetItemLineDocuments |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetDocuments |
Oxygene Syntax:
method MediaService.GetItemLineDocuments(const aParameter: paraGetItemLineDocuments)
: resGetDocuments;
C# Syntax:
public resGetDocuments MediaService.GetItemLineDocuments(paraGetItemLineDocuments aParameter);
Method GetCheckpointDocuments
Returns all list of document information for a checkpoint profile and workid
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetCheckpointDocuments |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetDocuments |
Oxygene Syntax:
method MediaService.GetCheckpointDocuments(const aParameter: paraGetCheckpointDocuments)
: resGetDocuments;
C# Syntax:
public resGetDocuments MediaService.GetCheckpointDocuments(paraGetCheckpointDocuments aParameter);
Method GetProductImage
Returns a product drawing for standard product
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetProductImage |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resProdcutImage |
Oxygene Syntax:
method MediaService.GetProductImage(const aParameter: paraGetProductImage)
: resProdcutImage;
C# Syntax:
public resProdcutImage MediaService.GetProductImage(paraGetProductImage aParameter);
Service MessageService
The following table lists the Operations defined in "MessageService":
| SendMessage |
Send message to CalWin user that will show up in the CalWin desktop application.
|
| SendSMS |
|
| SendEMail |
Send Email message. The message will be added to the outbound email queue, so there will be no immediate feedback on success or eventual errors
|
Method SendMessage
Send message to CalWin user that will show up in the CalWin desktop application.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSendMessage |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSendMessage |
Oxygene Syntax:
method MessageService.SendMessage(const aParameter: paraSendMessage)
: resSendMessage;
C# Syntax:
public resSendMessage MessageService.SendMessage(paraSendMessage aParameter);
Method SendSMS
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSendSMS |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSendSMS |
Oxygene Syntax:
method MessageService.SendSMS(const aParameter: paraSendSMS)
: resSendSMS;
C# Syntax:
public resSendSMS MessageService.SendSMS(paraSendSMS aParameter);
Method SendEMail
Send Email message. The message will be added to the outbound email queue, so there will be no immediate feedback on success or eventual errors
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSendEmail |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSendEmail |
Oxygene Syntax:
method MessageService.SendEMail(const aParameter: paraSendEmail)
: resSendEmail;
C# Syntax:
public resSendEmail MessageService.SendEMail(paraSendEmail aParameter);
Service MiscService
The following table lists the Operations defined in "MiscService":
Method InstallAPPX
Installs or ugrades an CalWin App by uploading the APPX file.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraInstallAppx |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resInstallAppx |
Oxygene Syntax:
method MiscService.InstallAPPX(const aParameter: paraInstallAppx)
: resInstallAppx;
C# Syntax:
public resInstallAppx MiscService.InstallAPPX(paraInstallAppx aParameter);
Method CheckSession
Checks if the given session id exists.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraCheckSession |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resCheckSession |
Oxygene Syntax:
method MiscService.CheckSession(const aParameter: paraCheckSession)
: resCheckSession;
C# Syntax:
public resCheckSession MiscService.CheckSession(paraCheckSession aParameter);
Method GetRGBFromNCS
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetRGBFromNCS |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetRGBFromNCS |
Oxygene Syntax:
method MiscService.GetRGBFromNCS(const aParameter: paraGetRGBFromNCS)
: resGetRGBFromNCS;
C# Syntax:
public resGetRGBFromNCS MiscService.GetRGBFromNCS(paraGetRGBFromNCS aParameter);
Service MiscServiceSession
The following table lists the Operations defined in "MiscServiceSession":
| AddOrUpdateActivity |
|
| AddOrUpdateDiaryEvent |
With AddOrUpdateDiary you can either create a new diary event (aParameter.Id = 0) or update an existing (aParemeterId = 0).
|
| DeleteActivity |
|
| DeleteDiaryEvent |
Delete the diary event given by aParameter.EventId.
|
| GetActivity |
|
| GetDiaryEvent |
Gets a DiaryEvent from the database gived by aParameter.Id
|
| GetParameters |
Get a arbitrary list of parameters by name and context.
This operation is intended for storing application parameters in global,
application (name of application), user or customer context, or any combination.
|
| GetStdProductInfo |
Returns information about a given Standard Product for every allowed sizes.
Pricelist prices will also be returned if the a pricelist is given, or there is a
default pricelist defined on the location.
|
| SaveParameters |
|
| AddOrUpdateContact |
Adds or updates a Contactperson. If aContact.Id is 0 the contact will be added. PS! It's very important to call Commit or Rollback in conjuction with this operation. See Session service.
|
Method AddOrUpdateActivity
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraAddOrUpdateActivity |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resAddOrUpdateActivity |
Oxygene Syntax:
method MiscServiceSession.AddOrUpdateActivity(const aParameter: paraAddOrUpdateActivity)
: resAddOrUpdateActivity;
C# Syntax:
public resAddOrUpdateActivity MiscServiceSession.AddOrUpdateActivity(paraAddOrUpdateActivity aParameter);
Method AddOrUpdateDiaryEvent
With AddOrUpdateDiary you can either create a new diary event (aParameter.Id = 0) or update an existing (aParemeterId = 0).
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraAddOrUpdateDiaryEvent |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resAddOrUpdateDiaryEvent |
Oxygene Syntax:
method MiscServiceSession.AddOrUpdateDiaryEvent(const aParameter: paraAddOrUpdateDiaryEvent)
: resAddOrUpdateDiaryEvent;
C# Syntax:
public resAddOrUpdateDiaryEvent MiscServiceSession.AddOrUpdateDiaryEvent(paraAddOrUpdateDiaryEvent aParameter);
Method DeleteActivity
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraDeleteActivity |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resDeleteActivity |
Oxygene Syntax:
method MiscServiceSession.DeleteActivity(const aParameter: paraDeleteActivity)
: resDeleteActivity;
C# Syntax:
public resDeleteActivity MiscServiceSession.DeleteActivity(paraDeleteActivity aParameter);
Method DeleteDiaryEvent
Delete the diary event given by aParameter.EventId.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraDeleteDiaryEvent |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resDeleteDiaryEvent |
Oxygene Syntax:
method MiscServiceSession.DeleteDiaryEvent(const aParameter: paraDeleteDiaryEvent)
: resDeleteDiaryEvent;
C# Syntax:
public resDeleteDiaryEvent MiscServiceSession.DeleteDiaryEvent(paraDeleteDiaryEvent aParameter);
Method GetActivity
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetActivity |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetActivity |
Oxygene Syntax:
method MiscServiceSession.GetActivity(const aParameter: paraGetActivity)
: resGetActivity;
C# Syntax:
public resGetActivity MiscServiceSession.GetActivity(paraGetActivity aParameter);
Method GetDiaryEvent
Gets a DiaryEvent from the database gived by aParameter.Id
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetDiaryEvent |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetDiaryEvent |
Oxygene Syntax:
method MiscServiceSession.GetDiaryEvent(const aParameter: paraGetDiaryEvent)
: resGetDiaryEvent;
C# Syntax:
public resGetDiaryEvent MiscServiceSession.GetDiaryEvent(paraGetDiaryEvent aParameter);
Method GetParameters
Get a arbitrary list of parameters by name and context.
This operation is intended for storing application parameters in global,
application (name of application), user or customer context, or any combination.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetParameters |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetParameters |
Oxygene Syntax:
method MiscServiceSession.GetParameters(const aParameter: paraGetParameters)
: resGetParameters;
C# Syntax:
public resGetParameters MiscServiceSession.GetParameters(paraGetParameters aParameter);
Method GetStdProductInfo
Returns information about a given Standard Product for every allowed sizes.
Pricelist prices will also be returned if the a pricelist is given, or there is a
default pricelist defined on the location.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetStdProductInfo |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetStdProductInfo |
Oxygene Syntax:
method MiscServiceSession.GetStdProductInfo(const aParameter: paraGetStdProductInfo)
: resGetStdProductInfo;
C# Syntax:
public resGetStdProductInfo MiscServiceSession.GetStdProductInfo(paraGetStdProductInfo aParameter);
Method SaveParameters
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSaveParameters |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSaveParameters |
Oxygene Syntax:
method MiscServiceSession.SaveParameters(const aParameter: paraSaveParameters)
: resSaveParameters;
C# Syntax:
public resSaveParameters MiscServiceSession.SaveParameters(paraSaveParameters aParameter);
Method AddOrUpdateContact
Adds or updates a Contactperson. If aContact.Id is 0 the contact will be added. PS! It's very important to call Commit or Rollback in conjuction with this operation. See Session service.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraAddOrUpdateContact |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resAddOrUpdateContact |
Oxygene Syntax:
method MiscServiceSession.AddOrUpdateContact(const aParameter: paraAddOrUpdateContact)
: resAddOrUpdateContact;
C# Syntax:
public resAddOrUpdateContact MiscServiceSession.AddOrUpdateContact(paraAddOrUpdateContact aParameter);
Service NotificationService
The following table lists the Operations defined in "NotificationService":
| GetNextDbChange |
Returns the next DB change notification from the queue.
PS! A commit must be done before the item or items are permanently dequed. Eventually
a rollback can be executed to let the items stay in the queue.
|
| PollQueue |
|
| CheckQueue |
|
| PushQueue |
|
Method GetNextDbChange
Returns the next DB change notification from the queue.
PS! A commit must be done before the item or items are permanently dequed. Eventually
a rollback can be executed to let the items stay in the queue.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetNextDbChange |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetNextDbChange |
Oxygene Syntax:
method NotificationService.GetNextDbChange(const aParameter: paraGetNextDbChange)
: resGetNextDbChange;
C# Syntax:
public resGetNextDbChange NotificationService.GetNextDbChange(paraGetNextDbChange aParameter);
Method PollQueue
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraPollQueue |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resPollQueue |
Oxygene Syntax:
method NotificationService.PollQueue(const aParameter: paraPollQueue)
: resPollQueue;
C# Syntax:
public resPollQueue NotificationService.PollQueue(paraPollQueue aParameter);
Method CheckQueue
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraCheckQueue |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resCheckQueue |
Oxygene Syntax:
method NotificationService.CheckQueue(const aParameter: paraCheckQueue)
: resCheckQueue;
C# Syntax:
public resCheckQueue NotificationService.CheckQueue(paraCheckQueue aParameter);
Method PushQueue
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraPushQueue |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resPushQueue |
Oxygene Syntax:
method NotificationService.PushQueue(const aParameter: paraPushQueue)
: resPushQueue;
C# Syntax:
public resPushQueue NotificationService.PushQueue(paraPushQueue aParameter);
Service OrderService
The following table lists the Operations defined in "OrderService":
| shNew |
Creates a new quote for a given customer account.
|
| shSetCurrencyMode |
Sets the currency mode for the order session. Must be called before shNew or shOpen.
|
| shOpen |
Opens a existing quote or order from database.
|
| shUpdate |
Updates the server side salesheader object with values from the aSalesHeader parameter.
|
| shSave |
Saves the current quote or order to DB and returns and updated SalesHeaderStruct. Any unsaved orderlines
will also be saved.
PS! It's very important to call Commit or Rollback in conjuction with this operation,
or use the AutoDBCommit parameter.
See Session service.
|
| slAdd |
Adds a new Salesline object.
|
| slSaveCurrent |
Saves the current Salesline to DB. PS! It's very important to call Commit or Rollback in conjuction with this operation, or use the AutoDBCommit parameter. See Session service.
|
| slSetCurrent |
Set the current row that all subsequent Salesline operations will apply to.
|
| slGetImage |
Returns a drawing of the product in JPG, EMG or Bitmap format.
|
| GetListOfCodes |
Return a list of valid product and items.
|
| shConvertToOrder |
Converts a quote to an order. PS! It's very important to call Commit/Rollback in conjuction with this operation, or use the AutoDBCommit parameter. See Session service.
|
| shDelete |
Deletes the current SalesHeader from DB. PS! It's very important to call Commit or Rollback in conjuction with this operation, or use the AutoDBCommit parameter. See Session service.
|
| shGetCalcualtedDeliveryTime |
Returns the possible production, delivery and customer date for the quote or order.
|
| shNewPurchase |
Initialize a new purchase header
|
| shOpenPurchase |
Opens an existing purchase.
|
| shRefresh |
Returns the complete Salesheader and Salesline array in the orderservice object.
New lines (for example automatically created lines) will be added to the Salesline object array.
Optionally the salesheader and saleslines can be refreshed from the database by setting
the RereadSalesheader and/or RereadSaleslines.
|
| shRefreshPurchase |
Returns the complete Salesheader and Salesline array in the orderservice object.
New lines (for example automatically created lines) will be added to the Salesline object array.
Optionally the salesheader and saleslines can be refreshed from the database by setting
the RereadSalesheader and/or RereadSaleslines.
|
| shSavePurchase |
Saves the current purchase DB and returns and updated PurchaseHeaderStruct. Any unsaved orderlines
will also be saved.
PS! It's very important to call Commit or Rollback in conjuction with this operation,
or use the AutoDBCommit parameter.
See Session service.
|
| shUpdatePurchase |
Updates the server side purchase header object.
|
| shUpdatevolumeDiscount |
Recalculates the volumediscount based on the given discountpercent. The discount will be applied to the
individual itemlines or as a seperate item line based on a CalWin system parameter.
PS 1! All item lines in the OrderService has to be saved before calling this operation.
PS 2! A shSave will be performed automatically afterwards.
This method is marked as obsolete.
|
| slAddFrom |
Adds a new product from an existing item line stored in the database and set it as current.
|
| slAddInformation |
Adds information to the current Salesline
|
| slDeleteCurrent |
Delete current salesline object, and if the salesline is stored in the DB, from the
DB also.
PS! It's very important to call Commit or Rollback in conjuction with this operation,
or use the AutoDBCommit parameter.
See Session service.
|
| slDuplicateCurrent |
Duplicates current salesline and returns it. It can optionally be saved to the database.
|
| slGetCurrent |
Returns the current orderline object.
|
| slGetDrawing2D |
The operation returns a 2D drawing of the current item line in XAML format.
|
| slGetPropertyAlternatives |
Returns alternatives for property identified by aIndex.
|
| slModifySelectedAreas |
|
| slRollback |
Rollbacks changes done to current salesline object, since loading, last save or slSetCurrent. PS! Not to be confused with Session.Rollback which is a database rollback.
|
| slUpdateProperties |
With this operation several properties can be updated in one call.
|
| slGetDocumentLinks |
Returns links to all related document for this line. Currently only for lines that are saved to db.
|
| shGetDocumentLinks |
Returns links to all related document for this sale
|
Method shNew
Creates a new quote for a given customer account.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraShNew |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resShNew |
Oxygene Syntax:
method OrderService.shNew(const aParameter: paraShNew)
: resShNew;
C# Syntax:
public resShNew OrderService.shNew(paraShNew aParameter);
Method shSetCurrencyMode
Sets the currency mode for the order session. Must be called before shNew or shOpen.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraShSetCurrencyMode |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resShSetCurrencyMode |
Oxygene Syntax:
method OrderService.shSetCurrencyMode(const aParameter: paraShSetCurrencyMode)
: resShSetCurrencyMode;
C# Syntax:
public resShSetCurrencyMode OrderService.shSetCurrencyMode(paraShSetCurrencyMode aParameter);
Method shOpen
Opens a existing quote or order from database.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraShOpen |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resShOpen |
Oxygene Syntax:
method OrderService.shOpen(const aParameter: paraShOpen)
: resShOpen;
C# Syntax:
public resShOpen OrderService.shOpen(paraShOpen aParameter);
Method shUpdate
Updates the server side salesheader object with values from the aSalesHeader parameter.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraShUpdate |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resShUpdate |
Oxygene Syntax:
method OrderService.shUpdate(const aParameter: paraShUpdate)
: resShUpdate;
C# Syntax:
public resShUpdate OrderService.shUpdate(paraShUpdate aParameter);
Method shSave
Saves the current quote or order to DB and returns and updated SalesHeaderStruct. Any unsaved orderlines
will also be saved.
PS! It's very important to call Commit or Rollback in conjuction with this operation,
or use the AutoDBCommit parameter.
See Session service.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraShSave |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resShSave |
Oxygene Syntax:
method OrderService.shSave(const aParameter: paraShSave)
: resShSave;
C# Syntax:
public resShSave OrderService.shSave(paraShSave aParameter);
Method slAdd
Adds a new Salesline object.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSlAdd |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSlAdd |
Oxygene Syntax:
method OrderService.slAdd(const aParameter: paraSlAdd)
: resSlAdd;
C# Syntax:
public resSlAdd OrderService.slAdd(paraSlAdd aParameter);
Method slSaveCurrent
Saves the current Salesline to DB. PS! It's very important to call Commit or Rollback in conjuction with this operation, or use the AutoDBCommit parameter. See Session service.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSlSaveCurrent |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSlSaveCurrent |
Oxygene Syntax:
method OrderService.slSaveCurrent(const aParameter: paraSlSaveCurrent)
: resSlSaveCurrent;
C# Syntax:
public resSlSaveCurrent OrderService.slSaveCurrent(paraSlSaveCurrent aParameter);
Method slSetCurrent
Set the current row that all subsequent Salesline operations will apply to.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSlSetCurrent |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSlSetCurrent |
Oxygene Syntax:
method OrderService.slSetCurrent(const aParameter: paraSlSetCurrent)
: resSlSetCurrent;
C# Syntax:
public resSlSetCurrent OrderService.slSetCurrent(paraSlSetCurrent aParameter);
Method slGetImage
Returns a drawing of the product in JPG, EMG or Bitmap format.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSlGetImage |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSlGetImage |
Oxygene Syntax:
method OrderService.slGetImage(const aParameter: paraSlGetImage)
: resSlGetImage;
C# Syntax:
public resSlGetImage OrderService.slGetImage(paraSlGetImage aParameter);
Method GetListOfCodes
Return a list of valid product and items.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetListOfCodes |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetListOfCodes |
Oxygene Syntax:
method OrderService.GetListOfCodes(const aParameter: paraGetListOfCodes)
: resGetListOfCodes;
C# Syntax:
public resGetListOfCodes OrderService.GetListOfCodes(paraGetListOfCodes aParameter);
Method shConvertToOrder
Converts a quote to an order. PS! It's very important to call Commit/Rollback in conjuction with this operation, or use the AutoDBCommit parameter. See Session service.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraShConvertToOrder |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resShConvertToOrder |
Oxygene Syntax:
method OrderService.shConvertToOrder(const aParameter: paraShConvertToOrder)
: resShConvertToOrder;
C# Syntax:
public resShConvertToOrder OrderService.shConvertToOrder(paraShConvertToOrder aParameter);
Method shDelete
Deletes the current SalesHeader from DB. PS! It's very important to call Commit or Rollback in conjuction with this operation, or use the AutoDBCommit parameter. See Session service.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraShDelete |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resShDelete |
Oxygene Syntax:
method OrderService.shDelete(const aParameter: paraShDelete)
: resShDelete;
C# Syntax:
public resShDelete OrderService.shDelete(paraShDelete aParameter);
Method shGetCalcualtedDeliveryTime
Returns the possible production, delivery and customer date for the quote or order.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraShGetCalculatedDeliveryTime |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resShGetCalculatedDeliveryTime |
Oxygene Syntax:
method OrderService.shGetCalcualtedDeliveryTime(const aParameter: paraShGetCalculatedDeliveryTime)
: resShGetCalculatedDeliveryTime;
C# Syntax:
public resShGetCalculatedDeliveryTime OrderService.shGetCalcualtedDeliveryTime(paraShGetCalculatedDeliveryTime aParameter);
Method shNewPurchase
Initialize a new purchase header
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraShNewPurchase |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resShNewPurchase |
Oxygene Syntax:
method OrderService.shNewPurchase(const aParameter: paraShNewPurchase)
: resShNewPurchase;
C# Syntax:
public resShNewPurchase OrderService.shNewPurchase(paraShNewPurchase aParameter);
Method shOpenPurchase
Opens an existing purchase.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraShOpenPurchase |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resShOpenPurchase |
Oxygene Syntax:
method OrderService.shOpenPurchase(const aParameter: paraShOpenPurchase)
: resShOpenPurchase;
C# Syntax:
public resShOpenPurchase OrderService.shOpenPurchase(paraShOpenPurchase aParameter);
Method shRefresh
Returns the complete Salesheader and Salesline array in the orderservice object.
New lines (for example automatically created lines) will be added to the Salesline object array.
Optionally the salesheader and saleslines can be refreshed from the database by setting
the RereadSalesheader and/or RereadSaleslines.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraShRefresh |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resShRefresh |
Oxygene Syntax:
method OrderService.shRefresh(const aParameter: paraShRefresh)
: resShRefresh;
C# Syntax:
public resShRefresh OrderService.shRefresh(paraShRefresh aParameter);
Method shRefreshPurchase
Returns the complete Salesheader and Salesline array in the orderservice object.
New lines (for example automatically created lines) will be added to the Salesline object array.
Optionally the salesheader and saleslines can be refreshed from the database by setting
the RereadSalesheader and/or RereadSaleslines.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraShRefreshPurchase |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resShRefreshPurchase |
Oxygene Syntax:
method OrderService.shRefreshPurchase(const aParameter: paraShRefreshPurchase)
: resShRefreshPurchase;
C# Syntax:
public resShRefreshPurchase OrderService.shRefreshPurchase(paraShRefreshPurchase aParameter);
Method shSavePurchase
Saves the current purchase DB and returns and updated PurchaseHeaderStruct. Any unsaved orderlines
will also be saved.
PS! It's very important to call Commit or Rollback in conjuction with this operation,
or use the AutoDBCommit parameter.
See Session service.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraShSavePurchase |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resShSavePurchase |
Oxygene Syntax:
method OrderService.shSavePurchase(const aParameter: paraShSavePurchase)
: resShSavePurchase;
C# Syntax:
public resShSavePurchase OrderService.shSavePurchase(paraShSavePurchase aParameter);
Method shUpdatePurchase
Updates the server side purchase header object.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraShUpdatePurchase |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resShUpdatePurchase |
Oxygene Syntax:
method OrderService.shUpdatePurchase(const aParameter: paraShUpdatePurchase)
: resShUpdatePurchase;
C# Syntax:
public resShUpdatePurchase OrderService.shUpdatePurchase(paraShUpdatePurchase aParameter);
Method shUpdatevolumeDiscount
Recalculates the volumediscount based on the given discountpercent. The discount will be applied to the
individual itemlines or as a seperate item line based on a CalWin system parameter.
PS 1! All item lines in the OrderService has to be saved before calling this operation.
PS 2! A shSave will be performed automatically afterwards.
This method is marked as obsolete.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraShUpdateVolumeDiscount |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resShUpdateVolumeDiscount |
Oxygene Syntax:
method OrderService.shUpdatevolumeDiscount(const aParameter: paraShUpdateVolumeDiscount)
: resShUpdateVolumeDiscount;
C# Syntax:
public resShUpdateVolumeDiscount OrderService.shUpdatevolumeDiscount(paraShUpdateVolumeDiscount aParameter);
Method slAddFrom
Adds a new product from an existing item line stored in the database and set it as current.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSlAddFrom |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSlAddFrom |
Oxygene Syntax:
method OrderService.slAddFrom(const aParameter: paraSlAddFrom)
: resSlAddFrom;
C# Syntax:
public resSlAddFrom OrderService.slAddFrom(paraSlAddFrom aParameter);
Method slAddInformation
Adds information to the current Salesline
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSlAddInformation |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSlAddInformation |
Oxygene Syntax:
method OrderService.slAddInformation(const aParameter: paraSlAddInformation)
: resSlAddInformation;
C# Syntax:
public resSlAddInformation OrderService.slAddInformation(paraSlAddInformation aParameter);
Method slDeleteCurrent
Delete current salesline object, and if the salesline is stored in the DB, from the
DB also.
PS! It's very important to call Commit or Rollback in conjuction with this operation,
or use the AutoDBCommit parameter.
See Session service.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSlDeleteCurrent |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSlDeleteCurrent |
Oxygene Syntax:
method OrderService.slDeleteCurrent(const aParameter: paraSlDeleteCurrent)
: resSlDeleteCurrent;
C# Syntax:
public resSlDeleteCurrent OrderService.slDeleteCurrent(paraSlDeleteCurrent aParameter);
Method slDuplicateCurrent
Duplicates current salesline and returns it. It can optionally be saved to the database.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSlDuplicateCurrent |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSlDuplicateCurrent |
Oxygene Syntax:
method OrderService.slDuplicateCurrent(const aParameter: paraSlDuplicateCurrent)
: resSlDuplicateCurrent;
C# Syntax:
public resSlDuplicateCurrent OrderService.slDuplicateCurrent(paraSlDuplicateCurrent aParameter);
Method slGetCurrent
Returns the current orderline object.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSlGetCurrent |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSlGetCurrent |
Oxygene Syntax:
method OrderService.slGetCurrent(const aParameter: paraSlGetCurrent)
: resSlGetCurrent;
C# Syntax:
public resSlGetCurrent OrderService.slGetCurrent(paraSlGetCurrent aParameter);
Method slGetDrawing2D
The operation returns a 2D drawing of the current item line in XAML format.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSlGetDrawing2D |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSlGetDrawing2D |
Oxygene Syntax:
method OrderService.slGetDrawing2D(const aParameter: paraSlGetDrawing2D)
: resSlGetDrawing2D;
C# Syntax:
public resSlGetDrawing2D OrderService.slGetDrawing2D(paraSlGetDrawing2D aParameter);
Method slGetPropertyAlternatives
Returns alternatives for property identified by aIndex.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSlGetPropertyAlternatives |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSlGetpropertyAlternatives |
Oxygene Syntax:
method OrderService.slGetPropertyAlternatives(const aParameter: paraSlGetPropertyAlternatives)
: resSlGetpropertyAlternatives;
C# Syntax:
public resSlGetpropertyAlternatives OrderService.slGetPropertyAlternatives(paraSlGetPropertyAlternatives aParameter);
Method slModifySelectedAreas
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSlModifySelectedAreas |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSlModifySelectedAreas |
Oxygene Syntax:
method OrderService.slModifySelectedAreas(const aParameter: paraSlModifySelectedAreas)
: resSlModifySelectedAreas;
C# Syntax:
public resSlModifySelectedAreas OrderService.slModifySelectedAreas(paraSlModifySelectedAreas aParameter);
Method slRollback
Rollbacks changes done to current salesline object, since loading, last save or slSetCurrent. PS! Not to be confused with Session.Rollback which is a database rollback.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSlRollback |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSlRollback |
Oxygene Syntax:
method OrderService.slRollback(const aParameter: paraSlRollback)
: resSlRollback;
C# Syntax:
public resSlRollback OrderService.slRollback(paraSlRollback aParameter);
Method slUpdateProperties
With this operation several properties can be updated in one call.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSlUpdateProperties |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSlUpdateProperties |
Oxygene Syntax:
method OrderService.slUpdateProperties(const aParameter: paraSlUpdateProperties)
: resSlUpdateProperties;
C# Syntax:
public resSlUpdateProperties OrderService.slUpdateProperties(paraSlUpdateProperties aParameter);
Method slGetDocumentLinks
Returns links to all related document for this line. Currently only for lines that are saved to db.
Parameters:
None.
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSlGetDocumentLinks |
Oxygene Syntax:
method OrderService.slGetDocumentLinks()
: resSlGetDocumentLinks;
C# Syntax:
public resSlGetDocumentLinks OrderService.slGetDocumentLinks();
Method shGetDocumentLinks
Returns links to all related document for this sale
Parameters:
None.
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resShGetDocumentLinks |
Oxygene Syntax:
method OrderService.shGetDocumentLinks()
: resShGetDocumentLinks;
C# Syntax:
public resShGetDocumentLinks OrderService.shGetDocumentLinks();
Service ReportService
The following table lists the Operations defined in "ReportService":
| GetReportTemplateList |
Returns a list of defined reports in the system.
|
| ExecuteReports |
Executes one or more CalWin report and returns files (or list of URL) in the specified format.
|
| GetReportInformation |
Returns information like variables and parameters defined on the given report.
|
Method GetReportTemplateList
Returns a list of defined reports in the system.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetReportTemplateList |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetReportTemplateList |
Oxygene Syntax:
method ReportService.GetReportTemplateList(const aParameter: paraGetReportTemplateList)
: resGetReportTemplateList;
C# Syntax:
public resGetReportTemplateList ReportService.GetReportTemplateList(paraGetReportTemplateList aParameter);
Method ExecuteReports
Executes one or more CalWin report and returns files (or list of URL) in the specified format.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraExecuteReports |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resExecuteReports |
Oxygene Syntax:
method ReportService.ExecuteReports(const aParameter: paraExecuteReports)
: resExecuteReports;
C# Syntax:
public resExecuteReports ReportService.ExecuteReports(paraExecuteReports aParameter);
Method GetReportInformation
Returns information like variables and parameters defined on the given report.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetReportInformation |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetReportInformation |
Oxygene Syntax:
method ReportService.GetReportInformation(const aParameter: paraGetReportInformation)
: resGetReportInformation;
C# Syntax:
public resGetReportInformation ReportService.GetReportInformation(paraGetReportInformation aParameter);
Service Session
The following table lists the Operations defined in "Session":
| KillSession |
Kills the given by aSessionId.
|
| Rollback |
Executes a rollback command on the Oracle database. All transactions since last Commit or Rollback will be discarded.
|
| Commit |
Performs a commit in the Oracle database.
|
Method KillSession
Kills the given by aSessionId.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraKillSession |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resKillSession |
Oxygene Syntax:
method Session.KillSession(const aParameter: paraKillSession)
: resKillSession;
C# Syntax:
public resKillSession Session.KillSession(paraKillSession aParameter);
Method Rollback
Executes a rollback command on the Oracle database. All transactions since last Commit or Rollback will be discarded.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraRollback |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resRollback |
Oxygene Syntax:
method Session.Rollback(const aParameter: paraRollback)
: resRollback;
C# Syntax:
public resRollback Session.Rollback(paraRollback aParameter);
Method Commit
Performs a commit in the Oracle database.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraCommit |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resCommit |
Oxygene Syntax:
method Session.Commit(const aParameter: paraCommit)
: resCommit;
C# Syntax:
public resCommit Session.Commit(paraCommit aParameter);
Service SystemService
The following table lists the Operations defined in "SystemService":
Method GetServerInfo
Returns information about the CalWin Server instance
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetServerInfo |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetServerInfo |
Oxygene Syntax:
method SystemService.GetServerInfo(const aParameter: paraGetServerInfo)
: resGetServerInfo;
C# Syntax:
public resGetServerInfo SystemService.GetServerInfo(paraGetServerInfo aParameter);
Method ProbeServer
Returns detail about server instance status.
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraProbeServer |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resProbeServer |
Oxygene Syntax:
method SystemService.ProbeServer(const aParameter: paraProbeServer)
: resProbeServer;
C# Syntax:
public resProbeServer SystemService.ProbeServer(paraProbeServer aParameter);
Method GetConfig
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraGetConfig |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resGetConfig |
Oxygene Syntax:
method SystemService.GetConfig(const aParameter: paraGetConfig)
: resGetConfig;
C# Syntax:
public resGetConfig SystemService.GetConfig(paraGetConfig aParameter);
Method SetConfig
Parameters:
| Flag |
Name |
Type |
Description |
| In |
aParameter |
paraSetConfig |
|
Return Value:
| Flag |
Name |
Type |
| Result |
Result |
resSetConfig |
Oxygene Syntax:
method SystemService.SetConfig(const aParameter: paraSetConfig)
: resSetConfig;
C# Syntax:
public resSetConfig SystemService.SetConfig(paraSetConfig aParameter);
The following table lists the Structs defined in "CalWinLibrary":
| ActivityLinkStruct |
References to other entities that an Activity links to.
|
| ActivityStruct |
This struct represent a CalWin activity
|
| AddressDebtableStruct(AddressEnduserStruct) |
|
| AddressEnduserStruct(AddressStruct) |
|
| AddressStruct |
|
| AppGetAppParameterRequest |
Used in ApplicationService.GetAppParameters to define which parameters to return.
|
| AppParameter |
AppParameter represent an App parameter
|
| AppParameterRecord |
AppParameterRecord is a single parameter record and containes values
|
| AppParameterValue |
AppParameterValue represent a single value for an App parameter.
|
| AppUserRightStruct |
Represents a user right as defined in the App definition.
|
| AppUserStruct |
Structure for App users. An App user can eventually be linke to either a contact or a CalWin user (CalWinContact/CalWinUser fields).
|
| AutolineInfoStruct |
Information about an automatically created salesline
|
| BinaryFile |
Represents a file with name, size and the fil content as binary data.
|
| CheckpointStruct |
A structure with information about checkpoint definition.
|
| ChildStruct |
|
| ConfigStruct |
|
| ContactStruct |
|
| CurrencyInfoStruct |
Information about which currency the price fields represent in API responses.
|
| CustomSalesHeaderStruct |
Common data for quote/order and purchase.
|
| DebtableStruct |
|
| DiaryEventStruct |
Defines all the properties that be set for a CalWin Diary event
|
| DocumentStruct |
A structure that represents a record in the Documents table
|
| EmailRecipient |
An email recipient.
|
| EmployeeStruct |
Employee information
|
| FeedbackStruct |
|
| FieldDataStruct |
|
| FieldDisplayDataStruct(FieldDataStruct) |
|
| FindSimilarStruct |
|
| GoodsDeliverLine |
|
| LocationSalesDatesStruct |
|
| LogDetailStruct |
|
| MessageReference |
Refrences to quotes/orders (SalesIdent), quote/order lines (SalesIdent),
|
| NameAddressStruct |
|
| NotificationDataStruct |
|
| NotificationRecipientStruct |
Defines a consignment recipient.
|
| NotificationValueStruct |
|
| paraAddOrUpdateActivity(paraCustomDB) |
The parameter structure for MiscServiceSession.AddOrUpdateActivity
|
| paraAddOrUpdateAppUser(paraCustomDB) |
Parameter struct for the ApplicationService.AddOrUpdateAppUser operation
|
| paraAddOrUpdateContact(paraCustomDB) |
|
| paraAddOrUpdateDiaryEvent(paraCustomDB) |
Parameter struct to the MiscserviceSession.AddOrUpdateDiaryEvent.
|
| paraAddToCorrectionDraft(paraCustom) |
|
| paraAddToInventoryDraft(paraCustom) |
|
| paraAddToTransferDraft(paraCustom) |
|
| paraApiLogin(paraCustomLogin) |
Parameters for the Login method.
|
| paraBookDraft(paraCustom) |
|
| paraBusinessObjects(paraCustom) |
|
| paraChangeUsernameAndPassword(paraCustom) |
|
| paraCheckQueue(paraCustom) |
|
| paraCheckSession(paraCustom) |
|
| paraCommit(paraCustom) |
|
| paraConfirmDispatched(paraCustom) |
|
| paraCreateFromTemplate(paraCustom) |
Parameter to the CreateFromTemplate method
|
| paraCreateInventoryDraft(paraCustom) |
|
| paraCustom |
This is the parent for all parameter structures (paraXxxxx)
|
| paraCustomDB(paraCustom) |
This base structure is used for all parameters that potentially can make modification to the database.
|
| paraCustomExecuteSQLV2(paraCustom) |
|
| paraCustomGetDrawing(paraCustom) |
|
| paraCustomGetImage(paraCustomGetDrawing) |
|
| paraCustomLogin(paraCustom) |
Shared login parameters
|
| paraCustomQueue(paraCustomDB) |
|
| paraCustomResSalesline(paraCustom) |
This parameter structure i parent for all operation having resSalesline as result type.
|
| paraDelete(paraBusinessObjects) |
|
| paraDeleteActivity(paraCustomDB) |
Parameter struct for MiscServiceSession.DeleteActivity
|
| paraDeleteDiaryEvent(paraCustomDB) |
The parameter structure for the MiscServiceSession.DeleteDiaryEvent method
|
| paraDispose(paraBusinessObjects) |
|
| paraExecuteProject(paraCustom) |
|
| paraExecuteProjectAndStore(paraExecuteProject) |
|
| paraExecuteReports(paraCustomDB) |
|
| paraExecuteSQL(paraCustom) |
|
| paraExecuteSQLForCheckpointprofile(paraCustomExecuteSQLV2) |
|
| paraExecuteSQLV2(paraCustomExecuteSQLV2) |
|
| paraFindSimilar(paraBusinessObjects) |
|
| paraFindSimilarFromAddress(paraCustom) |
|
| paraFindSimilarFromConsignment(paraCustom) |
|
| paraGetActivity(paraCustom) |
|
| paraGetAppParameters(paraCustom) |
|
| paraGetCheckpointDocumentLinks(paraCustom) |
|
| paraGetCheckpointDocuments(paraCustom) |
|
| paraGetCheckpointprofileInfo(paraCustom) |
|
| paraGetConfig(paraCustom) |
|
| paraGetDiaryEvent(paraCustom) |
|
| paraGetDispatched(paraCustom) |
|
| paraGetItemLineDocuments(paraCustom) |
|
| paraGetItemLineImage(paraCustom) |
|
| paraGetListOfCodes(paraCustom) |
|
| paraGetNextDbChange(paraCustomDB) |
The parameter structure for the Notification.GetNextDbChange.
|
| paraGetNotDispatched(paraCustom) |
|
| paraGetNotificationRecipients(paraCustom) |
|
| paraGetParameters(paraCustom) |
|
| paraGetProductImage(paraCustom) |
|
| paraGetReportInformation(paraCustom) |
Parameter struct for the GetReportInformation operation
|
| paraGetReportTemplateList(paraCustom) |
|
| paraGetRGBFromNCS(paraCustom) |
|
| paraGetServerInfo(paraCustom) |
|
| paraGetStdProductImage(paraCustom) |
|
| paraGetStdProductInfo(paraCustom) |
|
| paraGetStockItemImage(paraCustom) |
|
| paraGetWorklogInformation(paraCustom) |
|
| paraGetWorklogList(paraCustom) |
|
| paraGetWorkstructList(paraCustom) |
|
| paraGoodsCancel(paraCustom) |
|
| paraGoodsDeliver(paraCustom) |
|
| paraInsertChild(paraBusinessObjects) |
|
| paraInstallAppx(paraCustom) |
|
| paraKillSession(paraCustom) |
|
| paraLogin(paraCustomLogin) |
Parameters for the Login method.
|
| paraLoginUser(paraCustom) |
|
| paraLogout(paraCustom) |
|
| paraMerge(paraCustom) |
|
| ParameterContextStruct |
Defines the context a parameter is in.
|
| ParameterStruct |
Parameter data.
|
| paraNewEmpty(paraCustom) |
|
| paraNewFromCustomer(paraCustom) |
|
| paraNewFromDelivery(paraCustom) |
|
| paraNewFromSales(paraCustom) |
|
| paraOnAppChanged |
|
| paraOpen(paraCustom) |
|
| paraPollQueue(paraCustomQueue) |
|
| paraProbeServer(paraCustom) |
Parameter struct to SystemService.ProbeServer.
|
| paraPushQueue(paraCustomQueue) |
|
| paraRefetch(paraBusinessObjects) |
|
| paraRollback(paraCustom) |
|
| paraSave(paraBusinessObjects) |
|
| paraSaveParameters(paraCustomDB) |
Parameters to MiscSessionService.SaveParameters
|
| paraSendEmail(paraCustom) |
|
| paraSendMessage(paraCustomDB) |
|
| paraSendNewPassword(paraCustom) |
Paramtere struct for SendNewPassword.
|
| paraSendNotification(paraCustom) |
|
| paraSendSMS(paraCustom) |
|
| paraSetConfig(paraCustom) |
|
| paraShConvertToOrder(paraCustomDB) |
Parameter struct for ShConvertToOrder method
|
| paraShDelete(paraCustom) |
|
| paraShGetCalculatedDeliveryTime(paraCustom) |
|
| paraShNew(paraCustom) |
Parameter structure for the OrderService.CreateNewSalesHeader method.
|
| paraShNewPurchase(paraCustom) |
Parameter structure for the OrderService.shNewPurchase method.
|
| paraShOpen(paraCustom) |
|
| paraShOpenPurchase(paraCustom) |
Parameter structure for the OrderService.shOpenPurchase method.
|
| paraShRefresh(paraCustom) |
Parameter structure for the shRefresh operation
|
| paraShRefreshPurchase(paraCustom) |
Parameter structure for the shRefreshPurchase operation
|
| paraShSave(paraCustomDB) |
|
| paraShSavePurchase(paraCustomDB) |
Parameter structure for the OrderService.shSavePurchase method.
|
| paraShSetCurrencyMode(paraCustom) |
Parameter structure for the OrderService.shSetCurrencyMode method.
|
| paraShUpdate(paraCustom) |
|
| paraShUpdatePurchase(paraCustom) |
Parameter structure for the OrderService.shUpdatePurchase method.
|
| paraShUpdateVolumeDiscount(paraCustom) |
|
| paraSignCheckpoint(paraCustom) |
Parameter fields for CheckpointService.Sign
|
| paraSlAdd(paraCustomResSalesline) |
|
| paraSlAddFrom(paraCustomResSalesline) |
Parameter strucutre for OrderService.slAddFrom
|
| paraSlAddInformation(paraCustomResSalesline) |
|
| paraSlDeleteCurrent(paraCustom) |
|
| paraSlDuplicateCurrent(paraCustomResSalesline) |
|
| paraSlGetCurrent(paraCustomResSalesline) |
|
| paraSlGetDrawing2D(paraCustomGetDrawing) |
Parameter for the slGetDrawing2D operation
|
| paraSlGetImage(paraCustomGetImage) |
|
| paraSlGetPropertyAlternatives(paraCustom) |
|
| paraSlModifySelectedAreas(paraCustom) |
|
| paraSlRollback(paraCustomResSalesline) |
|
| paraSlSaveCurrent(paraCustomResSalesline) |
|
| paraSlSetCurrent(paraCustomResSalesline) |
|
| paraSlUpdateProperties(paraCustomResSalesline) |
|
| paraUpdate(paraBusinessObjects) |
|
| PriceUpdateOptionStruct |
Options for how prices should be handled/set. It's used by several methods.
|
| ProductCodeStruct |
|
| PropertyCategory |
|
| PropertyItem |
A property that can be altered on a Salesline object.
|
| PropertyItemAlternative |
A valid alternative for a PropertyItem.
|
| PropertyItemAlternativeExtraValueInfo |
|
| PropertyItemAlternativeOption |
Describes how the list of alternatives should be presented
|
| PropertyUpdateStruct |
A structure used to identify and update a property on a salesline. Used by slUpdateProperties.
|
| PurchaseHeaderStruct(CustomSalesHeaderStruct) |
Contains data for purchase
|
| QueryDialogStruct |
A definition of a dialog to be used when querying a user for inputs to a report.
|
| QueryVariableStruct |
A definition of a variable for a report query dialog.
|
| ReportCurrentValues |
Values in currents are passed to the report engine, and ususally used in the where part of the SQL statement.
|
| ReportExportFile |
Represents a file in a report export. When executing a report to RTF or PDF format only one file is returned, but when exporting to HTML and other formats, several files may be returned.
|
| ReportMergeOptionsStruct |
|
| ReportPackageStruct |
A structure defining av report with current-values, variables and parameters.
|
| ReportParameterStruct(VariableValue) |
Report parameter as defined in the report.
|
| resAddOrUpdateActivity(resCustom) |
The result structure for the MiscServiceSession.AddOrUpdateActivity method.
|
| resAddOrUpdateAppUser(resCustom) |
|
| resAddOrUpdateContact(resCustom) |
|
| resAddOrUpdateDiaryEvent(resCustom) |
|
| resAddToDraft(resCustom) |
|
| resApiLogin(resCustomLogin) |
Structure returned by the LoginService.Login method.
|
| resBookDraft(resCustom) |
|
| resBusinessObjects(resCustom) |
|
| resChangeUsernameAndPassword(resCustom) |
|
| resCheckQueue(resCustom) |
|
| resCheckSession(resCustom) |
|
| resCommit(resCustom) |
|
| resConfirmDispatched(resCustom) |
|
| resCreateFromTemplate(resCustom) |
|
| resCreateInventoryDraft(resCustom) |
|
| resCustom |
This is the basis for all result structures (resXxxxx)
|
| resCustomBinaryData(resCustom) |
|
| resCustomExecuteSQLV2(resCustom) |
|
| resCustomLogin(resCustom) |
Structure returned by the LoginService.Login method.
|
| resCustomObject(resBusinessObjects) |
This is ancestor class for all methods that creates a new server object
|
| resDelete(resCustom) |
|
| resDeleteActivity(resCustom) |
The result structure for MiscServiceSession.DeleteActivity
|
| resDeleteDiaryEvent(resCustom) |
The result structture for the MiscServiceSession.DeleteDiaryEvent method
|
| resDispose(resCustom) |
|
| resExecuteProject(resCustom) |
|
| resExecuteProjectAndStore(resCustom) |
|
| resExecuteReports(resCustom) |
|
| resExecuteSQL(resCustom) |
|
| resExecuteSQLForCheckpointprofile(resCustomExecuteSQLV2) |
|
| resExecuteSQLV2(resCustomExecuteSQLV2) |
|
| resFindSimilar(resCustom) |
|
| resFindSimilarFromAddress(resFindSimilar) |
|
| resFindSimilarFromConsignment(resFindSimilar) |
|
| resGetActivity(resCustom) |
|
| resGetAppParameters(resCustom) |
|
| resGetCheckpointDocumentLinks(resCustom) |
|
| resGetCheckpointprofileInfo(resCustom) |
|
| resGetConfig(resCustom) |
|
| resGetDiaryEvent(resCustom) |
|
| resGetDispatched(resCustom) |
|
| resGetDocuments(resCustom) |
|
| resGetListOfCodes(resCustom) |
|
| resGetNextDbChange(resCustom) |
The result structure for the NotificationService.GetNextDbChange
|
| resGetNotDispatched(resGetDispatched) |
|
| resGetNotificationRecipients(resCustom) |
|
| resGetParameters(resCustom) |
|
| resGetReportInformation(resCustom) |
Result struct for the GetReportTemplateInformation operation
|
| resGetReportTemplateList(resCustom) |
Result struct for the GetReportTemplateList operation.
|
| resGetRGBFromNCS(resCustom) |
|
| resGetServerInfo(resCustom) |
|
| resGetStdProductInfo(resCustom) |
|
| resGetWorklogInformation(resCustom) |
|
| resGetWorkloglist(resCustom) |
|
| resGetWorkstructList(resCustom) |
|
| resGoodsCancel(resCustom) |
|
| resGoodsDeliver(resCustom) |
|
| resInsertChild(resBusinessObjects) |
|
| resInstallAppx(resCustom) |
|
| resKillSession(resCustom) |
|
| resLogin(resCustomLogin) |
Structure returned by the LoginService.Login method.
|
| resLoginUser(resCustom) |
Result for the user login request. If the login is accepted, Userinfo contains details about the App user.
|
| resLogout(resCustom) |
|
| resMerge(resCustom) |
|
| resNewEmpty(resCustomObject) |
|
| resNewFromCustomer(resCustomObject) |
|
| resNewFromDelivery(resCustomObject) |
|
| resNewFromSales(resCustomObject) |
|
| resOpen(resCustomObject) |
|
| resPollQueue(resCustom) |
The result structure for the NotificationService.PullQueue
|
| resProbeServer(resCustom) |
Result struct for SystemService.ProbeServer
|
| resProdcutImage(resCustomBinaryData) |
|
| resPushQueue(resCustom) |
|
| resRefetch(resBusinessObjects) |
|
| resRollback(resCustom) |
|
| resSalesline(resCustom) |
This structure is parent for several other result structs. resSlAdd, resSlGetCurrent etc.
|
| resSave(resBusinessObjects) |
|
| resSaveParameters(resCustom) |
|
| resSendEmail(resCustom) |
|
| resSendMessage(resCustom) |
|
| resSendNewPassword(resCustom) |
|
| resSendNotification(resCustom) |
|
| resSendSMS(resCustom) |
|
| resSetConfig(resCustom) |
|
| resShConvertToOrder(resShWithCurrencyInfo) |
Result structure for OrderService.ShConvertToOrder
|
| resShDelete(resCustom) |
Result from the Orderservice.ShDelete operation
|
| resShGetCalculatedDeliveryTime(resCustom) |
|
| resShGetDocumentLinks(resCustom) |
|
| resShNew(resShWithCurrencyInfo) |
Result from the shNew operation.
|
| resShNewPurchase(resShWithCurrencyInfo) |
|
| resShOpen(resShWithCurrencyInfo) |
Result from the shOpen operation.
|
| resShOpenPurchase(resShWithCurrencyInfo) |
Result from the shOpenPurchase operation.
|
| resShRefresh(resShWithCurrencyInfo) |
Result structure for shRefresh
|
| resShRefreshPurchase(resShWithCurrencyInfo) |
Result structure for shRefresh
|
| resShSave(resShWithCurrencyInfo) |
Result from shSave operation
|
| resShSavePurchase(resShWithCurrencyInfo) |
Result from shSavePurchase operation
|
| resShSetCurrencyMode(resCustom) |
Result from the shSetCurrencyMode operation.
|
| resShUpdate(resShWithCurrencyInfo) |
|
| resShUpdatePurchase(resShWithCurrencyInfo) |
Result from the shUpdatePurchase operation
|
| resShUpdateVolumeDiscount(resCustom) |
|
| resShWithCurrencyInfo(resCustom) |
Base class for header result classes that include CurrencyInfo
|
| resSignCheckpoint(resCustom) |
|
| resSlAdd(resSalesline) |
|
| resSlAddFrom(resSalesline) |
Result structure for OrderService.slAddFrom
|
| resSlAddInformation(resSalesline) |
|
| resSlDeleteCurrent(resCustom) |
|
| resSlDuplicateCurrent(resSalesline) |
|
| resSlGetCurrent(resSalesline) |
|
| resSlGetDocumentLinks(resCustom) |
|
| resSlGetDrawing2D(resCustom) |
Result struct for the slGetDrawing2D operation
|
| resSlGetImage(resCustom) |
|
| resSlGetpropertyAlternatives(resCustom) |
|
| resSlModifySelectedAreas(resCustom) |
|
| resSlRollback(resSalesline) |
|
| resSlSaveCurrent(resSalesline) |
|
| resSlSetCurrent(resSalesline) |
|
| resSlUpdateProperties(resSalesline) |
|
| resUpdate(resBusinessObjects) |
|
| RGBStruct |
A 24-bit RGB color. R,G,B is unsigned 8-bit numbers (0-255).
|
| RowdataDisplayStruct |
|
| SalesDatesStruct |
|
| SalesHeaderIdent |
|
| SalesHeaderIdStruct |
Identifies a sale
|
| SalesheaderStruct(CustomSalesHeaderStruct) |
Contains fields from a quote- or salesorderheader.
|
| SaleslineIdentStruct(SalesHeaderIdStruct) |
Identifies an salesline
|
| SaleslineStruct |
SalesLineStruct represents a Salesline in CalWin
|
| SaleslineStructOS(SaleslineStruct) |
This is a derived structure with RowIndex for use in the OrderService.
|
| SalesNotesStruct |
A struct for notes belonging to a Salesline or Salesheader.
|
| SelectionAreaIdRecStruct |
Represent a selected square/light on a product
|
| SendReportByEmailStruct |
|
| SMSRecipient |
A SMS recipient
|
| SquareIdStruct |
|
| StandardProductInfoSizeStruct |
|
| StockStruct |
Information of stocklevel for a particular itemnumber
|
| StoreToTableColumnMapping |
|
| TColumn |
|
| TDocumentLinkInfo |
Info about a linked document.
|
| TDrawingImageOptions(paraCustomGetImage) |
Options for the drawing
|
| TimeZoneStruct |
Contains TimeZone information
|
| TInventoryCommonItem |
|
| TInventoryCorrectionItem(TInventoryCommonItem) |
|
| TInventoryStocktakingItem(TInventoryCommonItem) |
|
| TInventoryTransferItem(TInventoryCommonItem) |
|
| TStoreToInfo |
|
| UserStruct |
|
| VariableValue |
|
| VolumeDiscountUpdateOptionsStruct |
Properties used for volume discount update. Currently used by shSave.
|
| WorklogStruct |
A structure with information about a signed checkpoint.
|
| WorkStruct |
A structure with information about a defined checkpoint on a orderline.
|
Struct ActivityLinkStruct
The following table lists the fields defined in "ActivityLinkStruct":
Struct ActivityStruct
The following table lists the fields defined in "ActivityStruct":
Struct AddressDebtableStruct
The following table lists the fields defined in "AddressDebtableStruct":
| Field |
Data Type |
Documentation |
Struct AddressEnduserStruct
The following table lists the fields defined in "AddressEnduserStruct":
Struct AddressStruct
The following table lists the fields defined in "AddressStruct":
Struct AppGetAppParameterRequest
The following table lists the fields defined in "AppGetAppParameterRequest":
| Field |
Data Type |
Documentation |
| ID |
Guid |
|
| Key |
Variant |
The meaning of this parameter depends on parameter level:
plSystem: No effect
plLocation: Location ID. If null all locations are returned
plUser: User Id. If null - the currently logged in user. If null and user not logged on an
exception will be raised.
plUserParent (customer, supplier etc.): No effect.
|
Struct AppParameter
The following table lists the fields defined in "AppParameter":
| Field |
Data Type |
Documentation |
| ID |
Guid |
The Parameter GUID
|
| Records |
AppParameterRecordArray |
Records of parameter values. If the parameter is an Array it may contain several records. Otherwise only one.
|
| Key |
Variant |
The value depends on the level of the parameter. plSystem: Always null plLocation: The locationId plUser: User id plUserParent: The id of the parent of the user (customer, supplier, etc.)
|
Struct AppParameterRecord
The following table lists the fields defined in "AppParameterRecord":
Struct AppParameterValue
The following table lists the fields defined in "AppParameterValue":
Struct AppUserRightStruct
The following table lists the fields defined in "AppUserRightStruct":
| Field |
Data Type |
Documentation |
| UserRightGUID |
Guid |
The GUID representing the user right.
|
| Name |
WideString |
|
Struct AppUserStruct
The following table lists the fields defined in "AppUserStruct":
| Field |
Data Type |
Documentation |
| ID |
Int64 |
The unique id for the App user.
|
| Fullname |
WideString |
|
| Username |
WideString |
Username used when logging in to the App.
|
| Email |
WideString |
E-mail address
|
| Phone |
WideString |
|
| PasswordExpired |
Boolean |
True if the password has expired and has to reset.
|
| Language |
WideString |
The ISO 639 language code
|
| Active |
Boolean |
False if the user is not enabled/active anymore.
|
| UserprofileId |
Integer |
Reference to the user profile ID (configurator).
|
| SaleslocationId |
WideString |
|
| PhysicalLocationId |
WideString |
|
| CalWinContact |
ContactStruct |
If this App user represented a CalWin contact (belonging to customer, creditor, project or party), this sub structure will be contain data.
|
| CalWinUser |
UserStruct |
If this App user represented a CalWin user, this sub structure will be contain data.
|
| Rights |
AppUserRightArray |
The assigned user Rights for the user.
|
| AppId |
WideString |
The application id the user belongs to
|
Struct AutolineInfoStruct
The following table lists the fields defined in "AutolineInfoStruct":
| Field |
Data Type |
Documentation |
| ToEndUser |
Boolean |
Should this line be visible for the enduser?
|
Struct BinaryFile
The following table lists the fields defined in "BinaryFile":
Struct CheckpointStruct
The following table lists the fields defined in "CheckpointStruct":
Struct ChildStruct
The following table lists the fields defined in "ChildStruct":
Struct ConfigStruct
The following table lists the fields defined in "ConfigStruct":
Struct ContactStruct
The following table lists the fields defined in "ContactStruct":
| Field |
Data Type |
Documentation |
| Id |
Int64 |
The unique ID of the contact.
|
| Name |
WideString |
|
| Address1 |
WideString |
|
| Address2 |
WideString |
|
| Address3 |
WideString |
|
| Zip |
WideString |
|
| Phone |
WideString |
|
| Mobile |
WideString |
|
| Fax |
WideString |
|
| Email |
WideString |
|
| Resigned |
Boolean |
True if the contact is no longer employeed by the parent (Customer, supplier etc.)?
|
| UserprofileId |
Integer |
Reference to the user profile that will be used by CalWin Web configurator.
|
| Username |
WideString |
The username used for login.
|
| DebtorAccount |
WideString |
The customer number if this contact belongs to a customer.
|
| CredtorAccount |
WideString |
The supplier number if this contact belongs to a supplier.
|
| ProjectId |
WideString |
The project id if this contact belongs to a project.
|
| PartyOther_Id |
Integer |
The id of the other party if this contact belongs to a other party.
|
| PersonRoleId |
Integer |
Reference to a role (PersonRole table)
|
| DebitorInfo |
DebtableStruct |
Name, address etc. for the customer this user/contact belongs to.
|
Struct CurrencyInfoStruct
The following table lists the fields defined in "CurrencyInfoStruct":
| Field |
Data Type |
Documentation |
| CurrencyMode |
CurrencyModeEnum |
Which currency mode is active for the returned prices.
|
| ExchangeCode |
WideString |
The current display currency internal exchange code ID.
|
| ExchangeRate |
Double |
Exchange rate used for conversion from installation currency. 1.0 if no conversion.
|
| CurrencyCode |
WideString |
ISO currency code for the returned prices (e.g., "NOK", "EUR", "USD").
|
| CurrencySymbol |
WideString |
Currency symbol for display (e.g., "kr", "€", "$").
|
| DecimalPlaces |
Integer |
Number of decimal places typically used for this currency.
|
| InstallationExchangeCode |
WideString |
The installation currency internal exchange code ID.
|
| InstallationCurrencyCode |
WideString |
The installation base currency ISO code (e.g., "NOK").
|
Struct CustomSalesHeaderStruct
The following table lists the fields defined in "CustomSalesHeaderStruct":
Struct DebtableStruct
The following table lists the fields defined in "DebtableStruct":
Struct DiaryEventStruct
The following table lists the fields defined in "DiaryEventStruct":
| Field |
Data Type |
Documentation |
| EventId |
Int64 |
The unique id of the event.
|
| EmployeeId |
WideString |
CalWin Employee ID
|
| Caption |
WideString |
Specifies the caption of the event
|
| Message |
WideString |
Specifies the text for the end-user's description of the event.
|
| AllDayEvent |
Boolean |
Specifies whether event is an all-day event (an event that lasts at least 24 hours or longer).
|
| EventType |
DiaryEventTypeEnum |
Specifies the status of the event's reoccurrences.
|
| Start |
DateTime |
Specifies the event's start time.
|
| Finish |
DateTime |
Specifies the event's end time.
|
| EventLabel |
Integer |
Specifies an event's label. The predefined labels are: 0=None 1=Important 2=Business 3=Personal 4=Vacation 5=Must Attend 6=Travel Required 7=Needs Preparation 8=Birthday 9=Anniversary 10=Phone Call
|
| Location |
WideString |
Specifies the text that represents the location at which the current user event is being held.
|
| Reminder |
Boolean |
Specifies whether the reminder is on or off.
|
| ReminderDate |
DateTime |
Specifies the date and time of the event's reminder
|
| ReminderMinutesBeforeStart |
Integer |
|
| State |
DiaryEventStateEnum |
|
| CalWinCategory |
CwDiaryEventCategoryEnum |
CalWin event category.
|
| ExchangeId |
WideString |
Reference to an Exchange unique object ID
|
| IsPrivate |
Boolean |
Is this a private record?
|
Struct DocumentStruct
The following table lists the fields defined in "DocumentStruct":
| Field |
Data Type |
Documentation |
| Docid |
Integer |
Unique identifier of the document.
|
| Filename |
WideString |
The name of the file with extension. No path.
|
| Description |
WideString |
Description of the document. The description will be shown in CalWin activity as a hint when hovering over the link.
|
| FileObject |
Binary |
The file data.
|
| ExternalReference |
WideString |
External refrence information.
|
Struct EmailRecipient
The following table lists the fields defined in "EmailRecipient":
| Field |
Data Type |
Documentation |
| EMailAddress |
WideString |
The E-Mail address for the receiver
|
| Name |
WideString |
|
Struct EmployeeStruct
The following table lists the fields defined in "EmployeeStruct":
Struct FeedbackStruct
The following table lists the fields defined in "FeedbackStruct":
Struct FieldDataStruct
The following table lists the fields defined in "FieldDataStruct":
Struct FieldDisplayDataStruct
The following table lists the fields defined in "FieldDisplayDataStruct":
Struct FindSimilarStruct
The following table lists the fields defined in "FindSimilarStruct":
Struct GoodsDeliverLine
The following table lists the fields defined in "GoodsDeliverLine":
| Field |
Data Type |
Documentation |
| AllFinished |
Boolean |
To handle over/under delivery for purchases. If true QtyOrdered on the line will be updated to total received.
|
| Vnumber |
Integer |
|
| Qty |
Double |
|
Struct LocationSalesDatesStruct
The following table lists the fields defined in "LocationSalesDatesStruct":
Struct LogDetailStruct
The following table lists the fields defined in "LogDetailStruct":
| Field |
Data Type |
Documentation |
| OperationDetails |
Boolean |
Logs parameters and result values from all operation calls.
|
Struct MessageReference
The following table lists the fields defined in "MessageReference":
| Field |
Data Type |
Documentation |
| SalesIdent |
SaleslineIdentStruct |
Use this struct if the message is a reference to either a Salesheader or a Salesline.
|
| DeviationId |
Int64 |
Use this field if the message is a reference to a deviation.
|
| SaleslineIssueId |
Int64 |
Use this field if the message is a reference to an salesline Issue.
|
| URL |
WideString |
Use this field if you want the user to open this URL when he/she click the link button on the notification.
|
Struct NameAddressStruct
The following table lists the fields defined in "NameAddressStruct":
Struct NotificationDataStruct
The following table lists the fields defined in "NotificationDataStruct":
Struct NotificationRecipientStruct
The following table lists the fields defined in "NotificationRecipientStruct":
| Field |
Data Type |
Documentation |
| Name |
WideString |
Name of recipient of the consignment
|
| Email |
WideString |
E-Mail address of the recipient
|
| SMS |
WideString |
Phone number to the recipient for SMS notification
|
| Consignmentnumber |
WideString |
The consignmentnumber
|
| DoSend |
Boolean |
True if the notification will be sent. Defaults to true if either the e-mail or SMS i valid.
|
Struct NotificationValueStruct
The following table lists the fields defined in "NotificationValueStruct":
| Field |
Data Type |
Documentation |
| Fieldname |
WideString |
The dadtabase filedname
|
| IsDifferent |
Boolean |
Is true if NewValue and OldValue is not equal.
|
| NewValue |
Variant |
The new value
|
| OldValue |
Variant |
The old value
|
Struct paraAddOrUpdateActivity
The following table lists the fields defined in "paraAddOrUpdateActivity":
| Field |
Data Type |
Documentation |
| Activity |
ActivityStruct |
The activity structure to be either updated (Id > 0) or inserted (Id=0).
|
| DontUpdateActivityFields |
Boolean |
If true the fields from the Activity will not be uppdated in this call. By setting this to True, documents can be added/deleted without affecting the activity fields itself.
|
| UpdateAccessRights |
Boolean |
Update/se the user access rights? If True all user id's will first be removed and then the user ids from Activity.UserAccess will be applied.
|
| DocLinksToAdd |
DocidArray |
Add the documents in this list to the activity.
|
| DocLinksToRemove |
DocidArray |
Remove the document id in this list from the activity.
|
| Documents |
DocumentArray |
This list of documents will be added to the activity.
|
Struct paraAddOrUpdateAppUser
The following table lists the fields defined in "paraAddOrUpdateAppUser":
| Field |
Data Type |
Documentation |
| AppUser |
AppUserStruct |
The AppUser struct. If AppUser.Id is 0, the user will be added.
|
| UpdateUserRights |
Boolean |
Update/set the the user rights? If True all rights will first be removed, and then the rights in AppUser.Rights will be added.
|
Struct paraAddOrUpdateContact
The following table lists the fields defined in "paraAddOrUpdateContact":
| Field |
Data Type |
Documentation |
| Contact |
ContactStruct |
Add this contact to the database if the ID is 0. Otherwise the contact with the ID will be updated.
|
Struct paraAddOrUpdateDiaryEvent
The following table lists the fields defined in "paraAddOrUpdateDiaryEvent":
| Field |
Data Type |
Documentation |
| DiaryEvent |
DiaryEventStruct |
The diary event structure to be either updated (Id > 0) or inserted (Id=0).
|
Struct paraAddToCorrectionDraft
The following table lists the fields defined in "paraAddToCorrectionDraft":
Struct paraAddToInventoryDraft
The following table lists the fields defined in "paraAddToInventoryDraft":
Struct paraAddToTransferDraft
The following table lists the fields defined in "paraAddToTransferDraft":
Struct paraApiLogin
The following table lists the fields defined in "paraApiLogin":
| Field |
Data Type |
Documentation |
| Password |
WideString |
The user password, or eventually passphrase if user name is empty
|
| Username |
WideString |
User name. If empty, a passphrase is expected in Password.
|
Struct paraBookDraft
The following table lists the fields defined in "paraBookDraft":
| Field |
Data Type |
Documentation |
| DraftId |
Integer |
The id (Inventory.InventoryId) of the created draft
|
Struct paraBusinessObjects
The following table lists the fields defined in "paraBusinessObjects":
| Field |
Data Type |
Documentation |
| ObjectId |
WideString |
|
Struct paraChangeUsernameAndPassword
The following table lists the fields defined in "paraChangeUsernameAndPassword":
| Field |
Data Type |
Documentation |
| Userid |
Integer |
The userid of the user whose username and/or password should be changed. Either UserId or OldUsername must be given.
|
| OldUsername |
WideString |
The username of the user whose username or password should be changed. Either UserId or OldUsername must be given.
|
| OldPassword |
WideString |
The old password. Must be given if the password is to be changed.
|
| NewUsername |
WideString |
Then new requested username. If empty the username is not changed
|
| NewPassword |
WideString |
The new requested password.
|
Struct paraCheckQueue
The following table lists the fields defined in "paraCheckQueue":
| Field |
Data Type |
Documentation |
| Correlation |
WideString |
The correlation id to poll for
|
| QueueName |
WideString |
The name of the Oracle queue
|
Struct paraCheckSession
The following table lists the fields defined in "paraCheckSession":
| Field |
Data Type |
Documentation |
| SessionId |
WideString |
|
Struct paraCommit
The following table lists the fields defined in "paraCommit":
| Field |
Data Type |
Documentation |
Struct paraConfirmDispatched
The following table lists the fields defined in "paraConfirmDispatched":
| Field |
Data Type |
Documentation |
| Consignments |
StringArray |
The list of consignments to confirm as dispatched.
|
| DoReturnEdifactFile |
Boolean |
If true the generated EDIFACT file, if the carrier has EDI support, will be returned.
|
Struct paraCreateFromTemplate
The following table lists the fields defined in "paraCreateFromTemplate":
| Field |
Data Type |
Documentation |
| TemplateId |
Integer |
The template id to create the deviation from
|
| RefItemInstances |
TROArray_System_Integer_ |
A list of item instance references the deviation is related to
|
| CauseDescription |
WideString |
Description of the cause of the deviation. Only relevant if that field is editable as defined on the template
|
| ConsequenceDescription |
WideString |
Description of the consuqence of the deviation. Only relevant if that field is editable as defined on the template
|
| DeviationDescription |
WideString |
Description of the deviation. Only relevant if that field is editable as defined on the template
|
| PlanDescription |
WideString |
Preventive description for the deviation. Only relevant if that field is editable as defined on the template
|
Struct paraCreateInventoryDraft
The following table lists the fields defined in "paraCreateInventoryDraft":
| Field |
Data Type |
Documentation |
| Comments |
WideString |
A free text (max 800 chars)
|
| Date |
DateTime |
The date for the draft
|
| Kind |
TInventoryKind |
The kind of item adjustment draft to create
|
| Location |
WideString |
Location id, If blank, the location id from the stocklocation will be used.
|
| Stocklocation |
WideString |
Stocklocation
|
Struct paraCustom
The following table lists the fields defined in "paraCustom":
| Field |
Data Type |
Documentation |
Struct paraCustomDB
The following table lists the fields defined in "paraCustomDB":
| Field |
Data Type |
Documentation |
| AutoDBCommit |
Boolean |
If True, a database commit will be done if the operations succeeds. Otherwise a rollback will be done.
|
Struct paraCustomExecuteSQLV2
The following table lists the fields defined in "paraCustomExecuteSQLV2":
Struct paraCustomGetDrawing
The following table lists the fields defined in "paraCustomGetDrawing":
Struct paraCustomGetImage
The following table lists the fields defined in "paraCustomGetImage":
| Field |
Data Type |
Documentation |
| DrawingSquare |
Integer |
To only draw one pane give set DrawingSquare to the desired pane. For example. 11,21.
|
| Format |
ImageFormat |
The format of the image to return
|
| Scale |
Integer |
The scale of the drawing. If 0 a value of 20 will be used. Value less than 5 is not allowed.
|
Struct paraCustomLogin
The following table lists the fields defined in "paraCustomLogin":
| Field |
Data Type |
Documentation |
| ApplicationId |
Guid |
The application GUID. This is mandatory to connect to CalWin Server.
|
| ClientInfo |
WideString |
Information about the connecting client. This information will be stored in the Oracle session.
|
Struct paraCustomQueue
The following table lists the fields defined in "paraCustomQueue":
| Field |
Data Type |
Documentation |
| AttributeName |
WideString |
The attribute name of the object of the queue payload type
|
| Correlation |
WideString |
The correlation id to poll for
|
| QueueName |
WideString |
The name of the Oracle queue
|
Struct paraCustomResSalesline
The following table lists the fields defined in "paraCustomResSalesline":
Struct paraDelete
The following table lists the fields defined in "paraDelete":
| Field |
Data Type |
Documentation |
| Path |
WideString |
|
Struct paraDeleteActivity
The following table lists the fields defined in "paraDeleteActivity":
| Field |
Data Type |
Documentation |
| ActivityId |
Integer |
The acrticityId to be deleted.
|
Struct paraDeleteDiaryEvent
The following table lists the fields defined in "paraDeleteDiaryEvent":
| Field |
Data Type |
Documentation |
| EventId |
Int64 |
The EventId to be deleted
|
Struct paraDispose
The following table lists the fields defined in "paraDispose":
| Field |
Data Type |
Documentation |
Struct paraExecuteProject
The following table lists the fields defined in "paraExecuteProject":
| Field |
Data Type |
Documentation |
| ProjectName |
WideString |
Name of the MachineLink project as defined in CalWin.
|
| Variables |
VariableValues |
A list of variables nescessary to execute the MachineLink project. Name and kind of variables are defined i the project itself.
|
Struct paraExecuteProjectAndStore
The following table lists the fields defined in "paraExecuteProjectAndStore":
Struct paraExecuteReports
The following table lists the fields defined in "paraExecuteReports":
Struct paraExecuteSQL
The following table lists the fields defined in "paraExecuteSQL":
| Field |
Data Type |
Documentation |
| SQLId |
WideString |
The SQL GUID as defined in the application defintion
|
| Variables |
VariableValues |
Variables for the SQL statement
|
| MaxRowCount |
Integer |
Only returns the first MaxRowCount rows. If 0 all rows will be returned.
|
Struct paraExecuteSQLForCheckpointprofile
The following table lists the fields defined in "paraExecuteSQLForCheckpointprofile":
Struct paraExecuteSQLV2
The following table lists the fields defined in "paraExecuteSQLV2":
| Field |
Data Type |
Documentation |
| SQLId |
WideString |
The SQL GUID as defined in the application defintion
|
Struct paraFindSimilar
The following table lists the fields defined in "paraFindSimilar":
| Field |
Data Type |
Documentation |
Struct paraFindSimilarFromAddress
The following table lists the fields defined in "paraFindSimilarFromAddress":
Struct paraFindSimilarFromConsignment
The following table lists the fields defined in "paraFindSimilarFromConsignment":
Struct paraGetActivity
The following table lists the fields defined in "paraGetActivity":
| Field |
Data Type |
Documentation |
| ActivityId |
Int64 |
The activity to the retrieved
|
Struct paraGetAppParameters
The following table lists the fields defined in "paraGetAppParameters":
Struct paraGetCheckpointDocumentLinks
The following table lists the fields defined in "paraGetCheckpointDocumentLinks":
| Field |
Data Type |
Documentation |
| CheckpointProfileId |
WideString |
The checkpoint profile id. The assigned document tags are used to decide which documents to return
|
| Workid |
Int64 |
The workid
|
Struct paraGetCheckpointDocuments
The following table lists the fields defined in "paraGetCheckpointDocuments":
| Field |
Data Type |
Documentation |
| CheckpointProfileId |
WideString |
The checkpoint profile id (CHECKPOINTPROFILE.PROFILEID)
|
| WorkId |
Int64 |
The work id. (WORK.WORKID)
|
Struct paraGetCheckpointprofileInfo
The following table lists the fields defined in "paraGetCheckpointprofileInfo":
Struct paraGetConfig
The following table lists the fields defined in "paraGetConfig":
| Field |
Data Type |
Documentation |
Struct paraGetDiaryEvent
The following table lists the fields defined in "paraGetDiaryEvent":
| Field |
Data Type |
Documentation |
| EventId |
Int64 |
The EventId to return.
|
Struct paraGetDispatched
The following table lists the fields defined in "paraGetDispatched":
| Field |
Data Type |
Documentation |
| FromDate |
DateTime |
|
Struct paraGetItemLineDocuments
The following table lists the fields defined in "paraGetItemLineDocuments":
Struct paraGetItemLineImage
The following table lists the fields defined in "paraGetItemLineImage":
Struct paraGetListOfCodes
The following table lists the fields defined in "paraGetListOfCodes":
Struct paraGetNextDbChange
The following table lists the fields defined in "paraGetNextDbChange":
| Field |
Data Type |
Documentation |
| ObjectId |
WideString |
The Id of the notification definition in the App definition.
|
| WaitTime |
Integer |
The number of seconds to wait for notifications to occur before returning (long poll).
|
| MaxNumberOfItems |
Integer |
The maxiumum number of items to return in one call. If 0 all available queue items will be returned.
|
| ReturnOnlyModifiedFieldValues |
Boolean |
If the item is an update, only field that has changed will be returned if this parameter is true.
|
Struct paraGetNotDispatched
The following table lists the fields defined in "paraGetNotDispatched":
| Field |
Data Type |
Documentation |
Struct paraGetNotificationRecipients
The following table lists the fields defined in "paraGetNotificationRecipients":
| Field |
Data Type |
Documentation |
| Pickupnumber |
Integer |
The pickup number (assigned from ConsignmentUtilService.ConfirmDispatched) to get default recipients for. Important: The pickup number ar per location, so the LocationId parameter must also bes set.
|
| LocationId |
WideString |
The location id (Consignment.Locationid) used to find the consignments from the Pickupnumber.
If empty string, the logged in users physical location will be used. If the session is not logged in, the CwServer system users physical location will be used.
|
Struct paraGetParameters
The following table lists the fields defined in "paraGetParameters":
| Field |
Data Type |
Documentation |
| Context |
ParameterContextStruct |
The context of the parameter record to be retrived.
|
| ParameterName |
WideString |
The name of the parameter(s) to be retrived. The % sign can be used as wildcard and thereby returning many parameters in the same operation.
|
Struct paraGetProductImage
The following table lists the fields defined in "paraGetProductImage":
| Field |
Data Type |
Documentation |
| ProductCode |
WideString |
The CalWin product code
|
| Width |
Double |
The width to use. If 0 the default width will be used.
|
| Height |
Double |
The height to use. If 0 the default height will be used.
|
| Options |
TDrawingImageOptions |
Drawing options
|
Struct paraGetReportInformation
The following table lists the fields defined in "paraGetReportInformation":
| Field |
Data Type |
Documentation |
| ReportName |
WideString |
The name of the Reporttemplate (report).
|
Struct paraGetReportTemplateList
The following table lists the fields defined in "paraGetReportTemplateList":
| Field |
Data Type |
Documentation |
Struct paraGetRGBFromNCS
The following table lists the fields defined in "paraGetRGBFromNCS":
| Field |
Data Type |
Documentation |
| NCS |
WideString |
NCS colour code
|
Struct paraGetServerInfo
The following table lists the fields defined in "paraGetServerInfo":
| Field |
Data Type |
Documentation |
Struct paraGetStdProductImage
The following table lists the fields defined in "paraGetStdProductImage":
Struct paraGetStdProductInfo
The following table lists the fields defined in "paraGetStdProductInfo":
| Field |
Data Type |
Documentation |
| StdProductid |
WideString |
The standard product identification
|
| PriceListId |
WideString |
To get pricelist prices the pricelist id has to be given in this parameter. If blank, the default pricelist for the location will be used.
|
Struct paraGetStockItemImage
The following table lists the fields defined in "paraGetStockItemImage":
Struct paraGetWorklogInformation
The following table lists the fields defined in "paraGetWorklogInformation":
| Field |
Data Type |
Documentation |
| WorklogId |
Int64 |
|
Struct paraGetWorklogList
The following table lists the fields defined in "paraGetWorklogList":
| Field |
Data Type |
Documentation |
| Workid |
Int64 |
|
Struct paraGetWorkstructList
The following table lists the fields defined in "paraGetWorkstructList":
Struct paraGoodsCancel
The following table lists the fields defined in "paraGoodsCancel":
Struct paraGoodsDeliver
The following table lists the fields defined in "paraGoodsDeliver":
| Field |
Data Type |
Documentation |
| AutoDeliverAll |
Boolean |
If True all the lines will delievered/recived. In that case the Lines element is not neccessary.
|
| AutoDeliverSublines |
Boolean |
If True all sublines will also be delivered/recived accordingly
|
| Carrier |
WideString |
A valid CalWin Carrier id
|
| DeliveryDate |
DateTime |
The date the goods was dispatched (orders) or received (purchases)
|
| Dispatchnumber |
WideString |
Dispatchnumber/consignment number from external system
|
| Ident |
SalesHeaderIdent |
Identification of order/purchase
|
| Lines |
GoodsDeliveryLines |
List of lines to be delivered/receiced. If AutoDeliveryAll is True this one is not neccessary.
|
| PackedBy |
WideString |
Reference to person who packed or received the goods. Must be a valid CalWin employee id
|
Struct paraInsertChild
The following table lists the fields defined in "paraInsertChild":
Struct paraInstallAppx
The following table lists the fields defined in "paraInstallAppx":
| Field |
Data Type |
Documentation |
| AppxFile |
Binary |
|
Struct paraKillSession
The following table lists the fields defined in "paraKillSession":
| Field |
Data Type |
Documentation |
| SessionId |
WideString |
|
Struct paraLogin
The following table lists the fields defined in "paraLogin":
| Field |
Data Type |
Documentation |
| PassPhrase |
WideString |
A user identified by a PassPhrase. If given, the user will be looked up and "logged" in. If blank, no user login will be tried.
|
| AppParameterRequests |
AppGetAppParameterRequestArray |
A list of parameters to be returned. This is the same as calling ApplicationService.GetAppParameters.
|
| ReceiveAppChangedEvents |
Boolean |
If True the client application will/can receive notification events when the App definition has been updated or when App parameters/settings has been changed. See the SystemEventSink.
|
Struct paraLoginUser
The following table lists the fields defined in "paraLoginUser":
Struct paraLogout
The following table lists the fields defined in "paraLogout":
| Field |
Data Type |
Documentation |
Struct paraMerge
The following table lists the fields defined in "paraMerge":
Struct ParameterContextStruct
The following table lists the fields defined in "ParameterContextStruct":
| Field |
Data Type |
Documentation |
| User |
Boolean |
The parameter is constrained to the user logged in either by Session.AssignExternalUser or Session.LoginUser.
|
| UserParent |
Boolean |
The parameter is contsrained to the parent (Customer, Supplier, Project, Other Party) of the logged in user.
|
Struct ParameterStruct
The following table lists the fields defined in "ParameterStruct":
| Field |
Data Type |
Documentation |
| Name |
WideString |
The unique key for the parameter.
|
| StringValue |
WideString |
A value for this paramtere as a string
|
| IntegerValue |
Integer |
A value for this parameter as an integer.
|
| FloatValue |
Double |
A value for this parameter as a float
|
| BinaryData |
Binary |
A value for this parameter represented as binary data
|
Struct paraNewEmpty
The following table lists the fields defined in "paraNewEmpty":
| Field |
Data Type |
Documentation |
Struct paraNewFromCustomer
The following table lists the fields defined in "paraNewFromCustomer":
Struct paraNewFromDelivery
The following table lists the fields defined in "paraNewFromDelivery":
Struct paraNewFromSales
The following table lists the fields defined in "paraNewFromSales":
Struct paraOnAppChanged
The following table lists the fields defined in "paraOnAppChanged":
Struct paraOpen
The following table lists the fields defined in "paraOpen":
| Field |
Data Type |
Documentation |
| ConsignmentNumber |
WideString |
The consignment number to open.
|
Struct paraPollQueue
The following table lists the fields defined in "paraPollQueue":
| Field |
Data Type |
Documentation |
| WaitTime |
Integer |
The number of seconds to wait. If 0 the call returns immediately even if there is no data.
|
Struct paraProbeServer
The following table lists the fields defined in "paraProbeServer":
| Field |
Data Type |
Documentation |
| SimulatedDelay |
Integer |
Simulated delay in milliseconds. To simulate a long running operation. The worker thread on the server will sleep the number of milliseconds before returning.
|
Struct paraPushQueue
The following table lists the fields defined in "paraPushQueue":
| Field |
Data Type |
Documentation |
| Data |
Binary |
|
Struct paraRefetch
The following table lists the fields defined in "paraRefetch":
| Field |
Data Type |
Documentation |
| Path |
WideString |
|
Struct paraRollback
The following table lists the fields defined in "paraRollback":
| Field |
Data Type |
Documentation |
Struct paraSave
The following table lists the fields defined in "paraSave":
| Field |
Data Type |
Documentation |
Struct paraSaveParameters
The following table lists the fields defined in "paraSaveParameters":
Struct paraSendEmail
The following table lists the fields defined in "paraSendEmail":
Struct paraSendMessage
The following table lists the fields defined in "paraSendMessage":
Struct paraSendNewPassword
The following table lists the fields defined in "paraSendNewPassword":
| Field |
Data Type |
Documentation |
| Username |
WideString |
The username or E-Mail address to reset the password for.
|
| EmailSubject |
WideString |
The subject on the E-Mail
|
| EmailBody |
WideString |
The template for the E-Mail body i HTML format: Availabe mergefield: %password% %username% %name% %email%
|
Struct paraSendNotification
The following table lists the fields defined in "paraSendNotification":
| Field |
Data Type |
Documentation |
| Recipients |
NotificationRecipientArray |
The recipients. It must initaly be retrieved from ConsignmentUtilService.GetNotificationRecipients (and the eventually altered).
|
Struct paraSendSMS
The following table lists the fields defined in "paraSendSMS":
Struct paraSetConfig
The following table lists the fields defined in "paraSetConfig":
Struct paraShConvertToOrder
The following table lists the fields defined in "paraShConvertToOrder":
Struct paraShDelete
The following table lists the fields defined in "paraShDelete":
| Field |
Data Type |
Documentation |
| AutoDBCommit |
Boolean |
If true the service will automatically perform commit on the DB. If an exception occur, a rollback will be performed before reraising the exception.
|
Struct paraShGetCalculatedDeliveryTime
The following table lists the fields defined in "paraShGetCalculatedDeliveryTime":
| Field |
Data Type |
Documentation |
| PreferredCustomerDate |
DateTime |
Set this field to the preferred customer date. If 0/blank the best possible date will be returned.
|
Struct paraShNew
The following table lists the fields defined in "paraShNew":
Struct paraShNewPurchase
The following table lists the fields defined in "paraShNewPurchase":
| Field |
Data Type |
Documentation |
| Accountnumber |
WideString |
The supplier account number
|
Struct paraShOpen
The following table lists the fields defined in "paraShOpen":
Struct paraShOpenPurchase
The following table lists the fields defined in "paraShOpenPurchase":
| Field |
Data Type |
Documentation |
| Purchasenumber |
WideString |
The purchase number to open.
|
Struct paraShRefresh
The following table lists the fields defined in "paraShRefresh":
| Field |
Data Type |
Documentation |
| RereadSalesheader |
Boolean |
Should the SalesHeader structure be reread form the database?
|
| RereadSaleslines |
Boolean |
If false only eventual new lines (autolines etc.) will be added. If true, existing lines will be reread from the the database as well.
|
Struct paraShRefreshPurchase
The following table lists the fields defined in "paraShRefreshPurchase":
| Field |
Data Type |
Documentation |
| RereadPurchaseHeader |
Boolean |
Should the SalesHeader structure be reread form the database?
|
| RereadSaleslines |
Boolean |
If false only eventual new lines (autolines etc.) will be added. If true, existing lines will be reread from the the database as well.
|
Struct paraShSave
The following table lists the fields defined in "paraShSave":
Struct paraShSavePurchase
The following table lists the fields defined in "paraShSavePurchase":
| Field |
Data Type |
Documentation |
| AutoApproveWarnings |
Boolean |
Should warnings on saleslines be approved automatically? If not an exception will be raised.
|
| IncludeSaleslines |
Boolean |
If true, resShSave.Saleslines will be populated. In addition the all lines will be reread from the DB and eventual new lines (auto lines etc.) will be added.
|
Struct paraShSetCurrencyMode
The following table lists the fields defined in "paraShSetCurrencyMode":
Struct paraShUpdate
The following table lists the fields defined in "paraShUpdate":
Struct paraShUpdatePurchase
The following table lists the fields defined in "paraShUpdatePurchase":
Struct paraShUpdateVolumeDiscount
The following table lists the fields defined in "paraShUpdateVolumeDiscount":
| Field |
Data Type |
Documentation |
| DiscountPercent |
Currency |
The discount percent to use.
|
| AmountLimit |
Currency |
The currency amount that was passed to get this discountpercent. (currently if this field is greater than 0, information about the volumediscount will be shown in the CalWin construction form).
|
| ShSaveParameter |
paraShSave |
Paramteres for the shSave operation that will be performed automatically after discount calculation.
|
| UseAutomaticVolumeDiscount |
Boolean |
If true, the volume discount rules defined in CalWin will be used instead of the DiscountPercent and AmountLimit parameters.
|
Struct paraSignCheckpoint
The following table lists the fields defined in "paraSignCheckpoint":
| Field |
Data Type |
Documentation |
| WorkId |
Int64 |
Identification of a checkpoint on a Salesline.
|
| Qty |
Double |
Quantity started or finished, dependent on StartStop parameter.
|
| Comment |
WideString |
An eventual comment.
|
| StartStop |
StartStopEnum |
|
| Parameters |
WideString |
Eventually parameters in the form "PARA1=xxx PARA2=yyy".
|
| Employee |
WideString |
A valid CalWin employee id.
|
Struct paraSlAdd
The following table lists the fields defined in "paraSlAdd":
| Field |
Data Type |
Documentation |
| ProductSource |
SaleslineProductSource |
|
| Code |
WideString |
The id/code. The content is dependent on ProductSource.
|
| Width |
Double |
Width. Only valid when ProductSource is psStandardProduct.
|
| Height |
Double |
Height. Only valid when ProductSource is psStandardProduct.
|
| Qty |
Double |
The quantity. If 0 the default quantity for the item will be used (normally 1)
|
Struct paraSlAddFrom
The following table lists the fields defined in "paraSlAddFrom":
Struct paraSlAddInformation
The following table lists the fields defined in "paraSlAddInformation":
Struct paraSlDeleteCurrent
The following table lists the fields defined in "paraSlDeleteCurrent":
| Field |
Data Type |
Documentation |
| AutoDBCommit |
Boolean |
If true the service will automatically perform commit on the DB. If an exception occur, a rollback will be performed before reraising the exception.
|
Struct paraSlDuplicateCurrent
The following table lists the fields defined in "paraSlDuplicateCurrent":
Struct paraSlGetCurrent
The following table lists the fields defined in "paraSlGetCurrent":
| Field |
Data Type |
Documentation |
Struct paraSlGetDrawing2D
The following table lists the fields defined in "paraSlGetDrawing2D":
Struct paraSlGetImage
The following table lists the fields defined in "paraSlGetImage":
Struct paraSlGetPropertyAlternatives
The following table lists the fields defined in "paraSlGetPropertyAlternatives":
| Field |
Data Type |
Documentation |
| Index |
Integer |
|
Struct paraSlModifySelectedAreas
The following table lists the fields defined in "paraSlModifySelectedAreas":
Struct paraSlRollback
The following table lists the fields defined in "paraSlRollback":
| Field |
Data Type |
Documentation |
Struct paraSlSaveCurrent
The following table lists the fields defined in "paraSlSaveCurrent":
| Field |
Data Type |
Documentation |
| AutoApproveWarnings |
Boolean |
Should warnings be approved automatically? If not an exception will be raised.
|
| AutoDBCommit |
Boolean |
If true the service will automatically perform commit on the DB. If an exception occur, a rollback will be performed before reraising the exception.
|
| PriceUpdateOptions |
PriceUpdateOptionStruct |
How prices will be handled.
|
Struct paraSlSetCurrent
The following table lists the fields defined in "paraSlSetCurrent":
| Field |
Data Type |
Documentation |
| RowIndex |
Integer |
|
Struct paraSlUpdateProperties
The following table lists the fields defined in "paraSlUpdateProperties":
| Field |
Data Type |
Documentation |
| RowIndex |
Integer |
If RowIndex > 0 the current row will be set before applying the properties. (similar to calling slSetCurrent before).
|
| Properties |
PropertyUpdateArray |
An array of properties that will be applied.
|
| SaveLine |
Boolean |
If true the line will be saved to db after the properties have been applied.
PS! If there are error after applyting the properties, it will not be saved to DB.
Please also set options in SaveLineOptions.
|
| SaveLineOptions |
paraSlSaveCurrent |
Options for saving to DB. This is the same options that is available in slSaveCurrent.
|
Struct paraUpdate
The following table lists the fields defined in "paraUpdate":
Struct PriceUpdateOptionStruct
The following table lists the fields defined in "PriceUpdateOptionStruct":
| Field |
Data Type |
Documentation |
| RestoreStandardPrices |
Boolean |
If set Gross Price and Net Price will be restored to their standard values.
If KeepDiscountPercent=True then Net price will be equal Gross Price minus the current discount.
Gross Price will come either from price list or calculation.
|
| KeepDiscountPercent |
Boolean |
When RestoreStandardPrices is True this parameter says if the discount should be kept, and not reset to default.
|
| RecalculateEndUserPrice |
Boolean |
If True the end user price will be recalculated according to the rules (Salesheader.Enduser_Pricecalc_Rule)
|
Struct ProductCodeStruct
The following table lists the fields defined in "ProductCodeStruct":
| Field |
Data Type |
Documentation |
| IsStockproduct |
Boolean |
True if the product normally is stocked.
|
| Code |
WideString |
The code that should be displayed/selected by the user. The possible kinds of values are: Itemnumbers, Productcodes, GTIN numbers, NOBB numbers or Standardproduct numbers.
|
| Name |
WideString |
The name/description.
|
| Heading |
Boolean |
True if this is only a heading, and should not be selectable.
|
| ProductSource |
SaleslineProductSource |
CalWin can create orderlines by either productcode, standardproduct, stocktable itemnumber or
semifinsihed stocktable itemnumber. This enum tells what kind this record represents,
and should in orderService.slAdd.
|
| StdProductId |
WideString |
If a Stanndardproduct, this file contains the Standardproduct id.
|
| Width |
Double |
The width of the product
|
| Height |
Double |
The height of the product.
|
| Itemnumber |
WideString |
If a item, then this field contains the itemnumber.
|
| ProductCode |
WideString |
If a product, this field contains the productcode
|
| IsTemp |
Boolean |
Is this a temporary item (ie. returned by customer).
|
| IsDamaged |
Boolean |
True if it is a damaged item.
|
| DamageDescription |
WideString |
The eventual damage description.
|
Struct PropertyCategory
The following table lists the fields defined in "PropertyCategory":
Struct PropertyItem
The following table lists the fields defined in "PropertyItem":
Struct PropertyItemAlternative
The following table lists the fields defined in "PropertyItemAlternative":
Struct PropertyItemAlternativeExtraValueInfo
The following table lists the fields defined in "PropertyItemAlternativeExtraValueInfo":
Struct PropertyItemAlternativeOption
The following table lists the fields defined in "PropertyItemAlternativeOption":
Struct PropertyUpdateStruct
The following table lists the fields defined in "PropertyUpdateStruct":
| Field |
Data Type |
Documentation |
| PropertyIndex |
Integer |
The index of the property to update the value on. Either PropertyIndex or PropertyName have to be given.
|
| PropertyName |
WideString |
The property name to update value on. Either PropertyIndex or PropertyName have to be given.
|
| StringValue |
WideString |
If the value of the property is of type string, then use this property for the value. Otherwise use NumericValue.
|
| NumericValue |
Double |
If the value of the property is integer, float or boolean then use this to set the value. Otherwise use StringValue.
|
Struct PurchaseHeaderStruct
The following table lists the fields defined in "PurchaseHeaderStruct":
Struct QueryDialogStruct
The following table lists the fields defined in "QueryDialogStruct":
Struct QueryVariableStruct
The following table lists the fields defined in "QueryVariableStruct":
| Field |
Data Type |
Documentation |
| Name |
WideString |
THe name of the variable
|
| Caption |
WideString |
The caption/label.
|
| EditorType |
TQueryVariablesEditorType |
The input editor type to be used.
|
| Value |
Variant |
The default value.
|
| FromName |
WideString |
If this editor is a "to" field, then this is the name of the "from" editor.
|
| Width |
Integer |
The width of the input editor
|
| ComboboxValues |
VariableValues |
A list of selectable values when the editor type is one of the ComboBox types.
|
Struct ReportCurrentValues
The following table lists the fields defined in "ReportCurrentValues":
Struct ReportExportFile
The following table lists the fields defined in "ReportExportFile":
| Field |
Data Type |
Documentation |
| Name |
WideString |
The name of the file.
|
| FileBinary |
Binary |
The binary filedata. Will be empty if ExportToCahce is True.
|
| FileSize |
Integer |
The size in byte of the filedata.
|
| URLToCache |
WideString |
The complete URL to the file on the server cache. Only if ExportToCache is True.
|
| ReportNum |
Integer |
A reference to the report number when ExecuteReports is used. 0 is first.
|
Struct ReportMergeOptionsStruct
The following table lists the fields defined in "ReportMergeOptionsStruct":
| Field |
Data Type |
Documentation |
| MergeReports |
Boolean |
If true and the specified format supports merging, all reports will be merge into one output file. PS! At the moment only PDF supports merging.
|
| CreateActivity |
Boolean |
If true an activity record will be created for the merged file. In this case the CreateActivity flag on the individual reports will be ignored.
|
| ActivityTitle |
WideString |
The title of the activity record. If not set, the email subject of the reports will be used. If none, the report name will be used.
|
| CurrentValues |
ReportCurrentValues |
This is the current values that will be used to create an activity for the merged output.
|
Struct ReportPackageStruct
The following table lists the fields defined in "ReportPackageStruct":
| Field |
Data Type |
Documentation |
| ReportName |
WideString |
The name of the report to execute.
|
| CurrentValues |
ReportCurrentValues |
Input variables to the report that is related to specific CalWin contexts. For example CurrentValues.Batchno references the currently selected production batch.
|
| Variables |
VariableValues |
A list of variables that is defined in the report. (In CalWin this is the same as what the user will be asked to fill out in a dialog before running the report)
|
| Parameters |
VariableValues |
In CalWin a specific report template might have defined parameters.
The idea of parameters, in reporting context, is to let the report behave differently
depending of the value of one or more parameters.
|
| CreateActivity |
Boolean |
If True a print activity will be created for this report and coupled to corresponding
CalWin quote, order, invoice, customer etc. given in CurrentValues.
PS! If reporting merging is on, activity for individual report will not be generated.
|
Struct ReportParameterStruct
The following table lists the fields defined in "ReportParameterStruct":
Struct resAddOrUpdateActivity
The following table lists the fields defined in "resAddOrUpdateActivity":
Struct resAddOrUpdateAppUser
The following table lists the fields defined in "resAddOrUpdateAppUser":
| Field |
Data Type |
Documentation |
| AppUser |
AppUserStruct |
|
| NewPassphrase |
WideString |
An eventual new passphrase if a new user is created and the authentication method for the App is passphrase.
|
Struct resAddOrUpdateContact
The following table lists the fields defined in "resAddOrUpdateContact":
Struct resAddOrUpdateDiaryEvent
The following table lists the fields defined in "resAddOrUpdateDiaryEvent":
Struct resAddToDraft
The following table lists the fields defined in "resAddToDraft":
| Field |
Data Type |
Documentation |
Struct resApiLogin
The following table lists the fields defined in "resApiLogin":
Struct resBookDraft
The following table lists the fields defined in "resBookDraft":
| Field |
Data Type |
Documentation |
Struct resBusinessObjects
The following table lists the fields defined in "resBusinessObjects":
Struct resChangeUsernameAndPassword
The following table lists the fields defined in "resChangeUsernameAndPassword":
Struct resCheckQueue
The following table lists the fields defined in "resCheckQueue":
| Field |
Data Type |
Documentation |
| MessageQty |
Integer |
Number of messages in the Queue
|
Struct resCheckSession
The following table lists the fields defined in "resCheckSession":
| Field |
Data Type |
Documentation |
| Exists |
Boolean |
Does the session exists?
|
Struct resCommit
The following table lists the fields defined in "resCommit":
| Field |
Data Type |
Documentation |
Struct resConfirmDispatched
The following table lists the fields defined in "resConfirmDispatched":
| Field |
Data Type |
Documentation |
| Pickupnumber |
Integer |
The assigned pickup number.
|
| EdifactFile |
Binary |
If paraConfirmDispatched.DoReturnEdifactFile = true this field will contain the created EDIFACT file if the carrier has EDI turned on.
|
| Log |
WideString |
Text log of the operations performed
|
Struct resCreateFromTemplate
The following table lists the fields defined in "resCreateFromTemplate":
Struct resCreateInventoryDraft
The following table lists the fields defined in "resCreateInventoryDraft":
| Field |
Data Type |
Documentation |
| DraftId |
Integer |
The id (Inventory.InventoryId) of the created draft
|
Struct resCustom
The following table lists the fields defined in "resCustom":
| Field |
Data Type |
Documentation |
Struct resCustomBinaryData
The following table lists the fields defined in "resCustomBinaryData":
| Field |
Data Type |
Documentation |
| Data |
Binary |
|
Struct resCustomExecuteSQLV2
The following table lists the fields defined in "resCustomExecuteSQLV2":
Struct resCustomLogin
The following table lists the fields defined in "resCustomLogin":
| Field |
Data Type |
Documentation |
| SessionId |
WideString |
The client session id.
|
| UserInfo |
AppUserStruct |
User information. Only if the PassPhrase was used.
|
| Version |
WideString |
CalWin Server version
|
Struct resCustomObject
The following table lists the fields defined in "resCustomObject":
| Field |
Data Type |
Documentation |
| ObjectId |
WideString |
|
Struct resDelete
The following table lists the fields defined in "resDelete":
| Field |
Data Type |
Documentation |
Struct resDeleteActivity
The following table lists the fields defined in "resDeleteActivity":
| Field |
Data Type |
Documentation |
Struct resDeleteDiaryEvent
The following table lists the fields defined in "resDeleteDiaryEvent":
| Field |
Data Type |
Documentation |
Struct resDispose
The following table lists the fields defined in "resDispose":
| Field |
Data Type |
Documentation |
Struct resExecuteProject
The following table lists the fields defined in "resExecuteProject":
| Field |
Data Type |
Documentation |
| Files |
BinaryFiles |
The files created by the MachineLink project.
|
Struct resExecuteProjectAndStore
The following table lists the fields defined in "resExecuteProjectAndStore":
| Field |
Data Type |
Documentation |
Struct resExecuteReports
The following table lists the fields defined in "resExecuteReports":
Struct resExecuteSQL
The following table lists the fields defined in "resExecuteSQL":
| Field |
Data Type |
Documentation |
| Records |
Utf8String |
The returned records as XML data. The format is: <dataset> <record recno=1> <fieldname1>Data1</fieldname1> <fieldname2>Data2</fieldname2> </record> <record recno=2> ... </dataset>
|
| Columns |
Utf8String |
Column definition from the SQL statement as XML in the format: <columns> <column name="column1"/> <column name="column2"/< .... </columns>
|
Struct resExecuteSQLForCheckpointprofile
The following table lists the fields defined in "resExecuteSQLForCheckpointprofile":
| Field |
Data Type |
Documentation |
Struct resExecuteSQLV2
The following table lists the fields defined in "resExecuteSQLV2":
| Field |
Data Type |
Documentation |
Struct resFindSimilar
The following table lists the fields defined in "resFindSimilar":
Struct resFindSimilarFromAddress
The following table lists the fields defined in "resFindSimilarFromAddress":
| Field |
Data Type |
Documentation |
Struct resFindSimilarFromConsignment
The following table lists the fields defined in "resFindSimilarFromConsignment":
| Field |
Data Type |
Documentation |
Struct resGetActivity
The following table lists the fields defined in "resGetActivity":
Struct resGetAppParameters
The following table lists the fields defined in "resGetAppParameters":
Struct resGetCheckpointDocumentLinks
The following table lists the fields defined in "resGetCheckpointDocumentLinks":
Struct resGetCheckpointprofileInfo
The following table lists the fields defined in "resGetCheckpointprofileInfo":
Struct resGetConfig
The following table lists the fields defined in "resGetConfig":
Struct resGetDiaryEvent
The following table lists the fields defined in "resGetDiaryEvent":
Struct resGetDispatched
The following table lists the fields defined in "resGetDispatched":
Struct resGetDocuments
The following table lists the fields defined in "resGetDocuments":
Struct resGetListOfCodes
The following table lists the fields defined in "resGetListOfCodes":
Struct resGetNextDbChange
The following table lists the fields defined in "resGetNextDbChange":
Struct resGetNotDispatched
The following table lists the fields defined in "resGetNotDispatched":
| Field |
Data Type |
Documentation |
Struct resGetNotificationRecipients
The following table lists the fields defined in "resGetNotificationRecipients":
| Field |
Data Type |
Documentation |
| Recipients |
NotificationRecipientArray |
Recipients with default values.
|
| CanSendEmail |
Boolean |
True if E-Mail is supported. The carrier has to have the E-mail report defined.
|
| CanSendPDF |
Boolean |
True if PDF is supported. The carrier has to have the E-mail report defined.
|
| CanSendSMS |
Boolean |
True if SMS notification is supported. The carrier has to have the SMS report defined.
|
Struct resGetParameters
The following table lists the fields defined in "resGetParameters":
Struct resGetReportInformation
The following table lists the fields defined in "resGetReportInformation":
Struct resGetReportTemplateList
The following table lists the fields defined in "resGetReportTemplateList":
Struct resGetRGBFromNCS
The following table lists the fields defined in "resGetRGBFromNCS":
| Field |
Data Type |
Documentation |
| RGB |
RGBStruct |
Colour coded as RGB.
|
Struct resGetServerInfo
The following table lists the fields defined in "resGetServerInfo":
| Field |
Data Type |
Documentation |
| Version |
WideString |
CalWin Server version
|
| ZimeZoneInfo |
TimeZoneStruct |
Timezone information for the server that CalWin Server is running on.
|
Struct resGetStdProductInfo
The following table lists the fields defined in "resGetStdProductInfo":
Struct resGetWorklogInformation
The following table lists the fields defined in "resGetWorklogInformation":
Struct resGetWorkloglist
The following table lists the fields defined in "resGetWorkloglist":
Struct resGetWorkstructList
The following table lists the fields defined in "resGetWorkstructList":
Struct resGoodsCancel
The following table lists the fields defined in "resGoodsCancel":
| Field |
Data Type |
Documentation |
| DeliveryId |
Integer |
The ID of the created delivery cancellation record
|
Struct resGoodsDeliver
The following table lists the fields defined in "resGoodsDeliver":
| Field |
Data Type |
Documentation |
| DeliveryId |
Integer |
The ID of the created delivery record
|
| Error |
Boolean |
True if something went wrong. Details can be found in the Message element
|
| Message |
WideString |
Textual representation of the result. If Error is True, it will be a description of what went wrong
|
Struct resInsertChild
The following table lists the fields defined in "resInsertChild":
| Field |
Data Type |
Documentation |
Struct resInstallAppx
The following table lists the fields defined in "resInstallAppx":
Struct resKillSession
The following table lists the fields defined in "resKillSession":
| Field |
Data Type |
Documentation |
Struct resLogin
The following table lists the fields defined in "resLogin":
Struct resLoginUser
The following table lists the fields defined in "resLoginUser":
Struct resLogout
The following table lists the fields defined in "resLogout":
| Field |
Data Type |
Documentation |
Struct resMerge
The following table lists the fields defined in "resMerge":
| Field |
Data Type |
Documentation |
Struct resNewEmpty
The following table lists the fields defined in "resNewEmpty":
| Field |
Data Type |
Documentation |
Struct resNewFromCustomer
The following table lists the fields defined in "resNewFromCustomer":
| Field |
Data Type |
Documentation |
Struct resNewFromDelivery
The following table lists the fields defined in "resNewFromDelivery":
| Field |
Data Type |
Documentation |
Struct resNewFromSales
The following table lists the fields defined in "resNewFromSales":
| Field |
Data Type |
Documentation |
Struct resOpen
The following table lists the fields defined in "resOpen":
| Field |
Data Type |
Documentation |
Struct resPollQueue
The following table lists the fields defined in "resPollQueue":
| Field |
Data Type |
Documentation |
| Data |
Binary |
The data returned
|
| MessageId |
WideString |
The message id of the returned message. If blank noe message was found
|
Struct resProbeServer
The following table lists the fields defined in "resProbeServer":
| Field |
Data Type |
Documentation |
Struct resProdcutImage
The following table lists the fields defined in "resProdcutImage":
| Field |
Data Type |
Documentation |
Struct resPushQueue
The following table lists the fields defined in "resPushQueue":
| Field |
Data Type |
Documentation |
| MessageId |
WideString |
|
Struct resRefetch
The following table lists the fields defined in "resRefetch":
| Field |
Data Type |
Documentation |
Struct resRollback
The following table lists the fields defined in "resRollback":
| Field |
Data Type |
Documentation |
Struct resSalesline
The following table lists the fields defined in "resSalesline":
Struct resSave
The following table lists the fields defined in "resSave":
| Field |
Data Type |
Documentation |
Struct resSaveParameters
The following table lists the fields defined in "resSaveParameters":
| Field |
Data Type |
Documentation |
Struct resSendEmail
The following table lists the fields defined in "resSendEmail":
| Field |
Data Type |
Documentation |
| ResponseText |
WideString |
This is actually not in use at the moment and will always be empty.
|
Struct resSendMessage
The following table lists the fields defined in "resSendMessage":
| Field |
Data Type |
Documentation |
| MessageId |
Int64 |
The id of the created message.
|
| NumberOfUsers |
Integer |
The total number of users that will receive this message.
|
Struct resSendNewPassword
The following table lists the fields defined in "resSendNewPassword":
Struct resSendNotification
The following table lists the fields defined in "resSendNotification":
| Field |
Data Type |
Documentation |
Struct resSendSMS
The following table lists the fields defined in "resSendSMS":
| Field |
Data Type |
Documentation |
Struct resSetConfig
The following table lists the fields defined in "resSetConfig":
| Field |
Data Type |
Documentation |
Struct resShConvertToOrder
The following table lists the fields defined in "resShConvertToOrder":
Struct resShDelete
The following table lists the fields defined in "resShDelete":
| Field |
Data Type |
Documentation |
Struct resShGetCalculatedDeliveryTime
The following table lists the fields defined in "resShGetCalculatedDeliveryTime":
Struct resShGetDocumentLinks
The following table lists the fields defined in "resShGetDocumentLinks":
Struct resShNew
The following table lists the fields defined in "resShNew":
Struct resShNewPurchase
The following table lists the fields defined in "resShNewPurchase":
Struct resShOpen
The following table lists the fields defined in "resShOpen":
Struct resShOpenPurchase
The following table lists the fields defined in "resShOpenPurchase":
Struct resShRefresh
The following table lists the fields defined in "resShRefresh":
Struct resShRefreshPurchase
The following table lists the fields defined in "resShRefreshPurchase":
Struct resShSave
The following table lists the fields defined in "resShSave":
Struct resShSavePurchase
The following table lists the fields defined in "resShSavePurchase":
Struct resShSetCurrencyMode
The following table lists the fields defined in "resShSetCurrencyMode":
Struct resShUpdate
The following table lists the fields defined in "resShUpdate":
Struct resShUpdatePurchase
The following table lists the fields defined in "resShUpdatePurchase":
Struct resShUpdateVolumeDiscount
The following table lists the fields defined in "resShUpdateVolumeDiscount":
Struct resShWithCurrencyInfo
The following table lists the fields defined in "resShWithCurrencyInfo":
Struct resSignCheckpoint
The following table lists the fields defined in "resSignCheckpoint":
| Field |
Data Type |
Documentation |
| WorklogId |
Int64 |
The id from the created record in the Worklog table.
|
Struct resSlAdd
The following table lists the fields defined in "resSlAdd":
| Field |
Data Type |
Documentation |
Struct resSlAddFrom
The following table lists the fields defined in "resSlAddFrom":
| Field |
Data Type |
Documentation |
Struct resSlAddInformation
The following table lists the fields defined in "resSlAddInformation":
| Field |
Data Type |
Documentation |
Struct resSlDeleteCurrent
The following table lists the fields defined in "resSlDeleteCurrent":
| Field |
Data Type |
Documentation |
Struct resSlDuplicateCurrent
The following table lists the fields defined in "resSlDuplicateCurrent":
| Field |
Data Type |
Documentation |
Struct resSlGetCurrent
The following table lists the fields defined in "resSlGetCurrent":
| Field |
Data Type |
Documentation |
Struct resSlGetDocumentLinks
The following table lists the fields defined in "resSlGetDocumentLinks":
Struct resSlGetDrawing2D
The following table lists the fields defined in "resSlGetDrawing2D":
| Field |
Data Type |
Documentation |
| Drawing |
Utf8String |
The drawing of a the item line in XAML format.
|
| MaxSquareLevel |
Integer |
Number of Square Levels on the product
|
Struct resSlGetImage
The following table lists the fields defined in "resSlGetImage":
| Field |
Data Type |
Documentation |
| Image |
Binary |
|
Struct resSlGetpropertyAlternatives
The following table lists the fields defined in "resSlGetpropertyAlternatives":
Struct resSlModifySelectedAreas
The following table lists the fields defined in "resSlModifySelectedAreas":
Struct resSlRollback
The following table lists the fields defined in "resSlRollback":
| Field |
Data Type |
Documentation |
Struct resSlSaveCurrent
The following table lists the fields defined in "resSlSaveCurrent":
| Field |
Data Type |
Documentation |
Struct resSlSetCurrent
The following table lists the fields defined in "resSlSetCurrent":
| Field |
Data Type |
Documentation |
Struct resSlUpdateProperties
The following table lists the fields defined in "resSlUpdateProperties":
| Field |
Data Type |
Documentation |
Struct resUpdate
The following table lists the fields defined in "resUpdate":
| Field |
Data Type |
Documentation |
Struct RGBStruct
The following table lists the fields defined in "RGBStruct":
| Field |
Data Type |
Documentation |
| R |
Integer |
|
| G |
Integer |
|
| B |
Integer |
|
Struct RowdataDisplayStruct
The following table lists the fields defined in "RowdataDisplayStruct":
Struct SalesDatesStruct
The following table lists the fields defined in "SalesDatesStruct":
| Field |
Data Type |
Documentation |
| ProductionDate |
DateTime |
The day the production is supposed to be finished.
|
| DeliveryDate |
DateTime |
The day the order will be shipped from the factory.
|
| CustomerDate |
DateTime |
The day the order is supposed to arrive at the customers site.
|
Struct SalesHeaderIdent
The following table lists the fields defined in "SalesHeaderIdent":
Struct SalesHeaderIdStruct
The following table lists the fields defined in "SalesHeaderIdStruct":
Struct SalesheaderStruct
The following table lists the fields defined in "SalesheaderStruct":
Struct SaleslineIdentStruct
The following table lists the fields defined in "SaleslineIdentStruct":
| Field |
Data Type |
Documentation |
| Vnumber |
Integer |
|
Struct SaleslineStruct
The following table lists the fields defined in "SaleslineStruct":
| Field |
Data Type |
Documentation |
| Salestype |
TSalestype |
|
| Salesnumber |
WideString |
|
| Vnumber |
Integer |
|
| RefTxt |
WideString |
|
| Code |
WideString |
|
| RecId |
Integer |
|
| DeliveredStatus |
Integer |
|
| QtyOrdered |
Double |
|
| QtySupplied |
Double |
|
| Costprice |
Double |
|
| Grossprice |
Double |
The stored gross price or the standard gross price if not saved yet.
|
| NetPrice |
Double |
The stored neprice or the standard netprice is not saved yet.
|
| Freight |
Double |
|
| Total |
Double |
|
| Width |
Double |
|
| Height |
Double |
|
| Length |
Double |
|
| Description |
WideString |
The complete description inclusive eventual text entered by the user (Sales Comment)
|
| DesignErrorText |
WideString |
Design error text for this particular line and eventual sub-lines.
|
| DesignWarningText |
WideString |
Warning for this particular line and eventual sub-lines
|
| DesignInformationText |
WideString |
Informational text for this particular line and eventual sub-lines
|
| SquareMeasureText |
WideString |
|
| UValueText |
WideString |
|
| SalesComment |
WideString |
User added comment.
|
| EndUserPrice |
Double |
|
| StandardGrossPrice |
Double |
Standard grossprice according to rules.
|
| QtyCancelled |
Double |
Quantity cancelled.
|
| QtyOrdered_Ex_Cancelled |
Double |
Quantity that will be delivered to the customer.
|
| QtyOrdered_ToStock |
Double |
Quantity that will be produced to stock due a cancelation.
|
| SquareMetersArea |
Double |
The area in square meter of the product. Readonly.
|
| UValue |
Double |
U-Value for the product.
|
| LineNo |
Integer |
This the linenumer whitin the quote/order
|
| ProductType |
TProductType |
|
| Batchno |
WideString |
The assigned batchnumber for production
|
| Posno |
Integer |
Positionnumber whitin the batchnumber (Batchno)
|
| BatchGroup |
Integer |
Batchgroup id
|
| Stockloc |
WideString |
Reference to stocklocation
|
| Department |
WideString |
|
| Centre |
WideString |
|
| Purpose |
WideString |
|
| ItemGroup |
WideString |
Reference to itemgroup
|
| Supplier |
WideString |
|
| Itemnumber |
WideString |
The itemnumber if the line is sold (or produced to) from stock.
|
| Status |
Integer |
Status of the line:
0 = New line
5 = Quote printed
10 = Confirmed printed
15 = Changed after confirmation
20 = Piclist printed
25 = Changed after picklist
30 = Delivered but with rests
40 =
50 = Completed (delivered)
|
| Bonus |
Integer |
Is this line part of the bonus basis? 1=yes
|
| NOBB |
WideString |
NOBB itemnumber
|
| BatchStatus |
Integer |
|
| CHP_Status |
WideString |
Checkpoint status string
|
| EAN13 |
WideString |
GTIN-13 itemnumber (previously EAN13).
|
| GrossVolume |
Double |
|
| NetVolume |
Double |
|
| QtyInvoiced |
Double |
|
| InvoiceStatus |
Integer |
Invoice status for the item: 1=Marked for export 2=Exported 3=Completed 4=Partly invoiced
|
| Parent_Vnumber |
Integer |
Reference to the parent salesline if this line is a subline. Otherwise it's 0.
|
| AutoLineInfo |
AutolineInfoStruct |
Extra information about this salesline if it is a Autoline (ProductType=prtAutoline)
|
| VolumeDiscount |
Double |
Volume discount amount. The difference between gross price and net price that is due to volume discount.
|
| Weight |
Double |
The calculated unit weight.
|
| Circumference |
Double |
The product circumference/perimeter.
|
| BrandDescription |
WideString |
The complete branded description inclusive eventual text entered by the user (Sales Comment)
This contains text only if the quote/order is assigned a brand
|
| ExternalSaleslineId |
Int64 |
Reference to external salesline (ExternalSalesline table)
|
| Pcode |
WideString |
Pricelist code.
|
| Matching_Itemnumber |
WideString |
An itemnumber that this line has a match. If it is selected the Itemnumber field will also be set. See also Matching_Stockloc.
|
| Matching_Stockloc |
WideString |
The stock location that corresponds to Matching_Itemnumber
|
| PCBGlassQty |
Integer |
The number of glass that will go into the basis for the Norwegian PCB duty calculation
|
| StandardNetprice |
Double |
Standard net price for the salesline according to rules, priceliste, campaign, disount etc.
|
| StandardCostprice |
Double |
Standard costprice for the salesline according rules. If the pricelist has costprice it will be it, otherwise it's the calculated costprice.
|
| TotalDepth |
Double |
The constructions total depth inclusive all layers and eventual mounted jambs
|
Struct SaleslineStructOS
The following table lists the fields defined in "SaleslineStructOS":
| Field |
Data Type |
Documentation |
| RowIndex |
Integer |
The salesline object rownumber in the OrderService. To be used by slSetCurrent etc.
|
Struct SalesNotesStruct
The following table lists the fields defined in "SalesNotesStruct":
Struct SelectionAreaIdRecStruct
The following table lists the fields defined in "SelectionAreaIdRecStruct":
Struct SendReportByEmailStruct
The following table lists the fields defined in "SendReportByEmailStruct":
Struct SMSRecipient
The following table lists the fields defined in "SMSRecipient":
| Field |
Data Type |
Documentation |
| Phonenumber |
WideString |
The phone number to the recipient
|
Struct SquareIdStruct
The following table lists the fields defined in "SquareIdStruct":
Struct StandardProductInfoSizeStruct
The following table lists the fields defined in "StandardProductInfoSizeStruct":
| Field |
Data Type |
Documentation |
| Width |
Double |
Width in millimeter
|
| Height |
Double |
Height in millimeter
|
| Abbrevation |
WideString |
An abbreviation for this particular size.
|
| Itemnumber |
WideString |
If Itemnumber is not empty, this size is stockable.
|
| StockInfo |
StockStruct |
Infromation about stocklevels for the article (identified by Itemnumber).
|
| PricelistPrice |
Currency |
The grossprice from the pricelist for the given pricelist
|
| EAN |
WideString |
The EAN-13 number for this size.
|
| NOBB |
WideString |
The NOBB article number for this size.
|
Struct StockStruct
The following table lists the fields defined in "StockStruct":
| Field |
Data Type |
Documentation |
| Itemnumber |
WideString |
|
| Stocklocation |
WideString |
|
| QtyInStock |
Double |
Quantity in stock at the moment
|
| QtyOrdered |
Double |
Quantity bound to salesorders (outbound)
|
| QtyInProduction |
Double |
Quantity in production (inbound)
|
| QtySupply |
Double |
Quantity on order from purchases (inbound)
|
| QtyAvailable |
Double |
Quantity available. That is QtyInStock - QtyOrdered + QtyInProduction + QtySupply.
|
Struct StoreToTableColumnMapping
The following table lists the fields defined in "StoreToTableColumnMapping":
| Field |
Data Type |
Documentation |
| ColumnName |
WideString |
The column name in the table
|
| IsIdentifier |
Boolean |
The service will try to delete records in the table based on columns with IsIdentifer=True
|
| ValueType |
TStoreToTableValueType |
Indication of value type to be stored in the column
|
| Value |
Variant |
Value depends on the ValueType.
|
Struct TColumn
The following table lists the fields defined in "TColumn":
| Field |
Data Type |
Documentation |
| Name |
WideString |
The name of the column
|
| CharSize |
Integer |
The length in chars for string columns
|
| DataType |
TColumnDataType |
The column datatype
|
| Optional |
Boolean |
True if the column can be null
|
| Precision |
Integer |
Number columns are declared as Number(Precision,Scale)
|
| Scale |
Integer |
Number columns are declared as Number(Precision,Scale)
|
Struct TDocumentLinkInfo
The following table lists the fields defined in "TDocumentLinkInfo":
| Field |
Data Type |
Documentation |
| CategoryId |
Int64 |
Category Id for the document.
|
| CategoryName |
WideString |
Category Name for the document.
|
| Description |
WideString |
Description of the document.
|
| DocumentSource |
TDocumentSource |
The source of the document.
0=DocumentArchive, 1=SalesHeaderDocuments, 2=ProjectDocuments.
|
| FileMimeType |
WideString |
File MimeType of the document.
|
| URI |
WideString |
An id to be used to reference the document from the CwServer document dispatcher
|
| FileName |
WideString |
Filename of the document
|
| Id |
Int64 |
Id in the database table where the document is stored.
|
| LinkSource |
TDocumentLinkSource |
Identifies the document link source type.
0=SalesHeader, 1=Project, 2=Product, 3=Item, 4=Option, 5=Component.
|
| LinkSourceDescription |
WideString |
Description of the document link source.
|
| TagNames |
TTagNameArray |
TagNames names for the document.
|
Struct TDrawingImageOptions
The following table lists the fields defined in "TDrawingImageOptions":
| Field |
Data Type |
Documentation |
Struct TimeZoneStruct
The following table lists the fields defined in "TimeZoneStruct":
| Field |
Data Type |
Documentation |
| Id |
WideString |
The name of the time zone registry key on the server.
|
| Status |
DSTEnum |
Current status of Daylight Saving Time.
|
| Bias |
Integer |
The current bias for local time translation (UTC to local) on the server, in minutes.
|
| StandardName |
WideString |
A description for standard time.
|
| StandardBias |
Integer |
The bias value to be used during local time translations that occur during standard time. This value is added to the value of the Bias to form the bias used during standard time. In most time zones, the value of this member is zero.
|
| DaylightName |
WideString |
A description for daylight saving time (DST)
|
| DaylightBias |
Integer |
The bias value to be used during local time translations that occur during daylight saving time. This value is added to the value of the Bias member to form the bias used during daylight saving time. In most time zones, the value of this member is -60.
|
Struct TInventoryCommonItem
The following table lists the fields defined in "TInventoryCommonItem":
Struct TInventoryCorrectionItem
The following table lists the fields defined in "TInventoryCorrectionItem":
| Field |
Data Type |
Documentation |
Struct TInventoryStocktakingItem
The following table lists the fields defined in "TInventoryStocktakingItem":
Struct TInventoryTransferItem
The following table lists the fields defined in "TInventoryTransferItem":
Struct TStoreToInfo
The following table lists the fields defined in "TStoreToInfo":
Struct UserStruct
The following table lists the fields defined in "UserStruct":
Struct VariableValue
The following table lists the fields defined in "VariableValue":
| Field |
Data Type |
Documentation |
| Name |
WideString |
Name of the variable which the Value is for.
|
| Value |
Variant |
Value of the variable identified by Name.
|
Struct VolumeDiscountUpdateOptionsStruct
The following table lists the fields defined in "VolumeDiscountUpdateOptionsStruct":
| Field |
Data Type |
Documentation |
| DoUpdate |
Boolean |
Should the volume discount be updated?
|
| UseOverrides |
Boolean |
If True AmountLimit and DiscountPercent will be used instead of the volume disocunt rules defined in the system.
|
| AmountLimit |
Currency |
The currency amount that was passed to get this discountpercent. (currently if this field is greater than 0, information about the volumediscount will be shown in the CalWin construction form).
|
| DiscountPercent |
Currency |
The discount percent to use.
|
Struct WorklogStruct
The following table lists the fields defined in "WorklogStruct":
Struct WorkStruct
The following table lists the fields defined in "WorkStruct":