9 $PropID = intval($PropID);
25 "FROM b_sale_order_props_variant ".
42 $GLOBALS[
"APPLICATION"]->ThrowException(
GetMessage(
"SKGOPV_EMPTY_VAR"),
"ERROR_NO_VALUE");
47 $GLOBALS[
"APPLICATION"]->ThrowException(
GetMessage(
"SKGOPV_EMPTY_NAME"),
"ERROR_NO_NAME");
52 $GLOBALS[
"APPLICATION"]->ThrowException(
GetMessage(
"SKGOPV_EMPTY_CODE"),
"ERROR_NO_ORDER_PROPS_ID");
60 $GLOBALS[
"APPLICATION"]->ThrowException(str_replace(
"#ID#",
$arFields[
"ORDER_PROPS_ID"],
GetMessage(
"SKGOPV_NO_PROP")),
"ERROR_NO_PROPERY");
77 $strUpdate =
$DB->PrepareUpdate(
"b_sale_order_props_variant",
$arFields);
79 $strSql =
"UPDATE b_sale_order_props_variant SET ".$strUpdate.
" WHERE ID = ".
$ID.
"";
89 return $DB->Query(
"DELETE FROM b_sale_order_props_variant WHERE ID = ".
$ID.
"",
true);
96 return $DB->Query(
"DELETE FROM b_sale_order_props_variant WHERE ORDER_PROPS_ID = ".
$ID.
"",
true);
static GetByValue($PropID, $Value)
static CheckFields($ACTION, &$arFields, $ID=0)
static Update($ID, $arFields)
static GetList($arOrder=array(), $arFilter=array(), $arGroupBy=false, $arNavStartParams=false, $arSelectFields=array())
IncludeModuleLangFile($filepath, $lang=false, $bReturnArray=false)
GetMessage($name, $aReplace=null)
$GLOBALS['_____370096793']