| Server IP : 138.197.176.125 / Your IP : 216.73.217.122 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/soltelcocrm/ |
Upload File : |
<?php
include_once 'vtlib/Vtiger/Module.php';
include_once 'vtlib/Vtiger/Menu.php';
$Vtiger_Utils_Log = true;
$module = new Vtiger_Module();
$module->name = "PurchaseInventory";
$module=$module->getInstance('PurchaseInventory');
$block1 = new Vtiger_Block();
$block1->label = "LBL_BASIC_INFORMATION";
$block1=$block1->getInstance($block1->label,$module);
$field6 = new Vtiger_Field();
$field6->name = 'purchaseoid';
$field6->label= 'Purchase Order ID';
$field6->uitype= 1;
$field6->table= $module->basetable;
$field6->column = $field6->name;
$field6->columntype = 'VARCHAR(50)';
$field6->typeofdata = 'V~M';
$block1->addField($field6);
$field8 = new Vtiger_Field();
$field8->name = 'receivedt';
$field8->label= 'Receive Date';
$field8->uitype= 5;
$field8->table= $module->basetable;
$field8->column = $field8->name;
$field8->columntype = 'Date';
$field8->typeofdata = 'D~M';
$block1->addField($field8);