Custom Tag: cf_wrkdepartmentlocation


Purpose of usage
It allows warehouse-locations to come based on authorization. This customtag is one of the company's flow parameters, "Location-based follow-up" When the option is selected or in "branch-based employee authorization groups", only authorized warehouses and locations are displayed, and in non-branch based authorization groups, all warehouses and locations are displayed.


Parameter

Attributes
Clarification
Type
Mandatory

listPage

If it is 1, it will be a list view only and there will be no pagination, otherwise, it will send data when the row is clicked.

boolean
H

returnInputValue

input names to send values

string,numeric
E

returnQueryValue

values to be sent from query

string,numeric
E

is_submit

Submitted from the form, if it comes as 1 it won't get the session values

boolean
H

fieldId

id of the created input

numeric
E

fieldName

the name of the created input

string
E

is_department

If 1, Departments can be displayed regardless of location.

boolean
H

status

If 0, display passive warehouse and locations

boolean
H

user_level_control

Let the user control. When the value of this parameter is 1, the stores connected to the departments that the person is defined in the position card are displayed. When the value is 0, this situation is not taken into account.

boolean
E

is_store_kontrol

When the value of this parameter is 1, the warehouses belonging to the branches defined in the position card of the person are displayed. When the value is 0, this situation is not considered. (Let the branch_id value in the EMPLOYEE_POSITION_BRANCHES table be the branch_ids in the position_code in the session)

boolean
E

sistem_company_id

those from the specified company should not come

numeric
H

call_function

js function to work

function
H

user_location

Let the user location be default. In order for the default location to be set (user_location="1"), the company where the location is located must be authorized

numeric
H

is_delivery

shipping warehouse control returns warehouses with is_delivery = 1

boolean
H

Example Usage        

Usage places

1-stock/ form/add_dispatch_ship.cfm

This custom tag is used for the Exit and Input warehouses on the Add Interwarehouse Shipment page. In the input warehouse, "is_store_kontrol" and "user_level_control" values are sent as 0. And all warehouse locations are visible. If the output is in the warehouse, the values of these parameters are 1 and the warehouse locations that the user is authorized are displayed.


Warehouse and Location Authorizations

Operation Type - WO
Entry Warehouse
Exit Warehouse
Default
Internal Request
Locations where the position is authorized
All Locations

Purchase Request
Locations where the position is authorized
All Locations

Buying Waybill
Locations where the position is authorized
-

Sales Waybill
-
Locations where the position is authorized

Waybill Between Warehouses
Locations where the position is authorized
All Locations

Production Result
Locations where the position is authorized
Locations where the position is authorized

Stock Receipt
Locations where the position is authorized
Locations where the position is authorized

Stock Transfer
Locations where the position is authorized
Locations where the position is authorized

Spec Transfer
Locations where the position is authorized


Retail Sales Invoice
--
Locations where the position is authorized
Location in session
Add In-Group Waybill
Locations where the position is authorized
Locations where the position is authorized

Counting Operations
Locations where the position is authorized
-

Shipment Operations
-
Locations where the position is authorized

Feedback

Did you find this content helpful?