Table of Contents

Table "Webshop Media PSCAP"

ID 70345114
Namespace: CapVision.Online.Webshop

Properties

Name Value
DataClassification CustomerContent
Caption Webshop Media

Fields

Name Type Description
"Entry No." Integer
"Table Name" Enum CapVision.Online.Webshop."Metadata Table PSCAP"
"No." Code[20]
"Media Type" Enum CapVision.Online.Webshop."Media Type PSCAP"
Shop Code[20]
Default Boolean
"Media Value" Media
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemCreatedByUserName Text[50]
SystemCreatedByFullName Text[80]
SystemModifiedByUserName Text[50]
SystemModifiedByFullName Text[80]
SystemRowVersion BigInteger

Methods

UpdateDefault

procedure UpdateDefault()

ImportProductImage

procedure ImportProductImage(ProductId: Integer; ImageId: Integer; IsDefault: Boolean): Boolean

Parameters

Name Type Description
ProductId Integer
ImageId Integer
IsDefault Boolean

Returns

Type Description
Boolean

ImportCategoryImage

procedure ImportCategoryImage(CategoryId: Integer): Boolean

Parameters

Name Type Description
CategoryId Integer

Returns

Type Description
Boolean

ImportImage

procedure ImportImage(No: Code[20]; Id: Integer; ImageId: Integer; IsDefault: Boolean; TableName: Enum "Metadata Table PSCAP"; EntityType: Enum "Entity PSCAP"): Boolean

Parameters

Name Type Description
No Code[20]
Id Integer
ImageId Integer
IsDefault Boolean
TableName Enum CapVision.Online.Webshop."Metadata Table PSCAP"
EntityType Enum CapVision.Online.Webshop.EntityFramework."Entity PSCAP"

Returns

Type Description
Boolean

ExportImage

procedure ExportImage(Id: Integer; MediaType: Enum "Media Type PSCAP"; EntityType: Enum "Entity PSCAP")

Parameters

Name Type Description
Id Integer
MediaType Enum CapVision.Online.Webshop."Media Type PSCAP"
EntityType Enum CapVision.Online.Webshop.EntityFramework."Entity PSCAP"

Events

OnGetBaseEntityTypeForImageEntityType

[IntegrationEvent(False,False)]
local procedure OnGetBaseEntityTypeForImageEntityType(EntityType: Enum "Entity PSCAP"; var BaseEntityType: Enum "Entity PSCAP"; var Handled: Boolean)

Parameters

Name Type Description
EntityType Enum CapVision.Online.Webshop.EntityFramework."Entity PSCAP"
BaseEntityType Enum CapVision.Online.Webshop.EntityFramework."Entity PSCAP"
Handled Boolean

OnBeforeUpdateDefault

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateDefault(WebshopMedia: Record "Webshop Media PSCAP"; var Handled: Boolean)

Parameters

Name Type Description
WebshopMedia Table CapVision.Online.Webshop."Webshop Media PSCAP"
Handled Boolean

See also