Sei sulla pagina 1di 3

[#Part: CMP InvFeat Right]

Add:Line:CMP EnableWineRetail
[Line: CMP EnableWineRetail]
Fields
Local
Enable WineRetail ?"
Space Top

: Medium Prompt, CMP EnableWineRetail


: Field : Medium Prompt : Info
: $$LocaleString:"
: 0.4

[Field: CMP EnableWineRetail]


Use
: Logical Field
Set as
: No
;Set Always
: Yes
Storage
: IsEnable WineRetail
Inactive
: NOT $IsAccountingOn OR NOT $IsInventoryOn
[System:UDF]
isEnable WineRetail :Logical:7002

/*[#Object:InventoryEntry]
Collection:Stock Itemsfor Sales,Stock Itemsfor Purchases
[Collection: Stock Itemsfor Sales]
Child Of
lse $Name
Use
Title
Format
Unique
Belongs To
Filter

:if @@IsSales and @@IsWineRtailOn then ##SVBRANDNAME e


:List of Stock Items
:"List of Stock Items"
:@@VchStkItmBalance : "Base"
:$StockItemName,$$Name
:Yes
:clofilter

[Collection:Stock Itemsfor Purchases]


Use
:List Of Stock Items
[#Field:VCHStockItem]
Add:Switch
:stockItemsforSales and Purchases:List of Stock Itemsfor
Sales
:@@IsSales and @@IsWineRtailOn
Add:Switch
:stockItemsforSales and Purchases:List of Stock Itemsfor
Purchases
:@@IsPurchase and @@IsWineRtailOn
[!Field:List of Stock Itemsfor Sales]
Delete
:Table
Add
:Table

:Stock Itemsfor

Sales,EndOfList
Show Table
Dynamic
Skip on

:Always
:""
:$$IsEndOfList:$NameofBrands

[!Field:List of Stock Itemsfor Purchases]

Table
Show Table
Skip on

:Stock Itemsfor Purchases


:Always
:$$IsEndOfList:$StockItemName

[#Line: EI Column One];; Title Line1


Option : Global EI ColumnOne

: @@IsSales and @@IsWineRtailOn

;; "Global" prefix is added for better readability of the code


[!Line: Global EI ColumnOne]
Add
: Fields: Before: VCH ItemTitle: Name Of Brand T
itle
[#Line: EI Column Two];; Title Line2
Option : Global EI ColumnTwo

:@@IsSales and @@IsWineRtailOn

;; "Global" prefix is added for better readability of the code


[!Line: Global EI ColumnTwo]
Add
: Fields: Before: VCH ItemTitle : Name Of Brand
Title
Local
[Field

: Field : Name Of Brand Title

: Set As: ""

: Name Of Brand Title]


Use
: Name Field
Width : 20
Skip
: Yes
Set As : "Brand Name"

[#Line: EI Inv Info];;Inventory Repeat Line - - With out Class


Option : Global EI InvInfo
: @@IsSales and @@IsWineRtailOn
[#Line: CI Inv Info];;Inventory Repeat Line - - With Class
Option : Global EI InvInfo
: @@IsSales and @@IsWineRtailO
n
[!Line: Global EI InvInfo]
Add: Fields: before:VCH StockItem: Name of Brand
[Field: Name of Brand]
Width
Table
Format
Show Table
Modifies
Storage
[Collection:StockGroups12]
Type
:StockGroup

: 20
:StockGroups12,EndofList
: "No Zero"
:Always
:SVBRANDNAME:Yes
:Name of Brands

BreakOn:$$IsEndOfList:$NameofBrands
Title :"List of Brand Names"
[Variable:SVBRANDNAME]
Type:string
[System:Variable]
SVBRANDNAME:"Scoth"

[System:UDF]
Name of Brands:String:5005
[System:Formulae]
clofilter:$closingBalance>0
IsWineRtailOn:$IsEnableWineRetail:Company:##SVCUrrentCompany:$$Value= Ye
s

Potrebbero piacerti anche